• A
    qemu: Add -machine suffix automatically · f3f9d8e3
    Andrea Bolognani 提交于
    The QOM type for machine types is the machine type name
    followed by the -machine suffix. Since this is always the
    case, we can make virQEMUCapsMachineProps more readable
    and avoid repetition by not including the suffix there and
    adding it automatically while processing the data; moreover,
    when later on we will start figuring out which specific
    versioned machine type to probe at runtime instead of doing
    so statically, adding the suffix dynamically will become
    necessary.
    Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
    Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
    f3f9d8e3
qemu_capabilities.c 165.2 KB