• J
    qemu: Avoid reporting "host" as a supported CPU model · 73411a7f
    Jiri Denemark 提交于
    "host" CPU model is supported by a special host-passthrough CPU mode and
    users is not allowed to specify this model directly with custom mode.
    Thus we should not advertise "host" CPU model in domain capabilities.
    This worked well on architectures for which libvirt provides a list of
    supported CPU models in cpu_map.xml (since "host" is not in the list).
    But we need to explicitly filter "host" model out for all other
    architectures.
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    73411a7f
domain_capabilities.c 15.2 KB