]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Make sure single type invvpid is supported before issuing invvpid instruction
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Fri, 4 Jun 2010 00:51:39 +0000 (08:51 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:39:26 +0000 (10:39 +0300)
commit46b7a196165d73b46758b5cad0e1bd8fec7ee3a2
treedb11301916f1477651568ca16b268d4467e7bebd
parent48caf6e0239d72db1b50f7678bf757e1fed59361
KVM: VMX: Make sure single type invvpid is supported before issuing invvpid instruction

According to SDM, we need check whether single-context INVVPID type is supported
before issuing invvpid instruction.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Reviewed-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c