[libvirt] [PATCH] qemu: Fix specifying char devs for PPC

Ján Tomko jtomko at redhat.com
Wed May 21 06:00:16 UTC 2014


On 05/20/2014 07:25 AM, Hong-Hua.Yin at freescale.com wrote:
> Hi Cole,
> 
> Thanks for the comments.
> Exactly there were already test cases for both pseries and ppce500 machines.
> For example,
> 1) qemuxml2argv-pseries-basic.args: 	'-chardev spapr-vty' for pseries.
> 2) qemuxml2argv-ppc-dtb.args: 	 	'-serial pty' for ppce500.

The dtb test is run as:
    DO_TEST("ppc-dtb", QEMU_CAPS_KVM, QEMU_CAPS_DTB);

You need a test which is run with both QEMU_CAPS_DEVICE and QEMU_CAPS_CHARDEV
capabilities to test the changes in virQEMUCapsSupportsChardev, otherwise
it just returns false at the beginning.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140521/5059ce34/attachment-0001.sig>


More information about the libvir-list mailing list