Re: [PATCH 3/3] tests: add test case for -serial option for ppce500

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/22/2014 12:55 PM, Olivia Yin wrote:
> ---
>  .../qemuxml2argv-ppce500-serial.args               |  7 ++++++
>  .../qemuxml2argv-ppce500-serial.xml                | 26 ++++++++++++++++++++++
>  tests/qemuxml2argvtest.c                           |  1 +
>  3 files changed, 34 insertions(+)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-ppce500-serial.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-ppce500-serial.xml
> 

This test passes even without applying the previous patches...

> diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
> index 1ea7bf8..b2aa22a 100644
> --- a/tests/qemuxml2argvtest.c
> +++ b/tests/qemuxml2argvtest.c
> @@ -1279,6 +1279,7 @@ mymain(void)
>              QEMU_CAPS_DEVICE_VIRTIO_RNG, QEMU_CAPS_OBJECT_RNG_RANDOM);
>  
>      DO_TEST("ppc-dtb", QEMU_CAPS_KVM, QEMU_CAPS_DTB);
> +    DO_TEST("ppce500-serial", QEMU_CAPS_KVM, QEMU_CAPS_DRIVE, QEMU_CAPS_CHARDEV);

... because the QEMU_CAPS_DEVICE capability is missing.

>  
>      DO_TEST("tpm-passthrough", QEMU_CAPS_DEVICE,
>              QEMU_CAPS_DEVICE_TPM_PASSTHROUGH, QEMU_CAPS_DEVICE_TPM_TIS);
> 

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]