From nobody Sun Apr 28 14:04:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 15200098596191007.8359767321514; Fri, 2 Mar 2018 08:57:39 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5DCD97ED02; Fri, 2 Mar 2018 16:57:38 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E44DF63F7A; Fri, 2 Mar 2018 16:57:37 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2AE0B4A46E; Fri, 2 Mar 2018 16:57:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w22GvaYH008888 for ; Fri, 2 Mar 2018 11:57:36 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3198C946AB; Fri, 2 Mar 2018 16:57:36 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id B04F5AB584; Fri, 2 Mar 2018 16:57:35 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 2 Mar 2018 17:56:45 +0100 Message-Id: <778c52a29166fac942ec2f0074073225a4ab54f2.1520009664.git.pkrempa@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Peter Krempa Subject: [libvirt] [PATCH 1/7] tests: qemuxml2xml: Rename testInfoFree to testInfoClear X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 02 Mar 2018 16:57:38 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: John Ferlan --- tests/qemuxml2xmltest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 0eb9e6c77a..2cbe0c82a7 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -278,7 +278,7 @@ testCompareStatusXMLToXMLFiles(const void *opaque) static void -testInfoFree(struct testInfo *info) +testInfoClear(struct testInfo *info) { VIR_FREE(info->inName); VIR_FREE(info->outActiveName); @@ -345,7 +345,7 @@ testInfoSet(struct testInfo *info, return 0; error: - testInfoFree(info); + testInfoClear(info); return -1; } @@ -404,7 +404,7 @@ mymain(void) testCompareStatusXMLToXMLFiles, &info) < 0) \ ret =3D -1; \ } \ - testInfoFree(&info); \ + testInfoClear(&info); \ } while (0) # define NONE QEMU_CAPS_LAST --=20 2.16.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 14:04:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520009861979239.36181565978825; Fri, 2 Mar 2018 08:57:41 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4598081DF4; Fri, 2 Mar 2018 16:57:40 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 16BF3620DB; Fri, 2 Mar 2018 16:57:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B31A34A472; Fri, 2 Mar 2018 16:57:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w22Gvbmb008904 for ; Fri, 2 Mar 2018 11:57:37 -0500 Received: by smtp.corp.redhat.com (Postfix) id B21EAA9FB8; Fri, 2 Mar 2018 16:57:37 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6AA86AB588; Fri, 2 Mar 2018 16:57:36 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 2 Mar 2018 17:56:46 +0100 Message-Id: <9509aa9357fd87b7c790f7a3869e9f9a6c57a9e8.1520009664.git.pkrempa@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Peter Krempa Subject: [libvirt] [PATCH 2/7] tests: qemuxml2xml: Remove testing with allowed format detection X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 02 Mar 2018 16:57:40 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Nobody should use format detection due to security implications. Signed-off-by: Peter Krempa Reviewed-by: John Ferlan --- tests/qemuxml2argvdata/disk-drive-detect-zeroes.xml | 2 +- tests/qemuxml2argvdata/hugepages-memaccess.xml | 1 + tests/qemuxml2argvdata/hugepages-memaccess2.xml | 1 + tests/qemuxml2argvdata/hugepages-pages4.xml | 1 + tests/qemuxml2argvdata/hugepages-pages5.xml | 1 + tests/qemuxml2argvdata/hugepages-pages6.xml | 1 + tests/qemuxml2argvdata/memory-hotplug-nvdimm-access.xml | 1 + tests/qemuxml2argvdata/memory-hotplug-nvdimm-label.xml | 1 + tests/qemuxml2argvdata/memory-hotplug-nvdimm.xml | 1 + tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.xml | 1 + tests/qemuxml2xmloutdata/aarch64-aavmf-virtio-mmio.xml | 1 + tests/qemuxml2xmloutdata/aarch64-virtio-pci-default.xml | 1 + tests/qemuxml2xmloutdata/aarch64-virtio-pci-manual-addresses.xml | 1 + tests/qemuxml2xmloutdata/autoindex.xml | 1 + tests/qemuxml2xmloutdata/balloon-device-auto.xml | 1 + tests/qemuxml2xmloutdata/balloon-device-period.xml | 1 + tests/qemuxml2xmloutdata/bios-nvram-os-interleave.xml | 1 + tests/qemuxml2xmloutdata/bios-nvram.xml | 1 + tests/qemuxml2xmloutdata/blkiotune-device.xml | 1 + tests/qemuxml2xmloutdata/blkiotune.xml | 1 + tests/qemuxml2xmloutdata/boot-menu-disable-with-timeout.xml | 1 + tests/qemuxml2xmloutdata/boot-menu-disable.xml | 1 + tests/qemuxml2xmloutdata/boot-menu-enable-with-timeout.xml | 1 + tests/qemuxml2xmloutdata/boot-multi.xml | 1 + tests/qemuxml2xmloutdata/boot-order.xml | 2 ++ tests/qemuxml2xmloutdata/channel-guestfwd.xml | 1 + tests/qemuxml2xmloutdata/channel-virtio-auto.xml | 1 + tests/qemuxml2xmloutdata/channel-virtio-state-active.xml | 1 + tests/qemuxml2xmloutdata/channel-virtio-state-inactive.xml | 1 + tests/qemuxml2xmloutdata/channel-virtio.xml | 1 + tests/qemuxml2xmloutdata/clock-catchup.xml | 1 + tests/qemuxml2xmloutdata/console-compat-auto.xml | 1 + tests/qemuxml2xmloutdata/console-virtio-many.xml | 1 + tests/qemuxml2xmloutdata/console-virtio.xml | 1 + tests/qemuxml2xmloutdata/cpu-host-passthrough-features.xml | 1 + tests/qemuxml2xmloutdata/cputune-iothreads.xml | 1 + tests/qemuxml2xmloutdata/cputune-iothreadsched-zeropriority.xml | 1 + tests/qemuxml2xmloutdata/cputune-iothreadsched.xml | 1 + tests/qemuxml2xmloutdata/cputune-zero-shares.xml | 1 + tests/qemuxml2xmloutdata/cputune.xml | 1 + tests/qemuxml2xmloutdata/disk-drive-copy-on-read.xml | 2 +- tests/qemuxml2xmloutdata/disk-drive-discard.xml | 2 +- tests/qemuxml2xmloutdata/disk-mirror-active.xml | 5 +++= ++ tests/qemuxml2xmloutdata/disk-mirror-inactive.xml | 4 ++++ tests/qemuxml2xmloutdata/disk-mirror-old-inactive.xml | 4 ++++ tests/qemuxml2xmloutdata/disk-mirror-old.xml | 7 +++= +++- tests/qemuxml2xmloutdata/disk-scsi-device-auto.xml | 2 ++ tests/qemuxml2xmloutdata/disk-scsi-device.xml | 2 ++ tests/qemuxml2xmloutdata/disk-scsi-disk-vpd.xml | 2 ++ tests/qemuxml2xmloutdata/disk-scsi-lun-passthrough-sgio.xml | 2 ++ tests/qemuxml2xmloutdata/disk-scsi-megasas.xml | 2 ++ tests/qemuxml2xmloutdata/disk-scsi-mptsas1068.xml | 2 ++ tests/qemuxml2xmloutdata/disk-scsi-virtio-scsi.xml | 2 ++ tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml | 2 ++ tests/qemuxml2xmloutdata/disk-serial.xml | 3 +++ tests/qemuxml2xmloutdata/disk-source-pool-mode.xml | 4 ++++ tests/qemuxml2xmloutdata/disk-source-pool.xml | 2 ++ tests/qemuxml2xmloutdata/disk-usb-device.xml | 2 ++ tests/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml | 1 + tests/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml | 1 + tests/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml | 1 + tests/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml | 1 + tests/qemuxml2xmloutdata/graphics-listen-network.xml | 1 + tests/qemuxml2xmloutdata/graphics-listen-network2.xml | 1 + tests/qemuxml2xmloutdata/graphics-spice-compression.xml | 1 + tests/qemuxml2xmloutdata/graphics-spice-qxl-vga.xml | 1 + tests/qemuxml2xmloutdata/graphics-spice.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-autogen-address.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-large-unit.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi-auth.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-rawio.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-readonly.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-sgio.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-shareable.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-ccw.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-pci.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi-auth.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi.xml | 1 + tests/qemuxml2xmloutdata/hostdev-scsi-virtio-scsi.xml | 1 + tests/qemuxml2xmloutdata/hostdev-vfio.xml | 1 + tests/qemuxml2xmloutdata/hugepages-pages.xml | 1 + tests/qemuxml2xmloutdata/hugepages-pages2.xml | 1 + tests/qemuxml2xmloutdata/hugepages-pages3.xml | 1 + tests/qemuxml2xmloutdata/hugepages-shared.xml | 1 + tests/qemuxml2xmloutdata/hugepages.xml | 1 + tests/qemuxml2xmloutdata/lease.xml | 2 ++ .../machine-loadparm-multiple-disks-nets-s390.xml | 2 ++ tests/qemuxml2xmloutdata/memory-hotplug-dimm.xml | 1 + tests/qemuxml2xmloutdata/memory-hotplug.xml | 1 + tests/qemuxml2xmloutdata/memtune-unlimited.xml | 1 + tests/qemuxml2xmloutdata/memtune.xml | 1 + tests/qemuxml2xmloutdata/metadata-duplicate.xml | 1 + tests/qemuxml2xmloutdata/metadata.xml | 1 + tests/qemuxml2xmloutdata/minimal.xml | 1 + tests/qemuxml2xmloutdata/net-hostdev-vfio.xml | 1 + tests/qemuxml2xmloutdata/net-hostdev.xml | 1 + tests/qemuxml2xmloutdata/net-midonet.xml | 1 + tests/qemuxml2xmloutdata/net-openvswitch.xml | 1 + tests/qemuxml2xmloutdata/net-udp.xml | 1 + tests/qemuxml2xmloutdata/net-virtio-device.xml | 1 + tests/qemuxml2xmloutdata/net-virtio-disable-offloads.xml | 1 + tests/qemuxml2xmloutdata/net-virtio-network-portgroup.xml | 1 + tests/qemuxml2xmloutdata/net-virtio-rxtxqueuesize.xml | 1 + tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-cpuset.xml | 1 + .../numad-auto-memory-vcpu-no-cpuset-and-placement.xml | 1 + tests/qemuxml2xmloutdata/numad-auto-vcpu-no-numatune.xml | 1 + tests/qemuxml2xmloutdata/numad-static-vcpu-no-numatune.xml | 1 + tests/qemuxml2xmloutdata/panic-isa.xml | 1 + tests/qemuxml2xmloutdata/panic-no-address.xml | 1 + tests/qemuxml2xmloutdata/panic.xml | 1 + tests/qemuxml2xmloutdata/pci-rom.xml | 1 + tests/qemuxml2xmloutdata/pci-serial-dev-chardev.xml | 1 + tests/qemuxml2xmloutdata/pcie-expander-bus.xml | 1 + tests/qemuxml2xmloutdata/pcie-root-port.xml | 1 + tests/qemuxml2xmloutdata/pcie-switch-downstream-port.xml | 1 + tests/qemuxml2xmloutdata/pcie-switch-upstream-port.xml | 1 + tests/qemuxml2xmloutdata/pcihole64-q35.xml | 1 + tests/qemuxml2xmloutdata/q35-pcie-autoadd.xml | 1 + tests/qemuxml2xmloutdata/q35-pcie.xml | 1 + tests/qemuxml2xmloutdata/q35-usb2-multi.xml | 1 + tests/qemuxml2xmloutdata/q35-usb2-reorder.xml | 1 + tests/qemuxml2xmloutdata/q35-usb2.xml | 1 + tests/qemuxml2xmloutdata/q35-virtio-pci.xml | 1 + tests/qemuxml2xmloutdata/q35.xml | 1 + tests/qemuxml2xmloutdata/seclabel-dac-none.xml | 1 + tests/qemuxml2xmloutdata/seclabel-device-multiple.xml | 1 + tests/qemuxml2xmloutdata/seclabel-dynamic-baselabel.xml | 1 + tests/qemuxml2xmloutdata/seclabel-dynamic-labelskip.xml | 1 + tests/qemuxml2xmloutdata/seclabel-dynamic-none.xml | 1 + tests/qemuxml2xmloutdata/seclabel-dynamic-override.xml | 2 ++ tests/qemuxml2xmloutdata/seclabel-dynamic-relabel.xml | 1 + tests/qemuxml2xmloutdata/seclabel-none.xml | 1 + tests/qemuxml2xmloutdata/seclabel-static-labelskip.xml | 1 + tests/qemuxml2xmloutdata/seclabel-static.xml | 1 + tests/qemuxml2xmloutdata/serial-spiceport-nospice.xml | 1 + tests/qemuxml2xmloutdata/serial-spiceport.xml | 1 + tests/qemuxml2xmloutdata/serial-target-port-auto.xml | 1 + tests/qemuxml2xmloutdata/serial-tcp-tlsx509-chardev.xml | 1 + tests/qemuxml2xmloutdata/smbios-multiple-type2.xml | 1 + tests/qemuxml2xmloutdata/smbios.xml | 1 + tests/qemuxml2xmloutdata/sound-device.xml | 1 + tests/qemuxml2xmloutdata/video-qxl-heads.xml | 1 + tests/qemuxml2xmloutdata/video-qxl-noheads.xml | 1 + tests/qemuxml2xmloutdata/vmcoreinfo.xml | 1 + tests/qemuxml2xmltest.c | 3 --- 147 files changed, 180 insertions(+), 7 deletions(-) diff --git a/tests/qemuxml2argvdata/disk-drive-detect-zeroes.xml b/tests/qe= muxml2argvdata/disk-drive-detect-zeroes.xml index 085429d969..0a81ed4489 100644 --- a/tests/qemuxml2argvdata/disk-drive-detect-zeroes.xml +++ b/tests/qemuxml2argvdata/disk-drive-detect-zeroes.xml @@ -23,7 +23,7 @@
- + diff --git a/tests/qemuxml2argvdata/hugepages-memaccess.xml b/tests/qemuxml= 2argvdata/hugepages-memaccess.xml index db9b9430e1..cd75440254 100644 --- a/tests/qemuxml2argvdata/hugepages-memaccess.xml +++ b/tests/qemuxml2argvdata/hugepages-memaccess.xml @@ -35,6 +35,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/hugepages-memaccess2.xml b/tests/qemuxm= l2argvdata/hugepages-memaccess2.xml index c0011285c2..205f9efd92 100644 --- a/tests/qemuxml2argvdata/hugepages-memaccess2.xml +++ b/tests/qemuxml2argvdata/hugepages-memaccess2.xml @@ -35,6 +35,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/hugepages-pages4.xml b/tests/qemuxml2ar= gvdata/hugepages-pages4.xml index 13809e52b4..9f79881a59 100644 --- a/tests/qemuxml2argvdata/hugepages-pages4.xml +++ b/tests/qemuxml2argvdata/hugepages-pages4.xml @@ -33,6 +33,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/hugepages-pages5.xml b/tests/qemuxml2ar= gvdata/hugepages-pages5.xml index 1e4ca64f85..f636c186de 100644 --- a/tests/qemuxml2argvdata/hugepages-pages5.xml +++ b/tests/qemuxml2argvdata/hugepages-pages5.xml @@ -20,6 +20,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/hugepages-pages6.xml b/tests/qemuxml2ar= gvdata/hugepages-pages6.xml index ae8de680dd..fc4f57fbc0 100644 --- a/tests/qemuxml2argvdata/hugepages-pages6.xml +++ b/tests/qemuxml2argvdata/hugepages-pages6.xml @@ -20,6 +20,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-access.xml b/test= s/qemuxml2argvdata/memory-hotplug-nvdimm-access.xml index 1617624891..b41484ad2b 100644 --- a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-access.xml +++ b/tests/qemuxml2argvdata/memory-hotplug-nvdimm-access.xml @@ -26,6 +26,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-label.xml b/tests= /qemuxml2argvdata/memory-hotplug-nvdimm-label.xml index 4efe556d25..e266147a29 100644 --- a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-label.xml +++ b/tests/qemuxml2argvdata/memory-hotplug-nvdimm-label.xml @@ -26,6 +26,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/memory-hotplug-nvdimm.xml b/tests/qemux= ml2argvdata/memory-hotplug-nvdimm.xml index 0e064e6986..751ad27474 100644 --- a/tests/qemuxml2argvdata/memory-hotplug-nvdimm.xml +++ b/tests/qemuxml2argvdata/memory-hotplug-nvdimm.xml @@ -26,6 +26,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.xml b/= tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.xml index 89dc9e6e1d..ddda2c62b9 100644 --- a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.xml +++ b/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/aarch64-aavmf-virtio-mmio.xml b/tests= /qemuxml2xmloutdata/aarch64-aavmf-virtio-mmio.xml index 9e728300e5..c30690e7bc 100644 --- a/tests/qemuxml2xmloutdata/aarch64-aavmf-virtio-mmio.xml +++ b/tests/qemuxml2xmloutdata/aarch64-aavmf-virtio-mmio.xml @@ -27,6 +27,7 @@ /usr/bin/qemu-system-aarch64 +
diff --git a/tests/qemuxml2xmloutdata/aarch64-virtio-pci-default.xml b/test= s/qemuxml2xmloutdata/aarch64-virtio-pci-default.xml index 9796d7f637..c569a2886d 100644 --- a/tests/qemuxml2xmloutdata/aarch64-virtio-pci-default.xml +++ b/tests/qemuxml2xmloutdata/aarch64-virtio-pci-default.xml @@ -27,6 +27,7 @@ /usr/bin/qemu-system-aarch64 +
diff --git a/tests/qemuxml2xmloutdata/aarch64-virtio-pci-manual-addresses.x= ml b/tests/qemuxml2xmloutdata/aarch64-virtio-pci-manual-addresses.xml index 83d8dcc4a7..b28e644844 100644 --- a/tests/qemuxml2xmloutdata/aarch64-virtio-pci-manual-addresses.xml +++ b/tests/qemuxml2xmloutdata/aarch64-virtio-pci-manual-addresses.xml @@ -27,6 +27,7 @@ /usr/bin/qemu-system-aarch64 +
diff --git a/tests/qemuxml2xmloutdata/autoindex.xml b/tests/qemuxml2xmloutd= ata/autoindex.xml index 9ab689eda7..382dc73f1c 100644 --- a/tests/qemuxml2xmloutdata/autoindex.xml +++ b/tests/qemuxml2xmloutdata/autoindex.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/balloon-device-auto.xml b/tests/qemux= ml2xmloutdata/balloon-device-auto.xml index 33e952d5ce..cc92b7823f 100644 --- a/tests/qemuxml2xmloutdata/balloon-device-auto.xml +++ b/tests/qemuxml2xmloutdata/balloon-device-auto.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/balloon-device-period.xml b/tests/qem= uxml2xmloutdata/balloon-device-period.xml index c21f4d747a..45c7a22f39 100644 --- a/tests/qemuxml2xmloutdata/balloon-device-period.xml +++ b/tests/qemuxml2xmloutdata/balloon-device-period.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/bios-nvram-os-interleave.xml b/tests/= qemuxml2xmloutdata/bios-nvram-os-interleave.xml index b6d7a66361..dfa496a215 100644 --- a/tests/qemuxml2xmloutdata/bios-nvram-os-interleave.xml +++ b/tests/qemuxml2xmloutdata/bios-nvram-os-interleave.xml @@ -21,6 +21,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/bios-nvram.xml b/tests/qemuxml2xmlout= data/bios-nvram.xml index 8e254925ba..eabbf717f9 100644 --- a/tests/qemuxml2xmloutdata/bios-nvram.xml +++ b/tests/qemuxml2xmloutdata/bios-nvram.xml @@ -21,6 +21,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/blkiotune-device.xml b/tests/qemuxml2= xmloutdata/blkiotune-device.xml index 476a732d61..4a3a6b4327 100644 --- a/tests/qemuxml2xmloutdata/blkiotune-device.xml +++ b/tests/qemuxml2xmloutdata/blkiotune-device.xml @@ -34,6 +34,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/blkiotune.xml b/tests/qemuxml2xmloutd= ata/blkiotune.xml index 67fa84c903..79f899d717 100644 --- a/tests/qemuxml2xmloutdata/blkiotune.xml +++ b/tests/qemuxml2xmloutdata/blkiotune.xml @@ -18,6 +18,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/boot-menu-disable-with-timeout.xml b/= tests/qemuxml2xmloutdata/boot-menu-disable-with-timeout.xml index b42b52ee51..8962ffbdd9 100644 --- a/tests/qemuxml2xmloutdata/boot-menu-disable-with-timeout.xml +++ b/tests/qemuxml2xmloutdata/boot-menu-disable-with-timeout.xml @@ -16,6 +16,7 @@ /usr/bin/qemu-system-i686 + diff --git a/tests/qemuxml2xmloutdata/boot-menu-disable.xml b/tests/qemuxml= 2xmloutdata/boot-menu-disable.xml index b42b52ee51..8962ffbdd9 100644 --- a/tests/qemuxml2xmloutdata/boot-menu-disable.xml +++ b/tests/qemuxml2xmloutdata/boot-menu-disable.xml @@ -16,6 +16,7 @@ /usr/bin/qemu-system-i686 + diff --git a/tests/qemuxml2xmloutdata/boot-menu-enable-with-timeout.xml b/t= ests/qemuxml2xmloutdata/boot-menu-enable-with-timeout.xml index 981a52090c..90f323a1e2 100644 --- a/tests/qemuxml2xmloutdata/boot-menu-enable-with-timeout.xml +++ b/tests/qemuxml2xmloutdata/boot-menu-enable-with-timeout.xml @@ -16,6 +16,7 @@ /usr/bin/qemu-system-i686 + diff --git a/tests/qemuxml2xmloutdata/boot-multi.xml b/tests/qemuxml2xmlout= data/boot-multi.xml index dab9041585..390d198f25 100644 --- a/tests/qemuxml2xmloutdata/boot-multi.xml +++ b/tests/qemuxml2xmloutdata/boot-multi.xml @@ -19,6 +19,7 @@ /usr/bin/qemu-system-i686 + diff --git a/tests/qemuxml2xmloutdata/boot-order.xml b/tests/qemuxml2xmlout= data/boot-order.xml index 0e95901b88..1e4ca91d05 100644 --- a/tests/qemuxml2xmloutdata/boot-order.xml +++ b/tests/qemuxml2xmloutdata/boot-order.xml @@ -14,11 +14,13 @@ /usr/bin/qemu-system-i686 +
+ diff --git a/tests/qemuxml2xmloutdata/channel-guestfwd.xml b/tests/qemuxml2= xmloutdata/channel-guestfwd.xml index 2e1f720838..3eeddda0b4 100644 --- a/tests/qemuxml2xmloutdata/channel-guestfwd.xml +++ b/tests/qemuxml2xmloutdata/channel-guestfwd.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/channel-virtio-auto.xml b/tests/qemux= ml2xmloutdata/channel-virtio-auto.xml index 6fd0358156..3bed3b6c0d 100644 --- a/tests/qemuxml2xmloutdata/channel-virtio-auto.xml +++ b/tests/qemuxml2xmloutdata/channel-virtio-auto.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/channel-virtio-state-active.xml b/tes= ts/qemuxml2xmloutdata/channel-virtio-state-active.xml index 7d93fc0c0a..4487ea47dd 100644 --- a/tests/qemuxml2xmloutdata/channel-virtio-state-active.xml +++ b/tests/qemuxml2xmloutdata/channel-virtio-state-active.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/channel-virtio-state-inactive.xml b/t= ests/qemuxml2xmloutdata/channel-virtio-state-inactive.xml index 32a2673f4a..0a427ba484 100644 --- a/tests/qemuxml2xmloutdata/channel-virtio-state-inactive.xml +++ b/tests/qemuxml2xmloutdata/channel-virtio-state-inactive.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/channel-virtio.xml b/tests/qemuxml2xm= loutdata/channel-virtio.xml index 1fe09a1cff..5400658353 100644 --- a/tests/qemuxml2xmloutdata/channel-virtio.xml +++ b/tests/qemuxml2xmloutdata/channel-virtio.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/clock-catchup.xml b/tests/qemuxml2xml= outdata/clock-catchup.xml index e019895991..e171fae534 100644 --- a/tests/qemuxml2xmloutdata/clock-catchup.xml +++ b/tests/qemuxml2xmloutdata/clock-catchup.xml @@ -25,6 +25,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/console-compat-auto.xml b/tests/qemux= ml2xmloutdata/console-compat-auto.xml index 267b253b15..ec7ca296e3 100644 --- a/tests/qemuxml2xmloutdata/console-compat-auto.xml +++ b/tests/qemuxml2xmloutdata/console-compat-auto.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/console-virtio-many.xml b/tests/qemux= ml2xmloutdata/console-virtio-many.xml index 1a22b78b8c..4f718dfbd8 100644 --- a/tests/qemuxml2xmloutdata/console-virtio-many.xml +++ b/tests/qemuxml2xmloutdata/console-virtio-many.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/console-virtio.xml b/tests/qemuxml2xm= loutdata/console-virtio.xml index 0f4469b14a..334cc21c2e 100644 --- a/tests/qemuxml2xmloutdata/console-virtio.xml +++ b/tests/qemuxml2xmloutdata/console-virtio.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/cpu-host-passthrough-features.xml b/t= ests/qemuxml2xmloutdata/cpu-host-passthrough-features.xml index 9a73c2a673..6d47bd84fe 100644 --- a/tests/qemuxml2xmloutdata/cpu-host-passthrough-features.xml +++ b/tests/qemuxml2xmloutdata/cpu-host-passthrough-features.xml @@ -25,6 +25,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/cputune-iothreads.xml b/tests/qemuxml= 2xmloutdata/cputune-iothreads.xml index 6aed4dc4db..e647cf70e7 100644 --- a/tests/qemuxml2xmloutdata/cputune-iothreads.xml +++ b/tests/qemuxml2xmloutdata/cputune-iothreads.xml @@ -26,6 +26,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/cputune-iothreadsched-zeropriority.xm= l b/tests/qemuxml2xmloutdata/cputune-iothreadsched-zeropriority.xml index 87fc71cb02..0ba6b5ae93 100644 --- a/tests/qemuxml2xmloutdata/cputune-iothreadsched-zeropriority.xml +++ b/tests/qemuxml2xmloutdata/cputune-iothreadsched-zeropriority.xml @@ -29,6 +29,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/cputune-iothreadsched.xml b/tests/qem= uxml2xmloutdata/cputune-iothreadsched.xml index 4efc3b8cca..a496f13e14 100644 --- a/tests/qemuxml2xmloutdata/cputune-iothreadsched.xml +++ b/tests/qemuxml2xmloutdata/cputune-iothreadsched.xml @@ -29,6 +29,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/cputune-zero-shares.xml b/tests/qemux= ml2xmloutdata/cputune-zero-shares.xml index 14205479e5..cea21402dc 100644 --- a/tests/qemuxml2xmloutdata/cputune-zero-shares.xml +++ b/tests/qemuxml2xmloutdata/cputune-zero-shares.xml @@ -23,6 +23,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/cputune.xml b/tests/qemuxml2xmloutdat= a/cputune.xml index fe8d5d0bbe..612eb76e71 100644 --- a/tests/qemuxml2xmloutdata/cputune.xml +++ b/tests/qemuxml2xmloutdata/cputune.xml @@ -27,6 +27,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/disk-drive-copy-on-read.xml b/tests/q= emuxml2xmloutdata/disk-drive-copy-on-read.xml index d1f9834654..69361a453a 100644 --- a/tests/qemuxml2xmloutdata/disk-drive-copy-on-read.xml +++ b/tests/qemuxml2xmloutdata/disk-drive-copy-on-read.xml @@ -15,7 +15,7 @@ /usr/bin/qemu-system-i686 - +
diff --git a/tests/qemuxml2xmloutdata/disk-drive-discard.xml b/tests/qemuxm= l2xmloutdata/disk-drive-discard.xml index 4fe85b1cdc..d51c3a1819 100644 --- a/tests/qemuxml2xmloutdata/disk-drive-discard.xml +++ b/tests/qemuxml2xmloutdata/disk-drive-discard.xml @@ -23,7 +23,7 @@
- + diff --git a/tests/qemuxml2xmloutdata/disk-mirror-active.xml b/tests/qemuxm= l2xmloutdata/disk-mirror-active.xml index c1e8a33ec1..d689eac6b8 100644 --- a/tests/qemuxml2xmloutdata/disk-mirror-active.xml +++ b/tests/qemuxml2xmloutdata/disk-mirror-active.xml @@ -15,15 +15,18 @@ /usr/bin/qemu-system-i686 + +
+ @@ -31,6 +34,7 @@
+ @@ -41,6 +45,7 @@
+ diff --git a/tests/qemuxml2xmloutdata/disk-mirror-inactive.xml b/tests/qemu= xml2xmloutdata/disk-mirror-inactive.xml index b3bba884ee..cc7aed0873 100644 --- a/tests/qemuxml2xmloutdata/disk-mirror-inactive.xml +++ b/tests/qemuxml2xmloutdata/disk-mirror-inactive.xml @@ -15,22 +15,26 @@ /usr/bin/qemu-system-i686 +
+
+
+
diff --git a/tests/qemuxml2xmloutdata/disk-mirror-old-inactive.xml b/tests/= qemuxml2xmloutdata/disk-mirror-old-inactive.xml index b3bba884ee..cc7aed0873 100644 --- a/tests/qemuxml2xmloutdata/disk-mirror-old-inactive.xml +++ b/tests/qemuxml2xmloutdata/disk-mirror-old-inactive.xml @@ -15,22 +15,26 @@ /usr/bin/qemu-system-i686 +
+
+
+
diff --git a/tests/qemuxml2xmloutdata/disk-mirror-old.xml b/tests/qemuxml2x= mloutdata/disk-mirror-old.xml index e390bc02f2..f8a885aec8 100644 --- a/tests/qemuxml2xmloutdata/disk-mirror-old.xml +++ b/tests/qemuxml2xmloutdata/disk-mirror-old.xml @@ -15,15 +15,18 @@ /usr/bin/qemu-system-i686 + - + +
+ @@ -31,6 +34,7 @@
+ @@ -41,6 +45,7 @@
+ diff --git a/tests/qemuxml2xmloutdata/disk-scsi-device-auto.xml b/tests/qem= uxml2xmloutdata/disk-scsi-device-auto.xml index a0db32b56f..012b3cc263 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-device-auto.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-device-auto.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+
diff --git a/tests/qemuxml2xmloutdata/disk-scsi-device.xml b/tests/qemuxml2= xmloutdata/disk-scsi-device.xml index b46ffb6315..c1b44a54a1 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-device.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-device.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+
diff --git a/tests/qemuxml2xmloutdata/disk-scsi-disk-vpd.xml b/tests/qemuxm= l2xmloutdata/disk-scsi-disk-vpd.xml index 9d62909504..c36f07db1c 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-disk-vpd.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-disk-vpd.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 + @@ -23,6 +24,7 @@
+ diff --git a/tests/qemuxml2xmloutdata/disk-scsi-lun-passthrough-sgio.xml b/= tests/qemuxml2xmloutdata/disk-scsi-lun-passthrough-sgio.xml index 80eb3cc21a..604ee8c9e3 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-lun-passthrough-sgio.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-lun-passthrough-sgio.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+
diff --git a/tests/qemuxml2xmloutdata/disk-scsi-megasas.xml b/tests/qemuxml= 2xmloutdata/disk-scsi-megasas.xml index 6e6280bbf7..3453f1f750 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-megasas.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-megasas.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+
diff --git a/tests/qemuxml2xmloutdata/disk-scsi-mptsas1068.xml b/tests/qemu= xml2xmloutdata/disk-scsi-mptsas1068.xml index 75e26ae666..e4f4b9e3b1 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-mptsas1068.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-mptsas1068.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+ 5000c50015ea71ac diff --git a/tests/qemuxml2xmloutdata/disk-scsi-virtio-scsi.xml b/tests/qem= uxml2xmloutdata/disk-scsi-virtio-scsi.xml index a7ee28684a..069a35f27c 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-virtio-scsi.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-virtio-scsi.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+
diff --git a/tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml b/tests/qemuxml2x= mloutdata/disk-scsi-vscsi.xml index ced2b2be9a..5f0cc50674 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+
diff --git a/tests/qemuxml2xmloutdata/disk-serial.xml b/tests/qemuxml2xmlou= tdata/disk-serial.xml index 5a26e549df..9313c699b6 100644 --- a/tests/qemuxml2xmloutdata/disk-serial.xml +++ b/tests/qemuxml2xmloutdata/disk-serial.xml @@ -15,18 +15,21 @@ /usr/bin/qemu-system-i686 + WD-WMAP9A966149
+ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567= 89-_ .+
+ sdserial diff --git a/tests/qemuxml2xmloutdata/disk-source-pool-mode.xml b/tests/qem= uxml2xmloutdata/disk-source-pool-mode.xml index a14ed7b973..29706200db 100644 --- a/tests/qemuxml2xmloutdata/disk-source-pool-mode.xml +++ b/tests/qemuxml2xmloutdata/disk-source-pool-mode.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 + @@ -25,6 +26,7 @@
+ @@ -35,11 +37,13 @@
+
+ diff --git a/tests/qemuxml2xmloutdata/disk-source-pool.xml b/tests/qemuxml2= xmloutdata/disk-source-pool.xml index 2379a8ca17..567b22db84 100644 --- a/tests/qemuxml2xmloutdata/disk-source-pool.xml +++ b/tests/qemuxml2xmloutdata/disk-source-pool.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 + @@ -31,6 +32,7 @@
+
diff --git a/tests/qemuxml2xmloutdata/disk-usb-device.xml b/tests/qemuxml2x= mloutdata/disk-usb-device.xml index b5bcca935f..07282c87a0 100644 --- a/tests/qemuxml2xmloutdata/disk-usb-device.xml +++ b/tests/qemuxml2xmloutdata/disk-usb-device.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+ diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml b/te= sts/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml index b5e55ca51f..f50a668625 100644 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml +++ b/tests/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml b/test= s/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml index 4ec0471696..f2c0b47731 100644 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml +++ b/tests/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml b/te= sts/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml index afebb413b3..07f4012fd0 100644 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml +++ b/tests/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml b/tes= ts/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml index 0c14b70082..f0776b6b71 100644 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml +++ b/tests/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/graphics-listen-network.xml b/tests/q= emuxml2xmloutdata/graphics-listen-network.xml index d1f5b82cd8..144d315b57 100644 --- a/tests/qemuxml2xmloutdata/graphics-listen-network.xml +++ b/tests/qemuxml2xmloutdata/graphics-listen-network.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/graphics-listen-network2.xml b/tests/= qemuxml2xmloutdata/graphics-listen-network2.xml index 6ccf0d10a9..ad44f67443 100644 --- a/tests/qemuxml2xmloutdata/graphics-listen-network2.xml +++ b/tests/qemuxml2xmloutdata/graphics-listen-network2.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/graphics-spice-compression.xml b/test= s/qemuxml2xmloutdata/graphics-spice-compression.xml index a387e2b4a0..27854421c5 100644 --- a/tests/qemuxml2xmloutdata/graphics-spice-compression.xml +++ b/tests/qemuxml2xmloutdata/graphics-spice-compression.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/graphics-spice-qxl-vga.xml b/tests/qe= muxml2xmloutdata/graphics-spice-qxl-vga.xml index 1b56f63bab..78af3846df 100644 --- a/tests/qemuxml2xmloutdata/graphics-spice-qxl-vga.xml +++ b/tests/qemuxml2xmloutdata/graphics-spice-qxl-vga.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/graphics-spice.xml b/tests/qemuxml2xm= loutdata/graphics-spice.xml index c6327a9f7f..1822bc35cc 100644 --- a/tests/qemuxml2xmloutdata/graphics-spice.xml +++ b/tests/qemuxml2xmloutdata/graphics-spice.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-autogen-address.xml b/te= sts/qemuxml2xmloutdata/hostdev-scsi-autogen-address.xml index cea212b64d..3b4242e409 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-autogen-address.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-autogen-address.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-large-unit.xml b/tests/q= emuxml2xmloutdata/hostdev-scsi-large-unit.xml index b0ed1532c9..1b0da12f60 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-large-unit.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-large-unit.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi-auth.xml b/tes= ts/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi-auth.xml index 3d0efdcafe..beeb3cb11e 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi-auth.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi-auth.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml b/tests/qe= muxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml index 28b80a02bb..cff162b4ea 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml b/tests/qemuxml2= xmloutdata/hostdev-scsi-lsi.xml index 545ce3ba8f..d8931da38a 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-rawio.xml b/tests/qemuxm= l2xmloutdata/hostdev-scsi-rawio.xml index 2f2709eafe..df1375d1a5 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-rawio.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-rawio.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-readonly.xml b/tests/qem= uxml2xmloutdata/hostdev-scsi-readonly.xml index 57a4efd226..dd252f8524 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-readonly.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-readonly.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-sgio.xml b/tests/qemuxml= 2xmloutdata/hostdev-scsi-sgio.xml index cff25e7479..05cefc003b 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-sgio.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-sgio.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-shareable.xml b/tests/qe= muxml2xmloutdata/hostdev-scsi-shareable.xml index 6731d6dfd8..31aa2dd3b5 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-shareable.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-shareable.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-ccw.xml b/tes= ts/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-ccw.xml index 6012d241ce..3723bd0a98 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-ccw.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-ccw.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-s390x +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-pci.xml b/tes= ts/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-pci.xml index cb97544d30..174096b0d9 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-pci.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-pci.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi-auth.xml b/= tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi-auth.xml index 74a93dd5d6..a3886ec750 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi-auth.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi-auth.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi.xml b/tests= /qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi.xml index ddf7801602..d31af322ac 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-iscsi.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-scsi.xml b/tests/= qemuxml2xmloutdata/hostdev-scsi-virtio-scsi.xml index c771b1cafa..df87897323 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-scsi.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-virtio-scsi.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hostdev-vfio.xml b/tests/qemuxml2xmlo= utdata/hostdev-vfio.xml index 786d9b81e0..77bd62a129 100644 --- a/tests/qemuxml2xmloutdata/hostdev-vfio.xml +++ b/tests/qemuxml2xmloutdata/hostdev-vfio.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hugepages-pages.xml b/tests/qemuxml2x= mloutdata/hugepages-pages.xml index f4c3d9725a..498610a217 100644 --- a/tests/qemuxml2xmloutdata/hugepages-pages.xml +++ b/tests/qemuxml2xmloutdata/hugepages-pages.xml @@ -33,6 +33,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hugepages-pages2.xml b/tests/qemuxml2= xmloutdata/hugepages-pages2.xml index 942b5d8c94..cd79960f1b 100644 --- a/tests/qemuxml2xmloutdata/hugepages-pages2.xml +++ b/tests/qemuxml2xmloutdata/hugepages-pages2.xml @@ -26,6 +26,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hugepages-pages3.xml b/tests/qemuxml2= xmloutdata/hugepages-pages3.xml index 928c4ff61f..be21c3eddd 100644 --- a/tests/qemuxml2xmloutdata/hugepages-pages3.xml +++ b/tests/qemuxml2xmloutdata/hugepages-pages3.xml @@ -26,6 +26,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hugepages-shared.xml b/tests/qemuxml2= xmloutdata/hugepages-shared.xml index bf296a1a78..e56d1ace83 100644 --- a/tests/qemuxml2xmloutdata/hugepages-shared.xml +++ b/tests/qemuxml2xmloutdata/hugepages-shared.xml @@ -33,6 +33,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/hugepages.xml b/tests/qemuxml2xmloutd= ata/hugepages.xml index 461e862411..f78ca95c1b 100644 --- a/tests/qemuxml2xmloutdata/hugepages.xml +++ b/tests/qemuxml2xmloutdata/hugepages.xml @@ -18,6 +18,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/lease.xml b/tests/qemuxml2xmloutdata/= lease.xml index 328946d6e3..a6ba5903cc 100644 --- a/tests/qemuxml2xmloutdata/lease.xml +++ b/tests/qemuxml2xmloutdata/lease.xml @@ -15,11 +15,13 @@ /usr/bin/qemu-system-i686 +
+ diff --git a/tests/qemuxml2xmloutdata/machine-loadparm-multiple-disks-nets-= s390.xml b/tests/qemuxml2xmloutdata/machine-loadparm-multiple-disks-nets-s3= 90.xml index 2f0bb83107..c4e08fd440 100644 --- a/tests/qemuxml2xmloutdata/machine-loadparm-multiple-disks-nets-s390.xml +++ b/tests/qemuxml2xmloutdata/machine-loadparm-multiple-disks-nets-s390.xml @@ -14,12 +14,14 @@ /usr/bin/qemu-system-s390x +
+ diff --git a/tests/qemuxml2xmloutdata/memory-hotplug-dimm.xml b/tests/qemux= ml2xmloutdata/memory-hotplug-dimm.xml index ed0894ee0e..d26675852f 100644 --- a/tests/qemuxml2xmloutdata/memory-hotplug-dimm.xml +++ b/tests/qemuxml2xmloutdata/memory-hotplug-dimm.xml @@ -26,6 +26,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/memory-hotplug.xml b/tests/qemuxml2xm= loutdata/memory-hotplug.xml index e6771b5421..a5d82346be 100644 --- a/tests/qemuxml2xmloutdata/memory-hotplug.xml +++ b/tests/qemuxml2xmloutdata/memory-hotplug.xml @@ -22,6 +22,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/memtune-unlimited.xml b/tests/qemuxml= 2xmloutdata/memtune-unlimited.xml index 9aec678e2e..1910edab41 100644 --- a/tests/qemuxml2xmloutdata/memtune-unlimited.xml +++ b/tests/qemuxml2xmloutdata/memtune-unlimited.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/memtune.xml b/tests/qemuxml2xmloutdat= a/memtune.xml index 039afafd43..55db8a2daf 100644 --- a/tests/qemuxml2xmloutdata/memtune.xml +++ b/tests/qemuxml2xmloutdata/memtune.xml @@ -20,6 +20,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/metadata-duplicate.xml b/tests/qemuxm= l2xmloutdata/metadata-duplicate.xml index 659eedf85e..2ac9c2aa54 100644 --- a/tests/qemuxml2xmloutdata/metadata-duplicate.xml +++ b/tests/qemuxml2xmloutdata/metadata-duplicate.xml @@ -19,6 +19,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/metadata.xml b/tests/qemuxml2xmloutda= ta/metadata.xml index 659eedf85e..2ac9c2aa54 100644 --- a/tests/qemuxml2xmloutdata/metadata.xml +++ b/tests/qemuxml2xmloutdata/metadata.xml @@ -19,6 +19,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/minimal.xml b/tests/qemuxml2xmloutdat= a/minimal.xml index 1bb3b33736..1a0cf56824 100644 --- a/tests/qemuxml2xmloutdata/minimal.xml +++ b/tests/qemuxml2xmloutdata/minimal.xml @@ -20,6 +20,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-hostdev-vfio.xml b/tests/qemuxml2= xmloutdata/net-hostdev-vfio.xml index 8b51648d54..0523cd8d3b 100644 --- a/tests/qemuxml2xmloutdata/net-hostdev-vfio.xml +++ b/tests/qemuxml2xmloutdata/net-hostdev-vfio.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-hostdev.xml b/tests/qemuxml2xmlou= tdata/net-hostdev.xml index ddc6151687..bede4b034f 100644 --- a/tests/qemuxml2xmloutdata/net-hostdev.xml +++ b/tests/qemuxml2xmloutdata/net-hostdev.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-midonet.xml b/tests/qemuxml2xmlou= tdata/net-midonet.xml index fe61e33c8d..49fe8f6ec2 100644 --- a/tests/qemuxml2xmloutdata/net-midonet.xml +++ b/tests/qemuxml2xmloutdata/net-midonet.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-openvswitch.xml b/tests/qemuxml2x= mloutdata/net-openvswitch.xml index e2483f59d9..13efaca2cb 100644 --- a/tests/qemuxml2xmloutdata/net-openvswitch.xml +++ b/tests/qemuxml2xmloutdata/net-openvswitch.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-udp.xml b/tests/qemuxml2xmloutdat= a/net-udp.xml index d30e85a2fe..efd74cb36d 100644 --- a/tests/qemuxml2xmloutdata/net-udp.xml +++ b/tests/qemuxml2xmloutdata/net-udp.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-virtio-device.xml b/tests/qemuxml= 2xmloutdata/net-virtio-device.xml index 73d693b75f..f1238cde2b 100644 --- a/tests/qemuxml2xmloutdata/net-virtio-device.xml +++ b/tests/qemuxml2xmloutdata/net-virtio-device.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-virtio-disable-offloads.xml b/tes= ts/qemuxml2xmloutdata/net-virtio-disable-offloads.xml index 3ed5d02d35..e5cad4078b 100644 --- a/tests/qemuxml2xmloutdata/net-virtio-disable-offloads.xml +++ b/tests/qemuxml2xmloutdata/net-virtio-disable-offloads.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-virtio-network-portgroup.xml b/te= sts/qemuxml2xmloutdata/net-virtio-network-portgroup.xml index b70f73cd87..fe8c5657ce 100644 --- a/tests/qemuxml2xmloutdata/net-virtio-network-portgroup.xml +++ b/tests/qemuxml2xmloutdata/net-virtio-network-portgroup.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/net-virtio-rxtxqueuesize.xml b/tests/= qemuxml2xmloutdata/net-virtio-rxtxqueuesize.xml index 5c33a58ad5..753c2f247e 100644 --- a/tests/qemuxml2xmloutdata/net-virtio-rxtxqueuesize.xml +++ b/tests/qemuxml2xmloutdata/net-virtio-rxtxqueuesize.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-cpuset.xml b/t= ests/qemuxml2xmloutdata/numad-auto-memory-vcpu-cpuset.xml index ea8cbf9202..6e3aa331c5 100644 --- a/tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-cpuset.xml +++ b/tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-cpuset.xml @@ -21,6 +21,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-no-cpuset-and-= placement.xml b/tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-no-cpuset-a= nd-placement.xml index c895e42f02..0be69f5b02 100644 --- a/tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-no-cpuset-and-placeme= nt.xml +++ b/tests/qemuxml2xmloutdata/numad-auto-memory-vcpu-no-cpuset-and-placeme= nt.xml @@ -21,6 +21,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/numad-auto-vcpu-no-numatune.xml b/tes= ts/qemuxml2xmloutdata/numad-auto-vcpu-no-numatune.xml index 2a4455b9c1..04d9a3ee5e 100644 --- a/tests/qemuxml2xmloutdata/numad-auto-vcpu-no-numatune.xml +++ b/tests/qemuxml2xmloutdata/numad-auto-vcpu-no-numatune.xml @@ -21,6 +21,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/numad-static-vcpu-no-numatune.xml b/t= ests/qemuxml2xmloutdata/numad-static-vcpu-no-numatune.xml index c3608c0dad..3dae444172 100644 --- a/tests/qemuxml2xmloutdata/numad-static-vcpu-no-numatune.xml +++ b/tests/qemuxml2xmloutdata/numad-static-vcpu-no-numatune.xml @@ -18,6 +18,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/panic-isa.xml b/tests/qemuxml2xmloutd= ata/panic-isa.xml index 6069073891..8f4f330d54 100644 --- a/tests/qemuxml2xmloutdata/panic-isa.xml +++ b/tests/qemuxml2xmloutdata/panic-isa.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/panic-no-address.xml b/tests/qemuxml2= xmloutdata/panic-no-address.xml index 9ddafb1626..b05d2209ac 100644 --- a/tests/qemuxml2xmloutdata/panic-no-address.xml +++ b/tests/qemuxml2xmloutdata/panic-no-address.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/panic.xml b/tests/qemuxml2xmloutdata/= panic.xml index 6069073891..8f4f330d54 100644 --- a/tests/qemuxml2xmloutdata/panic.xml +++ b/tests/qemuxml2xmloutdata/panic.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/pci-rom.xml b/tests/qemuxml2xmloutdat= a/pci-rom.xml index ee893fdd53..982231fefe 100644 --- a/tests/qemuxml2xmloutdata/pci-rom.xml +++ b/tests/qemuxml2xmloutdata/pci-rom.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/pci-serial-dev-chardev.xml b/tests/qe= muxml2xmloutdata/pci-serial-dev-chardev.xml index 8f77ef043a..5308d4d253 100644 --- a/tests/qemuxml2xmloutdata/pci-serial-dev-chardev.xml +++ b/tests/qemuxml2xmloutdata/pci-serial-dev-chardev.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/pcie-expander-bus.xml b/tests/qemuxml= 2xmloutdata/pcie-expander-bus.xml index aaac423cac..008d01e5f8 100644 --- a/tests/qemuxml2xmloutdata/pcie-expander-bus.xml +++ b/tests/qemuxml2xmloutdata/pcie-expander-bus.xml @@ -22,6 +22,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/pcie-root-port.xml b/tests/qemuxml2xm= loutdata/pcie-root-port.xml index 9f6e120405..1424b9e22e 100644 --- a/tests/qemuxml2xmloutdata/pcie-root-port.xml +++ b/tests/qemuxml2xmloutdata/pcie-root-port.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/pcie-switch-downstream-port.xml b/tes= ts/qemuxml2xmloutdata/pcie-switch-downstream-port.xml index 9970a83e25..ca49d04a76 100644 --- a/tests/qemuxml2xmloutdata/pcie-switch-downstream-port.xml +++ b/tests/qemuxml2xmloutdata/pcie-switch-downstream-port.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/pcie-switch-upstream-port.xml b/tests= /qemuxml2xmloutdata/pcie-switch-upstream-port.xml index 1453fffd74..f994957c32 100644 --- a/tests/qemuxml2xmloutdata/pcie-switch-upstream-port.xml +++ b/tests/qemuxml2xmloutdata/pcie-switch-upstream-port.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/pcihole64-q35.xml b/tests/qemuxml2xml= outdata/pcihole64-q35.xml index 6818094436..b3f591c451 100644 --- a/tests/qemuxml2xmloutdata/pcihole64-q35.xml +++ b/tests/qemuxml2xmloutdata/pcihole64-q35.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/q35-pcie-autoadd.xml b/tests/qemuxml2= xmloutdata/q35-pcie-autoadd.xml index 2e5f2e241c..9ce1c317b2 100644 --- a/tests/qemuxml2xmloutdata/q35-pcie-autoadd.xml +++ b/tests/qemuxml2xmloutdata/q35-pcie-autoadd.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/q35-pcie.xml b/tests/qemuxml2xmloutda= ta/q35-pcie.xml index 4d08c9627e..75ca42a20e 100644 --- a/tests/qemuxml2xmloutdata/q35-pcie.xml +++ b/tests/qemuxml2xmloutdata/q35-pcie.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/q35-usb2-multi.xml b/tests/qemuxml2xm= loutdata/q35-usb2-multi.xml index 5ca50223b4..2ad1ddec21 100644 --- a/tests/qemuxml2xmloutdata/q35-usb2-multi.xml +++ b/tests/qemuxml2xmloutdata/q35-usb2-multi.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/q35-usb2-reorder.xml b/tests/qemuxml2= xmloutdata/q35-usb2-reorder.xml index 7081d9cc98..912ae8a890 100644 --- a/tests/qemuxml2xmloutdata/q35-usb2-reorder.xml +++ b/tests/qemuxml2xmloutdata/q35-usb2-reorder.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/q35-usb2.xml b/tests/qemuxml2xmloutda= ta/q35-usb2.xml index da3989914b..3d5407609e 100644 --- a/tests/qemuxml2xmloutdata/q35-usb2.xml +++ b/tests/qemuxml2xmloutdata/q35-usb2.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/q35-virtio-pci.xml b/tests/qemuxml2xm= loutdata/q35-virtio-pci.xml index ea204194d4..f534a54c0f 100644 --- a/tests/qemuxml2xmloutdata/q35-virtio-pci.xml +++ b/tests/qemuxml2xmloutdata/q35-virtio-pci.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/q35.xml b/tests/qemuxml2xmloutdata/q3= 5.xml index c57f178e41..fa230ce9b5 100644 --- a/tests/qemuxml2xmloutdata/q35.xml +++ b/tests/qemuxml2xmloutdata/q35.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-x86_64 +
diff --git a/tests/qemuxml2xmloutdata/seclabel-dac-none.xml b/tests/qemuxml= 2xmloutdata/seclabel-dac-none.xml index cb32458f80..04418be906 100644 --- a/tests/qemuxml2xmloutdata/seclabel-dac-none.xml +++ b/tests/qemuxml2xmloutdata/seclabel-dac-none.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/seclabel-device-multiple.xml b/tests/= qemuxml2xmloutdata/seclabel-device-multiple.xml index 4e83ac390b..46b6b210b5 100644 --- a/tests/qemuxml2xmloutdata/seclabel-device-multiple.xml +++ b/tests/qemuxml2xmloutdata/seclabel-device-multiple.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 + diff --git a/tests/qemuxml2xmloutdata/seclabel-dynamic-baselabel.xml b/test= s/qemuxml2xmloutdata/seclabel-dynamic-baselabel.xml index 3f4ff0aadf..7163015192 100644 --- a/tests/qemuxml2xmloutdata/seclabel-dynamic-baselabel.xml +++ b/tests/qemuxml2xmloutdata/seclabel-dynamic-baselabel.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/seclabel-dynamic-labelskip.xml b/test= s/qemuxml2xmloutdata/seclabel-dynamic-labelskip.xml index 3f4ff0aadf..7163015192 100644 --- a/tests/qemuxml2xmloutdata/seclabel-dynamic-labelskip.xml +++ b/tests/qemuxml2xmloutdata/seclabel-dynamic-labelskip.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/seclabel-dynamic-none.xml b/tests/qem= uxml2xmloutdata/seclabel-dynamic-none.xml index 9d58317a0d..067889262c 100644 --- a/tests/qemuxml2xmloutdata/seclabel-dynamic-none.xml +++ b/tests/qemuxml2xmloutdata/seclabel-dynamic-none.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/seclabel-dynamic-override.xml b/tests= /qemuxml2xmloutdata/seclabel-dynamic-override.xml index 91fa637aef..9e21c054b0 100644 --- a/tests/qemuxml2xmloutdata/seclabel-dynamic-override.xml +++ b/tests/qemuxml2xmloutdata/seclabel-dynamic-override.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 + @@ -22,6 +23,7 @@
+ diff --git a/tests/qemuxml2xmloutdata/seclabel-dynamic-relabel.xml b/tests/= qemuxml2xmloutdata/seclabel-dynamic-relabel.xml index 9d58317a0d..067889262c 100644 --- a/tests/qemuxml2xmloutdata/seclabel-dynamic-relabel.xml +++ b/tests/qemuxml2xmloutdata/seclabel-dynamic-relabel.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/seclabel-none.xml b/tests/qemuxml2xml= outdata/seclabel-none.xml index 9d58317a0d..067889262c 100644 --- a/tests/qemuxml2xmloutdata/seclabel-none.xml +++ b/tests/qemuxml2xmloutdata/seclabel-none.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/seclabel-static-labelskip.xml b/tests= /qemuxml2xmloutdata/seclabel-static-labelskip.xml index d37b950cbf..7c448675e2 100644 --- a/tests/qemuxml2xmloutdata/seclabel-static-labelskip.xml +++ b/tests/qemuxml2xmloutdata/seclabel-static-labelskip.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 + diff --git a/tests/qemuxml2xmloutdata/seclabel-static.xml b/tests/qemuxml2x= mloutdata/seclabel-static.xml index cecc9ad487..2197104d57 100644 --- a/tests/qemuxml2xmloutdata/seclabel-static.xml +++ b/tests/qemuxml2xmloutdata/seclabel-static.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/serial-spiceport-nospice.xml b/tests/= qemuxml2xmloutdata/serial-spiceport-nospice.xml index e1d5cb9d72..560f4d2b77 100644 --- a/tests/qemuxml2xmloutdata/serial-spiceport-nospice.xml +++ b/tests/qemuxml2xmloutdata/serial-spiceport-nospice.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/serial-spiceport.xml b/tests/qemuxml2= xmloutdata/serial-spiceport.xml index ff92435afe..287f3817e1 100644 --- a/tests/qemuxml2xmloutdata/serial-spiceport.xml +++ b/tests/qemuxml2xmloutdata/serial-spiceport.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/serial-target-port-auto.xml b/tests/q= emuxml2xmloutdata/serial-target-port-auto.xml index fded758eac..cc10a55bcf 100644 --- a/tests/qemuxml2xmloutdata/serial-target-port-auto.xml +++ b/tests/qemuxml2xmloutdata/serial-target-port-auto.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/serial-tcp-tlsx509-chardev.xml b/test= s/qemuxml2xmloutdata/serial-tcp-tlsx509-chardev.xml index 76d8948204..44a5be35b4 100644 --- a/tests/qemuxml2xmloutdata/serial-tcp-tlsx509-chardev.xml +++ b/tests/qemuxml2xmloutdata/serial-tcp-tlsx509-chardev.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/smbios-multiple-type2.xml b/tests/qem= uxml2xmloutdata/smbios-multiple-type2.xml index 2a1b85851d..d3dd152aed 100644 --- a/tests/qemuxml2xmloutdata/smbios-multiple-type2.xml +++ b/tests/qemuxml2xmloutdata/smbios-multiple-type2.xml @@ -46,6 +46,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/smbios.xml b/tests/qemuxml2xmloutdata= /smbios.xml index d5f1d29610..931c291d21 100644 --- a/tests/qemuxml2xmloutdata/smbios.xml +++ b/tests/qemuxml2xmloutdata/smbios.xml @@ -51,6 +51,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/sound-device.xml b/tests/qemuxml2xmlo= utdata/sound-device.xml index 281dd1e105..62336a8c2d 100644 --- a/tests/qemuxml2xmloutdata/sound-device.xml +++ b/tests/qemuxml2xmloutdata/sound-device.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/video-qxl-heads.xml b/tests/qemuxml2x= mloutdata/video-qxl-heads.xml index 204366f181..69c625bddc 100644 --- a/tests/qemuxml2xmloutdata/video-qxl-heads.xml +++ b/tests/qemuxml2xmloutdata/video-qxl-heads.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/video-qxl-noheads.xml b/tests/qemuxml= 2xmloutdata/video-qxl-noheads.xml index be8008454b..6ba2817002 100644 --- a/tests/qemuxml2xmloutdata/video-qxl-noheads.xml +++ b/tests/qemuxml2xmloutdata/video-qxl-noheads.xml @@ -15,6 +15,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmloutdata/vmcoreinfo.xml b/tests/qemuxml2xmlout= data/vmcoreinfo.xml index a3922d6304..d0cd2f2ce9 100644 --- a/tests/qemuxml2xmloutdata/vmcoreinfo.xml +++ b/tests/qemuxml2xmloutdata/vmcoreinfo.xml @@ -18,6 +18,7 @@ /usr/bin/qemu-system-i686 +
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 2cbe0c82a7..4279a88c2e 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -378,9 +378,6 @@ mymain(void) cfg =3D virQEMUDriverGetConfig(&driver); - /* TODO: test with format probing disabled too */ - driver.config->allowDiskFormatProbing =3D true; - # define DO_TEST_FULL(name, when, gic, ...) \ do { \ if (testInfoSet(&info, name, when, gic) < 0) { \ --=20 2.16.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 14:04:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520009884195416.6271713848631; Fri, 2 Mar 2018 08:58:04 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BFBDC81E1A; Fri, 2 Mar 2018 16:58:02 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8CD656178D; Fri, 2 Mar 2018 16:58:02 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 1803F4A477; Fri, 2 Mar 2018 16:57:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w22Gvcs3008909 for ; Fri, 2 Mar 2018 11:57:38 -0500 Received: by smtp.corp.redhat.com (Postfix) id 89B61AB584; Fri, 2 Mar 2018 16:57:38 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id EB0EF946AB; Fri, 2 Mar 2018 16:57:37 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 2 Mar 2018 17:56:47 +0100 Message-Id: <41e697c1641415800794faf3f3b0b1c69003abbb.1520009664.git.pkrempa@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Peter Krempa Subject: [libvirt] [PATCH 3/7] tests: qemuxml2xml: Add proper domain status XML testing X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 02 Mar 2018 16:58:03 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add new approach to properly test status XML files by supplying a full XML file rather than generating synthetic test cases by prepending the status header. The two tests introduced here are copies of existing cases using the synthetic header so that current level of testing is kept. The files are chosen to excercise the vcpu and blockjob quirks present in the current testing. Signed-off-by: Peter Krempa Reviewed-by: John Ferlan --- tests/Makefile.am | 1 + tests/qemustatusxml2xmldata/blockjob-mirror-in.xml | 96 ++++++ .../qemustatusxml2xmldata/blockjob-mirror-out.xml | 96 ++++++ tests/qemustatusxml2xmldata/vcpus-multi-in.xml | 343 +++++++++++++++++= ++++ tests/qemustatusxml2xmldata/vcpus-multi-out.xml | 343 +++++++++++++++++= ++++ tests/qemuxml2xmltest.c | 109 ++++++- 6 files changed, 981 insertions(+), 7 deletions(-) create mode 100644 tests/qemustatusxml2xmldata/blockjob-mirror-in.xml create mode 100644 tests/qemustatusxml2xmldata/blockjob-mirror-out.xml create mode 100644 tests/qemustatusxml2xmldata/vcpus-multi-in.xml create mode 100644 tests/qemustatusxml2xmldata/vcpus-multi-out.xml diff --git a/tests/Makefile.am b/tests/Makefile.am index d794df3e5c..1f60ee0393 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -128,6 +128,7 @@ EXTRA_DIST =3D \ qemumonitorjsondata \ qemuxml2argvdata \ qemuxml2xmloutdata \ + qemustatusxml2xmloutdata \ qemumemlockdata \ secretxml2xmlin \ securityselinuxhelperdata \ diff --git a/tests/qemustatusxml2xmldata/blockjob-mirror-in.xml b/tests/qem= ustatusxml2xmldata/blockjob-mirror-in.xml new file mode 100644 index 0000000000..a22d2173e7 --- /dev/null +++ b/tests/qemustatusxml2xmldata/blockjob-mirror-in.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + +
+ + +
+ + + + + +
+ + + + diff --git a/tests/qemustatusxml2xmldata/blockjob-mirror-out.xml b/tests/qe= mustatusxml2xmldata/blockjob-mirror-out.xml new file mode 100644 index 0000000000..a22d2173e7 --- /dev/null +++ b/tests/qemustatusxml2xmldata/blockjob-mirror-out.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + +
+ + +
+ + + + + +
+ + + + diff --git a/tests/qemustatusxml2xmldata/vcpus-multi-in.xml b/tests/qemusta= tusxml2xmldata/vcpus-multi-in.xml new file mode 100644 index 0000000000..c99046ce8d --- /dev/null +++ b/tests/qemustatusxml2xmldata/vcpus-multi-in.xml @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 219100 + 288 + + hvm + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + +
+ + + + + + + + + + diff --git a/tests/qemustatusxml2xmldata/vcpus-multi-out.xml b/tests/qemust= atusxml2xmldata/vcpus-multi-out.xml new file mode 100644 index 0000000000..c99046ce8d --- /dev/null +++ b/tests/qemustatusxml2xmldata/vcpus-multi-out.xml @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 219100 + 288 + + hvm + + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + +
+ + + + + + + + + + diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 4279a88c2e..cf9288db72 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -184,7 +184,7 @@ testProcessStatusXML(virDomainObjPtr vm) static int -testCompareStatusXMLToXMLFiles(const void *opaque) +testCompareStatusXMLToXMLOldFiles(const void *opaque) { const struct testInfo *data =3D opaque; virBuffer buf =3D VIR_BUFFER_INITIALIZER; @@ -277,6 +277,44 @@ testCompareStatusXMLToXMLFiles(const void *opaque) } +static int +testCompareStatusXMLToXMLFiles(const void *opaque) +{ + const struct testInfo *data =3D opaque; + virDomainObjPtr obj =3D NULL; + char *actual =3D NULL; + int ret =3D -1; + + if (!(obj =3D virDomainObjParseFile(data->inName, driver.caps, driver.= xmlopt, + VIR_DOMAIN_DEF_PARSE_STATUS | + VIR_DOMAIN_DEF_PARSE_ACTUAL_NET | + VIR_DOMAIN_DEF_PARSE_PCI_ORIG_STATES= | + VIR_DOMAIN_DEF_PARSE_SKIP_OSTYPE_CHE= CKS | + VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE | + VIR_DOMAIN_DEF_PARSE_ALLOW_POST_PARS= E_FAIL))) + goto cleanup; + + if (!(actual =3D virDomainObjFormat(driver.xmlopt, obj, NULL, + VIR_DOMAIN_DEF_FORMAT_SECURE | + VIR_DOMAIN_DEF_FORMAT_STATUS | + VIR_DOMAIN_DEF_FORMAT_ACTUAL_NET | + VIR_DOMAIN_DEF_FORMAT_PCI_ORIG_STATE= S | + VIR_DOMAIN_DEF_FORMAT_CLOCK_ADJUST))) + + goto cleanup; + + if (virTestCompareToFile(actual, data->outActiveName) < 0) + goto cleanup; + + ret =3D 0; + + cleanup: + virObjectUnref(obj); + VIR_FREE(actual); + return ret; +} + + static void testInfoClear(struct testInfo *info) { @@ -292,10 +330,8 @@ testInfoClear(struct testInfo *info) static int -testInfoSet(struct testInfo *info, - const char *name, - int when, - int gic) +testInfoSetCommon(struct testInfo *info, + int gic) { if (!(info->qemuCaps =3D virQEMUCapsNew())) goto error; @@ -306,6 +342,23 @@ testInfoSet(struct testInfo *info, if (qemuTestCapsCacheInsert(driver.qemuCapsCache, info->qemuCaps) < 0) goto error; + return 0; + + error: + testInfoClear(info); + return -1; +} + + +static int +testInfoSet(struct testInfo *info, + const char *name, + int when, + int gic) +{ + if (testInfoSetCommon(info, gic) < 0) + return -1; + if (virAsprintf(&info->inName, "%s/qemuxml2argvdata/%s.xml", abs_srcdir, name) < 0) goto error; @@ -349,6 +402,29 @@ testInfoSet(struct testInfo *info, return -1; } + +static const char *statusPath =3D abs_srcdir "/qemustatusxml2xmldata/"; + +static int +testInfoSetStatus(struct testInfo *info, + const char *name, + int gic) +{ + if (testInfoSetCommon(info, gic) < 0) + return -1; + + if (virAsprintf(&info->inName, "%s%s-in.xml", statusPath, name) < 0 || + virAsprintf(&info->outActiveName, "%s%s-out.xml", statusPath, name= ) < 0) + goto error; + + return 0; + + error: + testInfoClear(info); + return -1; +} + + # define FAKEROOTDIRTEMPLATE abs_builddir "/fakerootdir-XXXXXX" static int @@ -397,8 +473,8 @@ mymain(void) testXML2XMLActive, &info) < 0) \ ret =3D -1; \ \ - if (virTestRun("QEMU XML-2-XML-status " name, \ - testCompareStatusXMLToXMLFiles, &info) < 0) \ + if (virTestRun("QEMU XML-2-XML-status (old)" name, \ + testCompareStatusXMLToXMLOldFiles, &info) < 0)= \ ret =3D -1; \ } \ testInfoClear(&info); \ @@ -1341,6 +1417,25 @@ mymain(void) DO_TEST("user-aliases", NONE); + +# define DO_TEST_STATUS(name) \ + do { \ + if (testInfoSetStatus(&info, name, GIC_NONE) < 0) { \ + VIR_TEST_DEBUG("Failed to generate status test data for '%s'",= name); \ + return -1; \ + } \ + \ + if (virTestRun("QEMU status XML-2-XML " name, \ + testCompareStatusXMLToXMLFiles, &info) < 0) \ + ret =3D -1; \ +\ + testInfoClear(&info); \ + } while (0) + + + DO_TEST_STATUS("blockjob-mirror"); + DO_TEST_STATUS("vcpus-multi"); + if (getenv("LIBVIRT_SKIP_CLEANUP") =3D=3D NULL) virFileDeleteTree(fakerootdir); --=20 2.16.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 14:04:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520009873101410.6408948503389; Fri, 2 Mar 2018 08:57:53 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8BF425AFC4; Fri, 2 Mar 2018 16:57:51 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5ABB42AE62; Fri, 2 Mar 2018 16:57:51 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 0AC6118033F9; Fri, 2 Mar 2018 16:57:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w22GvdF4008918 for ; Fri, 2 Mar 2018 11:57:39 -0500 Received: by smtp.corp.redhat.com (Postfix) id 44450946AB; Fri, 2 Mar 2018 16:57:39 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id C2DAFA9FB8; Fri, 2 Mar 2018 16:57:38 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 2 Mar 2018 17:56:48 +0100 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Peter Krempa Subject: [libvirt] [PATCH 4/7] tests: qemuxml2xml: Remove fake status XML testing X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 02 Mar 2018 16:57:52 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Now that the better approach is in place we can remove the old functions doing the fake formatting. Signed-off-by: Peter Krempa Reviewed-by: John Ferlan --- tests/qemuxml2xmltest.c | 218 +-------------------------------------------= ---- 1 file changed, 1 insertion(+), 217 deletions(-) diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index cf9288db72..980d7fb0b3 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -39,29 +39,6 @@ struct testInfo { virQEMUCapsPtr qemuCaps; }; -static int -qemuXML2XMLActivePreFormatCallback(virDomainDefPtr def, - const void *opaque) -{ - struct testInfo *info =3D (struct testInfo *) opaque; - size_t i; - - /* store vCPU bitmap so that the status XML can be created faithfully = */ - if (!info->activeVcpus) - info->activeVcpus =3D virDomainDefGetOnlineVcpumap(def); - - info->blockjobs =3D false; - - /* remember whether we have mirror jobs */ - for (i =3D 0; i < def->ndisks; i++) { - if (def->disks[i]->mirror) { - info->blockjobs =3D true; - break; - } - } - - return 0; -} static int testXML2XMLActive(const void *opaque) @@ -70,7 +47,7 @@ testXML2XMLActive(const void *opaque) return testCompareDomXML2XMLFiles(driver.caps, driver.xmlopt, info->inName, info->outActiveName, t= rue, - qemuXML2XMLActivePreFormatCallback, + NULL, opaque, 0, TEST_COMPARE_DOM_XML2XML_RESULT_SUCC= ESS); } @@ -88,195 +65,6 @@ testXML2XMLInactive(const void *opaque) } -static const char testStatusXMLPrefixHeader[] =3D -"\n" -" \n" -" \n"; - -static const char testStatusXMLPrefixBodyStatic[] =3D -"\n" -" \n" -" \n" -" \n" -" \n" -"\n" -"\n" -" \n" -" \n" -" \n" -" \n" -" \n" -"\n" -"\n" -"\n" -"\n" -"\n"; - -static const char testStatusXMLSuffix[] =3D -"\n"; - - -static void -testGetStatuXMLPrefixVcpus(virBufferPtr buf, - const struct testInfo *data) -{ - ssize_t vcpuid =3D -1; - - virBufferAddLit(buf, "\n"); - virBufferAdjustIndent(buf, 2); - - /* Make sure we can format the fake vcpu list. The test will fail rega= rdles. */ - if (data->activeVcpus) { - while ((vcpuid =3D virBitmapNextSetBit(data->activeVcpus, vcpuid))= >=3D 0) - virBufferAsprintf(buf, "\n", - vcpuid, vcpuid + 3803519); - } - - virBufferAdjustIndent(buf, -2); - virBufferAddLit(buf, "\n"); -} - - -static void -testGetStatusXMLAddBlockjobs(virBufferPtr buf, - const struct testInfo *data) -{ - virBufferAsprintf(buf, "\n", - virTristateBoolTypeToString(virTristateBoolFromBool(= data->blockjobs))); -} - - -static char * -testGetStatusXMLPrefix(const struct testInfo *data) -{ - virBuffer buf =3D VIR_BUFFER_INITIALIZER; - - virBufferAdd(&buf, testStatusXMLPrefixHeader, -1); - virBufferAdjustIndent(&buf, 2); - - testGetStatuXMLPrefixVcpus(&buf, data); - - virBufferAddStr(&buf, testStatusXMLPrefixBodyStatic); - - testGetStatusXMLAddBlockjobs(&buf, data); - - virBufferAdjustIndent(&buf, -2); - - return virBufferContentAndReset(&buf); -} - - -static int -testProcessStatusXML(virDomainObjPtr vm) -{ - size_t i; - - /* fix the private 'blockjob' flag for disks */ - for (i =3D 0; i < vm->def->ndisks; i++) { - virDomainDiskDefPtr disk =3D vm->def->disks[i]; - qemuDomainDiskPrivatePtr diskPriv =3D QEMU_DOMAIN_DISK_PRIVATE(dis= k); - - diskPriv->blockjob =3D !!disk->mirror; - } - - return 0; -} - - -static int -testCompareStatusXMLToXMLOldFiles(const void *opaque) -{ - const struct testInfo *data =3D opaque; - virBuffer buf =3D VIR_BUFFER_INITIALIZER; - xmlDocPtr xml =3D NULL; - virDomainObjPtr obj =3D NULL; - char *expect =3D NULL; - char *actual =3D NULL; - char *source =3D NULL; - char *header =3D NULL; - char *inFile =3D NULL, *outActiveFile =3D NULL; - int ret =3D -1; - int keepBlanksDefault =3D xmlKeepBlanksDefault(0); - - if (virTestLoadFile(data->inName, &inFile) < 0) - goto cleanup; - if (virTestLoadFile(data->outActiveName, &outActiveFile) < 0) - goto cleanup; - - if (!(header =3D testGetStatusXMLPrefix(data))) - goto cleanup; - - /* construct faked source status XML */ - virBufferAdd(&buf, header, -1); - virBufferAdjustIndent(&buf, 2); - virBufferAddStr(&buf, inFile); - virBufferAdjustIndent(&buf, -2); - virBufferAdd(&buf, testStatusXMLSuffix, -1); - - if (!(source =3D virBufferContentAndReset(&buf))) { - VIR_TEST_DEBUG("Failed to create the source XML"); - goto cleanup; - } - - /* construct the expect string */ - virBufferAdd(&buf, header, -1); - virBufferAdjustIndent(&buf, 2); - virBufferAddStr(&buf, outActiveFile); - virBufferAdjustIndent(&buf, -2); - virBufferAdd(&buf, testStatusXMLSuffix, -1); - - if (!(expect =3D virBufferContentAndReset(&buf))) { - VIR_TEST_DEBUG("Failed to create the expect XML"); - goto cleanup; - } - - /* parse the fake source status XML */ - if (!(xml =3D virXMLParseString(source, "(domain_status_test_XML)")) || - !(obj =3D virDomainObjParseNode(xml, xmlDocGetRootElement(xml), - driver.caps, driver.xmlopt, - VIR_DOMAIN_DEF_PARSE_STATUS | - VIR_DOMAIN_DEF_PARSE_ACTUAL_NET | - VIR_DOMAIN_DEF_PARSE_PCI_ORIG_STATES= ))) { - VIR_TEST_DEBUG("Failed to parse domain status XML:\n%s", source); - goto cleanup; - } - - /* process the definition if necessary */ - if (testProcessStatusXML(obj) < 0) - goto cleanup; - - /* format it back */ - if (!(actual =3D virDomainObjFormat(driver.xmlopt, obj, NULL, - VIR_DOMAIN_DEF_FORMAT_SECURE))) { - VIR_TEST_DEBUG("Failed to format domain status XML"); - goto cleanup; - } - - if (STRNEQ(actual, expect)) { - /* For status test we don't want to regenerate output to not - * add the status data.*/ - virTestDifferenceFullNoRegenerate(stderr, - expect, data->outActiveName, - actual, data->inName); - goto cleanup; - } - - ret =3D 0; - - cleanup: - xmlKeepBlanksDefault(keepBlanksDefault); - xmlFreeDoc(xml); - virObjectUnref(obj); - VIR_FREE(expect); - VIR_FREE(actual); - VIR_FREE(source); - VIR_FREE(inFile); - VIR_FREE(header); - VIR_FREE(outActiveFile); - return ret; -} - - static int testCompareStatusXMLToXMLFiles(const void *opaque) { @@ -472,10 +260,6 @@ mymain(void) if (virTestRun("QEMU XML-2-XML-active " name, \ testXML2XMLActive, &info) < 0) \ ret =3D -1; \ - \ - if (virTestRun("QEMU XML-2-XML-status (old)" name, \ - testCompareStatusXMLToXMLOldFiles, &info) < 0)= \ - ret =3D -1; \ } \ testInfoClear(&info); \ } while (0) --=20 2.16.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 14:04:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520009866438862.3003530385773; Fri, 2 Mar 2018 08:57:46 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CDFFE2BBE03; Fri, 2 Mar 2018 16:57:44 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9E5C75C7AA; Fri, 2 Mar 2018 16:57:44 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 8C5EA4A477; Fri, 2 Mar 2018 16:57:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w22GvejM008930 for ; Fri, 2 Mar 2018 11:57:40 -0500 Received: by smtp.corp.redhat.com (Postfix) id F3BECAB585; Fri, 2 Mar 2018 16:57:39 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7DB12AB584; Fri, 2 Mar 2018 16:57:39 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 2 Mar 2018 17:56:49 +0100 Message-Id: <45da3d8abfa704b58368cb2feccca31bb4fab110.1520009664.git.pkrempa@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Peter Krempa Subject: [libvirt] [PATCH 5/7] tests: util: Remove callback from testCompareDomXML2XMLFiles X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 02 Mar 2018 16:57:45 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" The testCompareDomXML2XMLPreFormatCallback is no longer used and thus can be removed. Signed-off-by: Peter Krempa Reviewed-by: John Ferlan --- tests/genericxml2xmltest.c | 2 +- tests/lxcxml2xmltest.c | 2 +- tests/qemuxml2xmltest.c | 5 ++--- tests/testutils.c | 8 +------- tests/testutils.h | 5 ----- 5 files changed, 5 insertions(+), 17 deletions(-) diff --git a/tests/genericxml2xmltest.c b/tests/genericxml2xmltest.c index c33fce1922..d8270a6cae 100644 --- a/tests/genericxml2xmltest.c +++ b/tests/genericxml2xmltest.c @@ -40,7 +40,7 @@ testCompareXMLToXMLHelper(const void *data) ret =3D testCompareDomXML2XMLFiles(caps, xmlopt, xml_in, info->different ? xml_out : xml_in, - !info->inactive_only, NULL, NULL, 0, + !info->inactive_only, 0, info->expectResult); cleanup: VIR_FREE(xml_in); diff --git a/tests/lxcxml2xmltest.c b/tests/lxcxml2xmltest.c index 57751a5773..3b96862c62 100644 --- a/tests/lxcxml2xmltest.c +++ b/tests/lxcxml2xmltest.c @@ -46,7 +46,7 @@ testCompareXMLToXMLHelper(const void *data) ret =3D testCompareDomXML2XMLFiles(caps, xmlopt, xml_in, info->different ? xml_out : xml_in, !info->inactive_only, - NULL, NULL, info->parse_flags, + info->parse_flags, TEST_COMPARE_DOM_XML2XML_RESULT_SUCCE= SS); cleanup: VIR_FREE(xml_in); diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 980d7fb0b3..ce4dae49c3 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -47,8 +47,7 @@ testXML2XMLActive(const void *opaque) return testCompareDomXML2XMLFiles(driver.caps, driver.xmlopt, info->inName, info->outActiveName, t= rue, - NULL, - opaque, 0, + 0, TEST_COMPARE_DOM_XML2XML_RESULT_SUCC= ESS); } @@ -60,7 +59,7 @@ testXML2XMLInactive(const void *opaque) return testCompareDomXML2XMLFiles(driver.caps, driver.xmlopt, info->in= Name, info->outInactiveName, false, - NULL, opaque, 0, + 0, TEST_COMPARE_DOM_XML2XML_RESULT_SUCC= ESS); } diff --git a/tests/testutils.c b/tests/testutils.c index 17959aaf4f..040ef1d2f7 100644 --- a/tests/testutils.c +++ b/tests/testutils.c @@ -1241,8 +1241,7 @@ virDomainXMLOptionPtr virTestGenericDomainXMLConfInit= (void) int testCompareDomXML2XMLFiles(virCapsPtr caps, virDomainXMLOptionPtr xmlopt, const char *infile, const char *outfile, bool l= ive, - testCompareDomXML2XMLPreFormatCallback cb, - const void *opaque, unsigned int parseFlags, + unsigned int parseFlags, testCompareDomXML2XMLResult expectResult) { char *actual =3D NULL; @@ -1273,11 +1272,6 @@ testCompareDomXML2XMLFiles(virCapsPtr caps, virDomai= nXMLOptionPtr xmlopt, goto out; } - if (cb && cb(def, opaque) < 0) { - result =3D TEST_COMPARE_DOM_XML2XML_RESULT_FAIL_CB; - goto out; - } - if (!(actual =3D virDomainDefFormat(def, caps, format_flags))) { result =3D TEST_COMPARE_DOM_XML2XML_RESULT_FAIL_FORMAT; goto out; diff --git a/tests/testutils.h b/tests/testutils.h index 668a79d95c..d840875bc1 100644 --- a/tests/testutils.h +++ b/tests/testutils.h @@ -153,20 +153,15 @@ typedef enum { TEST_COMPARE_DOM_XML2XML_RESULT_SUCCESS, TEST_COMPARE_DOM_XML2XML_RESULT_FAIL_PARSE, TEST_COMPARE_DOM_XML2XML_RESULT_FAIL_STABILITY, - TEST_COMPARE_DOM_XML2XML_RESULT_FAIL_CB, TEST_COMPARE_DOM_XML2XML_RESULT_FAIL_FORMAT, TEST_COMPARE_DOM_XML2XML_RESULT_FAIL_COMPARE, } testCompareDomXML2XMLResult; -typedef int (*testCompareDomXML2XMLPreFormatCallback)(virDomainDefPtr def, - const void *opaque); int testCompareDomXML2XMLFiles(virCapsPtr caps, virDomainXMLOptionPtr xmlopt, const char *inxml, const char *outfile, bool live, - testCompareDomXML2XMLPreFormatCallback cb, - const void *opaque, unsigned int parseFlags, testCompareDomXML2XMLResult expectResult); --=20 2.16.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 14:04:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520009876867642.6015776626539; Fri, 2 Mar 2018 08:57:56 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7A098C0567B3; Fri, 2 Mar 2018 16:57:55 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4C0EC5D978; Fri, 2 Mar 2018 16:57:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7020918033FD; Fri, 2 Mar 2018 16:57:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w22GvecF008936 for ; Fri, 2 Mar 2018 11:57:41 -0500 Received: by smtp.corp.redhat.com (Postfix) id CD960946AB; Fri, 2 Mar 2018 16:57:40 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id 39D47AB588; Fri, 2 Mar 2018 16:57:40 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 2 Mar 2018 17:56:50 +0100 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Peter Krempa Subject: [libvirt] [PATCH 6/7] tests: qemuxml2xml: Add modern example of status XML to the test X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 02 Mar 2018 16:57:55 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: John Ferlan --- tests/qemustatusxml2xmldata/modern-in.xml | 443 +++++++++++++++++++++++++= ++++ tests/qemustatusxml2xmldata/modern-out.xml | 443 +++++++++++++++++++++++++= ++++ tests/qemuxml2xmltest.c | 1 + 3 files changed, 887 insertions(+) create mode 100644 tests/qemustatusxml2xmldata/modern-in.xml create mode 100644 tests/qemustatusxml2xmldata/modern-out.xml diff --git a/tests/qemustatusxml2xmldata/modern-in.xml b/tests/qemustatusxm= l2xmldata/modern-in.xml new file mode 100644 index 0000000000..be12da7314 --- /dev/null +++ b/tests/qemustatusxml2xmldata/modern-in.xml @@ -0,0 +1,443 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + upstream + dcf47dbd-46d1-4d5b-b442-262a806a333a + 1024000 + 1024000 + + + + 8 + + + + + /machine + + + hvm + + + + + + + + + + + + + + + + + + + destroy + restart + restart + + + + + + /usr/bin/qemu-system-x86_64 + + + + + + + + base.qcow2 + + + + + + +
+ + + + + + + + + +
+ + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + + +
+ + + +
+ + + +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+ + + +
+ + + + + + + + + + + + + +
+ +