Skip to content
Commit 674eea0f authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@qumranet.com>
parent d7306163
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment