<div style="font-family: Arial; font-size: 14px;">Hi lists,</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">We are in the process of using an external tool (CRIU) to checkpoint/restore a KVM-enabled virtual machine. Initially we target the hypervisor kvmtool but the extension, if done well, should allow to checkpoint any hypervisor: like Qemu or firecracker.</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">CRIU can checkpoint and restore most of the application (or the VMM in our case) state except the state of the kernel module KVM. To overcome this limitation, we need more getters in the KVM API to extract the state of the VM.</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">One example of a missing getter is the one for the guest memory. There is a KVM_SET_MEMORY API call. But there is no equivalent getter: KVM_GET_MEMORY.&nbsp;</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">Can we add such getters to the KVM API? Any idea of the difficulty? I think one of the difficulties will be to get the state of the architecture-specific state of KVM: for now, we are targetting Intel x86_64 architecture (VT-X).</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">Any feedback will be appreciated.</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">Best Regards,</div><div style="font-family: Arial; font-size: 14px;">ScalingTree</div>