summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJan Kiszka2013-12-17 20:05:13 +0100
committerPaolo Bonzini2013-12-18 10:13:18 +0100
commit6bdf863d942a267f984e4bd82be80cb2ac5b9915 (patch)
tree3d9f560d130c1e8bffbf621d09bdf95aa4194691 /scripts
parentroms: Flush icache when writing roms to guest memory (diff)
downloadqemu-6bdf863d942a267f984e4bd82be80cb2ac5b9915.tar.gz
qemu-6bdf863d942a267f984e4bd82be80cb2ac5b9915.tar.xz
qemu-6bdf863d942a267f984e4bd82be80cb2ac5b9915.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions