diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-15 15:00:27 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-04-16 18:22:14 -0300 |
commit | 26539bd0e446a54665f9d6f4c69a21140b2e1d85 (patch) | |
tree | b662203e933d025758f37ccfd5d789eebc09af24 /kernel | |
parent | 79558f112fc0352e057f7b5e158e3d88b8b62c60 (diff) |
KVM: nVMX: check vmcs12 for valid activity state
KVM does not use the activity state VMCS field, and does not support
it in nested VMX either (the corresponding bits in the misc VMX feature
MSR are zero). Fail entry if the activity state is set to anything but
"active".
Since the value will always be the same for L1 and L2, we do not need
to read and write the corresponding VMCS field on L1/L2 transitions,
either.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions