From eae7db4b5daa44a6bf83e2d57601d108d3b93beb Mon Sep 17 00:00:00 2001 Message-Id: From: Peter Krempa Date: Mon, 30 Mar 2020 17:21:39 +0200 Subject: [PATCH] qemuxml2xmltest: Wire up 'disk-network-http' case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko (cherry picked from commit c34ec56abad4b2286ef82a0a3ab9deb4d807a9bf) https://bugzilla.redhat.com/show_bug.cgi?id=1804750 Conflicts: The XML output file differs in the element as changes in default cpu handling were not backported. Message-Id: Reviewed-by: Jiri Denemark --- .../disk-network-http.x86_64-latest.xml | 68 +++++++++++++++++++ tests/qemuxml2xmltest.c | 2 + 2 files changed, 70 insertions(+) create mode 100644 tests/qemuxml2xmloutdata/disk-network-http.x86_64-latest.xml diff --git a/tests/qemuxml2xmloutdata/disk-network-http.x86_64-latest.xml b/tests/qemuxml2xmloutdata/disk-network-http.x86_64-latest.xml new file mode 100644 index 0000000000..238a5fef58 --- /dev/null +++ b/tests/qemuxml2xmloutdata/disk-network-http.x86_64-latest.xml @@ -0,0 +1,68 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + + + + + +
+ + + + + + + + +
+ + + + + + + testcookievalue + blurb + + + +
+ + + + + + + + testcookievalue + blurb + + + +
+ + +
+ + + + + + + diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index f77f59fa3c..15110dd104 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -1089,6 +1089,8 @@ mymain(void) DO_TEST("disk-backing-chains-index", NONE); DO_TEST("disk-backing-chains-noindex", NONE); + DO_TEST_CAPS_LATEST("disk-network-http"); + DO_TEST("chardev-label", QEMU_CAPS_DEVICE_VIRTIO_RNG); -- 2.26.0