aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2013-12-17 20:05:13 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-12-18 10:13:18 +0100
commit6bdf863d942a267f984e4bd82be80cb2ac5b9915 (patch)
tree3d9f560d130c1e8bffbf621d09bdf95aa4194691 /exec.c
parenta94b36ddd6af28593c8a5171b5100e6c3dfc063e (diff)
kvm: x86: Separately write feature control MSR on reset
If the guest is running in nested mode on system reset, clearing the feature MSR signals the kernel to leave this mode. Recent kernels processes this properly, but leave the VCPU state undefined behind. It is the job of userspace to bring it to a proper shape. Therefore, write this specific MSR first so that no state transfer gets lost. This allows to cleanly reset a guest with VMX in use. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions