• J
    qemu: Fix KVM features with QEMU 4.1 · 4c62ed60
    Jiri Denemark 提交于
    Originally the names of the KVM CPU features were only used internally
    for looking up their CPUID bits. So we used "__kvm_" prefix for them to
    make sure the names do not collide with normal CPU features stored in
    our CPU map.
    
    But with QEMU 4.1 we check which features were enabled or disabled by a
    freshly started QEMU process using their names rather than their CPUID
    bits (mostly because of MSR features). Thus we need to change our made
    up internal names into the actual names used by QEMU.
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    Tested-by: NVitaly Kuznetsov <vkuznets@redhat.com>
    Reviewed-by: NJán Tomko <jtomko@redhat.com>
    4c62ed60
qemu_command.c 367.3 KB