[libvirt] [PATCH 4/6] qemu: Probe canonicalized machine type

Pavel Hrdina phrdina at redhat.com
Fri May 17 12:24:31 UTC 2019


On Thu, May 16, 2019 at 05:35:34PM +0200, Andrea Bolognani wrote:
> Now that we have the list of machine types available when
> probing machine type properties, we can list properties for
> the canonicalized version of the "pseries" machine type
> instead of having to go through "spapr-machine", which we
> know to be the parent type for all "pseries-*-machine"
> types. By doing this, we'll be able to find even properties
> that are only available from a certain versioned machine
> type forward, and can't thus be obtained when looking at
> the parent type only.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  src/qemu/qemu_capabilities.c                           | 9 +++++----
>  tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies | 4 ++--
>  tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies   | 2 +-
>  tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies   | 4 ++--
>  tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies  | 4 ++--
>  tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies    | 2 +-
>  tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies  | 4 ++--
>  tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies  | 4 ++--
>  tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies    | 4 ++--
>  tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies   | 4 ++--
>  tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies    | 2 +-
>  tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies   | 4 ++--
>  tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies  | 4 ++--
>  tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies    | 2 +-
>  tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies  | 4 ++--
>  tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies  | 4 ++--
>  tests/qemucapabilitiesdata/caps_4.0.0.s390x.replies    | 4 ++--
>  tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies   | 4 ++--
>  18 files changed, 35 insertions(+), 34 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190517/3738a70f/attachment-0001.sig>


More information about the libvir-list mailing list