Jan Kiszka 42124925c1 KVM: nVMX: Leave VMX mode on clearing of feature control MSR
When userspace sets MSR_IA32_FEATURE_CONTROL to 0, make sure we leave
root and non-root mode, fully disabling VMX. The register state of the
VCPU is undefined after this step, so userspace has to set it to a
proper state afterward.

This enables to reboot a VM while it is running some hypervisor code.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-01-17 10:22:13 +01:00
..
2013-11-07 12:27:46 +02:00
2013-10-30 18:54:39 +01:00
2014-01-15 12:43:54 +01:00
2013-10-30 19:02:03 +01:00
2014-01-15 12:43:54 +01:00
2013-10-30 19:02:03 +01:00
2014-01-17 10:22:10 +01:00
2013-06-27 14:20:51 +03:00
2014-01-17 10:22:10 +01:00
2014-01-15 12:43:54 +01:00