diff options
author | Yang, Sheng <sheng.yang@intel.com> | 2007-07-31 07:23:01 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:22 -0400 |
commit | 002c7f7c32a6123f0894d7d579ffae8e98911830 (patch) | |
tree | 91d46dd1d6f04f25e4f658eb8620fe69c1557c17 /drivers/kvm/kvm.h | |
parent | 39214915f50f6ac2350355f2db63910d968fa790 (diff) |
KVM: VMX: Add cpu consistency check
All the physical CPUs on the board should support the same VMX feature
set. Add check_processor_compatibility to kvm_arch_ops for the consistency
check.
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 7a34706f42be..cfda3abff89a 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -420,6 +420,7 @@ struct kvm_arch_ops { | |||
420 | int (*disabled_by_bios)(void); /* __init */ | 420 | int (*disabled_by_bios)(void); /* __init */ |
421 | void (*hardware_enable)(void *dummy); /* __init */ | 421 | void (*hardware_enable)(void *dummy); /* __init */ |
422 | void (*hardware_disable)(void *dummy); | 422 | void (*hardware_disable)(void *dummy); |
423 | void (*check_processor_compatibility)(void *rtn); | ||
423 | int (*hardware_setup)(void); /* __init */ | 424 | int (*hardware_setup)(void); /* __init */ |
424 | void (*hardware_unsetup)(void); /* __exit */ | 425 | void (*hardware_unsetup)(void); /* __exit */ |
425 | 426 | ||