From: Jan Kiszka Date: Sat, 20 Apr 2013 08:52:36 +0000 (+0200) Subject: KVM: nVMX: Validate EFER values for VM_ENTRY/EXIT_LOAD_IA32_EFER X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=384bb783275145b70d769acf4c687957d1c61802;p=pandora-kernel.git KVM: nVMX: Validate EFER values for VM_ENTRY/EXIT_LOAD_IA32_EFER As we may emulate the loading of EFER on VM-entry and VM-exit, implement the checks that VMX performs on the guest and host values on vmlaunch/ vmresume. Factor out kvm_valid_efer for this purpose which checks for set reserved bits. Signed-off-by: Jan Kiszka Reviewed-by: Paolo Bonzini Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed