cloud-hypervisor/hypervisor/src
Sebastien Boeuf 28e12e9f3a vmm, hypervisor: Fix snapshot/restore for Windows guest
The snasphot/restore feature is not working because some CPU states are
not properly saved, which means they can't be restored later on.

First thing, we ensure the CPUID is stored so that it can be properly
restored later. The code is simplified and pushed down to the hypervisor
crate.

Second thing, we identify for each vCPU if the Hyper-V SynIC device is
emulated or not. In case it is, that means some specific MSRs will be
set by the guest. These MSRs must be saved in order to properly restore
the VM.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-10-21 19:11:03 +01:00
..
arch vmm: hypervisor: fix white space issues 2020-06-29 21:51:59 +01:00
kvm vmm, hypervisor: Fix snapshot/restore for Windows guest 2020-10-21 19:11:03 +01:00
cpu.rs hypervisor, arch: rename "OneRegister" and relevant code 2020-10-08 08:55:10 +02:00
device.rs hypervisor: Implement get_device_attr method for AArch64 2020-09-23 12:37:25 +01:00
hypervisor.rs hypervisor: drop get_api_version from Hypervisor trait 2020-09-07 11:59:08 +01:00
lib.rs AArch64: Implement AArch64 vCPU states save/restore 2020-09-23 12:37:25 +01:00
vm.rs hypervisor, vmm: Introduce VmmOps trait 2020-10-02 16:42:55 +01:00