diff options
author | Yang, Sheng <sheng.yang@intel.com> | 2007-07-31 11:23:01 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 08:18:22 (GMT) |
commit | 002c7f7c32a6123f0894d7d579ffae8e98911830 (patch) | |
tree | 91d46dd1d6f04f25e4f658eb8620fe69c1557c17 /drivers/kvm/kvm.h | |
parent | 39214915f50f6ac2350355f2db63910d968fa790 (diff) | |
download | linux-fsl-qoriq-002c7f7c32a6123f0894d7d579ffae8e98911830.tar.xz |
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 7a34706..cfda3ab 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h @@ -420,6 +420,7 @@ struct kvm_arch_ops { int (*disabled_by_bios)(void); /* __init */ void (*hardware_enable)(void *dummy); /* __init */ void (*hardware_disable)(void *dummy); + void (*check_processor_compatibility)(void *rtn); int (*hardware_setup)(void); /* __init */ void (*hardware_unsetup)(void); /* __exit */ |