[libvirt] [PATCHv2 05/15] qemuxml2xmltest: add virtio-options test

Pavel Hrdina phrdina at redhat.com
Wed Jun 7 13:29:28 UTC 2017


On Tue, Jun 06, 2017 at 01:36:19PM +0200, Ján Tomko wrote:
> Add a test case with all the virtio devices we know to demonstrate
> the addition of new options.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1283251
> ---
>  .../qemuxml2argv-virtio-options.xml                | 92 ++++++++++++++++++++++
>  .../qemuxml2xmlout-virtio-options.xml              | 92 ++++++++++++++++++++++
>  tests/qemuxml2xmltest.c                            |  1 +
>  3 files changed, 185 insertions(+)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-virtio-options.xml
>  create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-virtio-options.xml

Some of the devices has two entries and some has only one entry.  Based
on the following patches the two entries are to demonstrate in tests
that setting it "on" works and setting it "off" works but this is not
tested for all devices.  I would either split it into two patches where
one would test "on" and second one "off" or just test the "on" part and
have only one patch.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170607/1db5d519/attachment-0001.sig>


More information about the libvir-list mailing list