Hi Eric,
I've tried bump VIR_TEST_DEBUG=2, but there's not more information.
$ VIR_TEST_DEBUG=2 ./qemuargv2xmltest
...
76) QEMU ARGV-2-XML hostdev-usb-address ... OK
77) QEMU ARGV-2-XML hostdev-pci-address ... OK
78) QEMU ARGV-2-XML hostdev-vfio ... FAILED
79) QEMU ARGV-2-XML smp ... OK
80) QEMU ARGV-2-XML hyperv ... OK
81) QEMU ARGV-2-XML pseries-nvram ... OK
82) QEMU ARGV-2-XML pseries-disk ... OK
83) QEMU ARGV-2-XML nosharepages ... OK
84) QEMU ARGV-2-XML restore-v1 ... OK
85) QEMU ARGV-2-XML restore-v2 ... OK
86) QEMU ARGV-2-XML migrate ... OK
87) QEMU ARGV-2-XML qemu-ns-no-env ... OK
The result is also same with 'make check -C tests TESTS=qemuargv2xmltest
VIR_TEST_DEBUG=1 VERBOSE=1'.
Best Regards,
Olivia
-----Original Message-----
From: Eric Blake [mailto:eblake@redhat.com]
Sent: Thursday, June 05, 2014 9:03 PM
To: Yin Olivia-R63875; libvir-list(a)redhat.com
Subject: Re: [libvirt] [RFC][PATCH]QEMU: Parse -device vfio-pci commandline
On 06/05/2014 05:51 AM, Hong-Hua.Yin(a)freescale.com wrote:
> The test case failed with the patch.
>
> tests]$ VIR_TEST_DEBUG=1 ./qemuargv2xmltest ...
> 78) QEMU ARGV-2-XML hostdev-vfio ...
FAILED
> ...
> It seemed that <hostdev> section is correct as expected.
> Why does the case fail? How to check more detailed debug information?
>
make check -C tests TESTS=qemuargv2xmltest VIR_TEST_DEBUG=1 VERBOSE=1
(or bump VIR_TEST_DEBUG=2 for even more details)
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org