]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: nVMX: Update guest activity state field on L2 exits
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 4 Jan 2014 17:47:24 +0000 (18:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Jan 2014 09:22:18 +0000 (10:22 +0100)
commit3edf1e698ff638c2ab095e8c60fd11c5d292fc5f
tree0368d41451889c9b03ac43db496e0fee5cd5c63e
parent7af40ad37b3f097f367cbe9c0198caccce6fd83b
KVM: nVMX: Update guest activity state field on L2 exits

Set guest activity state in L1's VMCS according to the VCPUs mp_state.
This ensures we report the correct state in case we L2 executed HLT or
if we put L2 into HLT state and it was now woken up by an event.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c