cloud-hypervisor/vmm
Sebastien Boeuf 65dc1c83a9 vmm: cpu: Save and restore CPU states during snapshot/restore
Based on recent KVM host patches (merged in Linux 5.16), it's forbidden
to call into KVM_SET_CPUID2 after the first successful KVM_RUN returned.
That means saving CPU states during the pause sequence, and restoring
these states during the resume sequence will not work with the current
design starting with kernel version 5.16.

In order to solve this problem, let's simply move the save/restore logic
to the snapshot/restore sequences rather than the pause/resume ones.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-06-06 11:07:29 +01:00
..
src vmm: cpu: Save and restore CPU states during snapshot/restore 2022-06-06 11:07:29 +01:00
Cargo.toml build: bump uuid from 1.1.0 to 1.1.1 2022-06-02 00:48:36 +00:00