diff options
author | Avi Kivity <avi@qumranet.com> | 2008-02-11 18:37:23 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-03-03 11:22:25 +0200 |
commit | 674eea0fc4d1d693250b5d3ddad42ca931c87dfd (patch) | |
tree | a7995dd52f6715081cac74484a84351003e48480 /virt/kvm/ioapic.c | |
parent | d730616384211436cfc84e6c2c1aa45351706a96 (diff) |
KVM: Make the supported cpuid list a host property rather than a vm property
One of the use cases for the supported cpuid list is to create a "greatest
common denominator" of cpu capabilities in a server farm. As such, it is
useful to be able to get the list without creating a virtual machine first.
Since the code does not depend on the vm in any way, all that is needed is
to move it to the device ioctl handler. The capability identifier is also
changed so that binaries made against -rc1 will fail gracefully.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'virt/kvm/ioapic.c')
0 files changed, 0 insertions, 0 deletions