• Avi Kivity's avatar
    KVM: Make the supported cpuid list a host property rather than a vm property · 674eea0f
    Avi Kivity authored
    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>
    674eea0f
x86.c 76.3 KB