diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2014-01-04 18:47:19 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-01-17 10:22:13 +0100 |
commit | 42124925c1f580068661bebd963d7c102175a8a9 (patch) | |
tree | 2176bdb36a414e2f3feb06d686bdb8d18b203f7b /arch/arm/kvm/psci.c | |
parent | 8246bf52c75aa9b9b336a84f31ed2248754d0f71 (diff) |
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>
Diffstat (limited to 'arch/arm/kvm/psci.c')
0 files changed, 0 insertions, 0 deletions