]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Improve the method of writing vmcs control
authorYang, Sheng <sheng.yang@intel.com>
Sun, 29 Jul 2007 08:07:42 +0000 (11:07 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:20 +0000 (10:18 +0200)
commit51819ae450eff1560ee346a251b2b6bd0d8dcd79
treef3d2533b5250e8405af14f99c2810bb3ead1a06c
parent35eb8c02bb04bf24698b6b53e94aa53cd13154b3
KVM: VMX: Improve the method of writing vmcs control

Put cpu feature detecting part in hardware_setup, and stored the vmcs
condition in global variable for further check.

[glommer: fix for some i386-only machines not supporting CR8 load/store
 exiting]

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c