kvm: nVMX: Checkpoint/restore support for VMX state
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 54 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | kvm: nVMX: Prepare for checkpointing L2 statearch/ | +46 | 0 replies | |
| 2/8 | kvm: nVMX: Refactor handle_vmon()arch/ | +51 | 0 replies | |
| 3/8 | kvm: nVMX: Refactor handle_vmptrld()arch/ | +13 | 0 replies | |
| 4/8 | kvm: nVMX: Refactor nested_get_vmcs12_pages()arch/ | +68 | 0 replies | |
| 5/8 | kvm: nVMX: Split VMCS checks from nested_vmx_run()arch/ | +88 | 0 replies | |
| 6/8 | kvm: nVMX: Refactor nested_vmx_run()arch/ | +55 | 0 replies | |
| 7/8 | kvm: nVMX: Introduce KVM_CAP_VMX_STATEDocumentation/ arch/ arch/ +3 more | +222 | 35 replies | |
| 8/8 | kvm: nVMX: Defer gpa->hpa lookups for set_vmx_statearch/ arch/ arch/ | +20 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] kvm: nVMX: Checkpoint/restore support for VMX state
This series of patches introduces checkpoint and restore operations for the VMX state of a VM, so that VMX-capable VMs can be migrated.
Two new ioctls are introduced: KVM_GET_VMX_STATE and KVM_SET_VMX_STATE. The VMX state that is checkpointed/restored consists of the VMXON region address (if any), the current VMCS address (if any), and the cached current VMCS contents (if any). One piece of implementation-specific state that is also checkpointed/restored is the nested_run_pending bit.
On live migration, our userspace process does not have access to guest memory when the VM is set up on the target host, so some operations that require a GPA->HPA mapping are deferred until the next vcpu_run using a new vcpu request.