Re: [PATCH] KVM: nVMX: Leave VMX mode on clearing of feature control MSR

2013-12-18 Thread Paolo Bonzini
Il 17/12/2013 19:57, Jan Kiszka ha scritto: > 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 enabl

[PATCH] KVM: nVMX: Leave VMX mode on clearing of feature control MSR

2013-12-17 Thread Jan Kiszka
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 co