]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemustatusxml2xmltest: Add test data for testing '<origstates>' of PCI hostdev
authorPeter Krempa <pkrempa@redhat.com>
Thu, 2 Feb 2023 14:54:09 +0000 (15:54 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Feb 2023 08:14:00 +0000 (09:14 +0100)
commite506b0ad37f5e0c8855b0fb04c42064d688f8f2d
treef9bd2286e781ea6549ba711dbe4ca637c828c575
parentf836947a918edef5ef0b633ac727c983692af62a
qemustatusxml2xmltest: Add test data for testing '<origstates>' of PCI hostdev

The <origstates> XML element captures private data of a PCI device
needed to restore it after a VM is started. Unfortunately at the point
when it was added we didn't yet have the existing private data
infrastructure.

Since the element is parsed only in cases similar to the status XML we
need to test it there.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tests/qemustatusxml2xmldata/modern-in.xml