From: Paolo Bonzini Date: Mon, 15 Apr 2013 13:00:27 +0000 (+0200) Subject: KVM: nVMX: check vmcs12 for valid activity state X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26539bd0e446a54665f9d6f4c69a21140b2e1d85;p=pandora-kernel.git 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 Reviewed-by: Gleb Natapov Reviewed-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed