[libvirt] [PATCH v2 04/33] domaincapstest: Add test data for QEMU 2.9.0

John Ferlan jferlan at redhat.com
Tue Feb 21 14:23:34 UTC 2017



On 02/15/2017 11:44 AM, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> 
> Notes:
>     Version 2:
>     - no change
> 
>  .../domaincapsschemadata/qemu_2.9.0-tcg.x86_64.xml | 116 +++++++++++++++++++++
>  tests/domaincapsschemadata/qemu_2.9.0.x86_64.xml   | 116 +++++++++++++++++++++
>  tests/domaincapstest.c                             |   8 ++
>  3 files changed, 240 insertions(+)
>  create mode 100644 tests/domaincapsschemadata/qemu_2.9.0-tcg.x86_64.xml
>  create mode 100644 tests/domaincapsschemadata/qemu_2.9.0.x86_64.xml
> 

Will this "eventually" need an updated when qemu 2.9 is complete? Or is
it "close enough"?


> diff --git a/tests/domaincapsschemadata/qemu_2.9.0-tcg.x86_64.xml b/tests/domaincapsschemadata/qemu_2.9.0-tcg.x86_64.xml
> new file mode 100644
> index 000000000..9b9dfec09
>

[...]

> diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
> index 28d8609ac..9b64f2c18 100644
> --- a/tests/domaincapstest.c
> +++ b/tests/domaincapstest.c
> @@ -453,6 +453,14 @@ mymain(void)
>                   "/usr/bin/qemu-system-x86_64", NULL,
>                   "x86_64", VIR_DOMAIN_VIRT_QEMU);
>  
> +    DO_TEST_QEMU("2.9.0", "caps_2.9.0",
> +                 "/usr/bin/qemu-system-x86_64", NULL,
> +                 "x86_64", VIR_DOMAIN_VIRT_KVM);
> +
> +    DO_TEST_QEMU("2.9.0-tcg", "caps_2.9.0",
> +                 "/usr/bin/qemu-system-x86_64", NULL,
> +                 "x86_64", VIR_DOMAIN_VIRT_QEMU);
> +
>      DO_TEST_QEMU("2.7.0", "caps_2.7.0",
>                   "/usr/bin/qemu-system-s390x", NULL,
>                   "s390x", VIR_DOMAIN_VIRT_KVM);
> 

What about "s390x" for 2.9.0?  Since later patches seem to make some
alterations for s390...

Unrelated to this patch question - should these always be updated for
each cpu type for each release?

John




More information about the libvir-list mailing list