Devel
Threads by month
- ----- 2026 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- 29 participants
- 40553 discussions
[PATCH 00/23] qemu XML testing improvements, part 2 - enforcement of xml->xml testing
by Peter Krempa 17 Jan '24
by Peter Krempa 17 Jan '24
17 Jan '24
TL;DR: Patch 23/23 is optional, read below!
This patch saga aims to improve and simplify testing of qemu XML
configs.
Part 1 ensured that all input XMLs are invoked from qemuxml2argvtest
In part 2 I've focused on untangling xml->xml testing, explaining and
cleaning up cases which don't make sense and finally strictly enforcing
a xml->xml invocation for each xml->argv invocation.
The last part is done by merging xml->xml testing into qemuxml2argvtest.
As a final, but optional step qemuxml2argvtest is then renamed to
qemuxmlconftest to avoid confsion. I can understand that muscle memory
can be hard to change, and thus this step is optional and I have no
problem in dropping that patch.
This had negligible impact on the run-time of
qemuxml2argvtest(qemuxmlconftest):
Before:
Benchmark 1: ./tests/qemuxml2argvtest
Time (mean ± σ): 1.709 s ± 0.023 s [User: 1.461 s, System: 0.236 s]
Range (min … max): 1.672 s … 1.744 s 10 runs
Benchmark 1: ./tests/qemuxml2xmltest
Time (mean ± σ): 671.2 ms ± 11.9 ms [User: 591.7 ms, System: 75.0 ms]
Range (min … max): 656.3 ms … 684.9 ms 10 runs
After:
Benchmark 1: ./tests/qemuxmlconftest
Time (mean ± σ): 1.748 s ± 0.024 s [User: 1.500 s, System: 0.236 s]
Range (min … max): 1.721 s … 1.788 s 10 runs
Part 3 will then deal with ensuring that libvirt-generated XML can be
parsed back and formatted identically, including fixes to ensure that it
is actually the case. Parsing the libvirt-generated XML, formatting it
back and checking it for identity can expose problems in formatting of
auto-filled values (I've caught one such case in review, but not with
the test, but rather with seing that the code is broken).
Peter Krempa (23):
virschematest: Add possibility to have exceptions from the '-invalid'
suffix
qemuxml2xmltest: Add invocation for 'numatune-auto-nodeset-invalid'
case
qemuxmlargvdata: disk-network-nfs: Drop 'index' attribute from backing
store
qemuxml2xmltest: Use same parameters as in qemuxml2argvtest for
'riscv64-virt'
testCompareDomXML2XMLFiles: Sanitize handling of 'parse_flags'
tests: Rename 'qemustatusxml2xmltest' to 'qemuxmlactivetest'
testutilsqemu: Create a typedef for struct testQemuInfo
qemu*xml2*test: Invoke tests from a function
qemuxmlactivetest: Prepare for proper active/inactive ->
active/inactive testing
qemuxmlactivetest: Add qemu active XML to active/inactive XML tests
qemuxml2xmltest: Parse all input files as inactive
qemuxml2*test: Remove FLAG_SKIP_CONFIG_ACTIVE flag
qemuxml2xmltest: Remove pointless inactive->active testing
qemuxml2argvtest: Remove unused separate parsing of arch
qemuxml2argvtest: Use virDomainDefParseFile instead of
virXMLParse+virDomainDefParseNode
qemuxml2argvtest: Setup fake driver only once
qemuxml2argvtest: Extract setup/parse step
qemuxml2argvtest: Add parsing of the input XML as separate test
qemuxml2argvtest: Test (inactive) def -> xml conversion
tests: Remove qemuxml2xmltest
qemuxml2argvtest: Populate all outstanding def->xml cases
meson: tests: Allow 'timeout' override for all tests
tests: Rename 'qemuxml2argvtest' to 'qemuxmlconftest'
docs/advanced-tests.rst | 12 +-
src/conf/domain_conf.c | 2 +
src/util/virsecret.c | 2 +-
tests/meson.build | 13 +-
tests/qemucapabilitiesdata/README.rst | 4 +-
tests/qemustatusxml2xmltest.c | 130 ---
tests/qemuxml2argvdata/disk-network-nfs.xml | 2 +-
.../qemuxml2argvdata/mach-virt-serial-usb.xml | 2 +-
tests/qemuxml2argvdata/pseries-serial-usb.xml | 2 +-
...aarch64-cpu-passthrough.aarch64-latest.xml | 42 +
.../aarch64-features-wrong.aarch64-latest.xml | 28 +
.../aarch64-gic-default.aarch64-4.2.0.xml | 26 +
.../aarch64-gic-none.aarch64-4.2.0.xml | 26 +
.../aarch64-kvm-32-on-64.aarch64-latest.xml | 64 +
...arch64-virt-default-nic.aarch64-latest.xml | 44 +
...arch64-virt-virtio-MMIO.aarch64.latest.xml | 63 +
.../aarch64-virt-virtio.aarch64-4.2.0.xml | 94 ++
.../aarch64-virt-virtio.aarch64-latest.xml | 94 ++
...rch64-virtio-pci-default.aarch64-4.2.0.xml | 94 ++
.../arm-vexpressa9-basic.aarch64-latest.xml | 46 +
.../arm-vexpressa9-nodevs.aarch64-latest.xml | 31 +
.../arm-vexpressa9-virtio.aarch64-latest.xml | 61 +
.../arm-virt-virtio.aarch64-latest.xml | 95 ++
.../audio-default-sdl.x86_64-4.2.0.xml | 44 +
.../audio-default-spice.x86_64-4.2.0.xml | 46 +
.../audio-default-vnc.x86_64-4.2.0.xml | 46 +
.../audio-jack-minimal.x86_64-latest.xml | 39 +
.../balloon-ccw-deflate.s390x-latest.xml | 27 +
...lloon-device-deflate-off.x86_64-latest.xml | 40 +
.../balloon-device-deflate.x86_64-latest.xml | 40 +
.../balloon-device.x86_64-latest.xml | 40 +
.../balloon-mmio-deflate.aarch64-latest.xml | 34 +
.../boot-complex.x86_64-latest.xml | 89 ++
.../boot-menu-disable-drive.x86_64-latest.xml | 42 +
.../boot-menu-enable.x86_64-latest.xml | 42 +
.../channel-spicevmc.x86_64-latest.xml | 55 +
.../channel-unix-guestfwd.x86_64-latest.xml | 42 +
...hannel-unix-source-path.x86_64-latest.xml} | 0
.../channel-virtio-autoadd.x86_64-latest.xml | 70 ++
...hannel-virtio-autoassign.x86_64-latest.xml | 70 ++
.../channel-virtio-default.x86_64-latest.xml | 61 +
...=> channel-virtio-state.x86_64-latest.xml} | 0
.../channel-virtio-unix.x86_64-latest.xml | 60 +
.../chardev-reconnect.x86_64-latest.xml | 72 ++
.../clock-france.x86_64-latest.xml | 40 +
.../clock-hpet-off.x86_64-7.2.0.xml | 44 +
.../clock-hpet-off.x86_64-latest.xml | 44 +
...ocaltime-basis-localtime.x86_64-latest.xml | 40 +
.../clock-variable.x86_64-latest.xml | 40 +
.../console-compat-chardev.x86_64-latest.xml | 48 +
.../console-sclp.s390x-latest.xml | 36 +
.../console-virtio-ccw.s390x-latest.xml | 39 +
.../console-virtio-unix.x86_64-latest.xml | 45 +
.../controller-order.x86_64-latest.xml | 98 ++
.../cpu-Haswell-noTSX.x86_64-latest.xml | 31 +
.../cpu-Haswell.x86_64-latest.xml | 31 +
.../cpu-Haswell2.x86_64-latest.xml | 33 +
.../cpu-Haswell3.x86_64-latest.xml | 33 +
.../cpu-cache-disable.x86_64-latest.xml | 31 +
.../cpu-cache-disable3.x86_64-latest.xml | 31 +
.../cpu-cache-emulate-l3.x86_64-latest.xml | 31 +
.../cpu-cache-passthrough.x86_64-latest.xml | 31 +
.../cpu-exact1.x86_64-latest.xml | 38 +
.../cpu-exact2-nofallback.x86_64-latest.xml | 45 +
.../cpu-exact2.x86_64-latest.xml | 45 +
.../cpu-fallback.x86_64-5.2.0.xml | 40 +
.../cpu-fallback.x86_64-8.0.0.xml | 40 +
.../cpu-host-model-cmt.x86_64-latest.xml | 29 +
...u-host-model-fallback-kvm.x86_64-4.2.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-5.0.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-5.1.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-5.2.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-6.0.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-6.1.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-6.2.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-7.0.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-7.1.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-7.2.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-8.0.0.xml | 29 +
...u-host-model-fallback-kvm.x86_64-8.1.0.xml | 29 +
...-host-model-fallback-kvm.x86_64-latest.xml | 29 +
...u-host-model-fallback-tcg.x86_64-4.2.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-5.0.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-5.1.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-5.2.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-6.0.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-6.1.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-6.2.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-7.0.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-7.1.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-7.2.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-8.0.0.xml | 29 +
...u-host-model-fallback-tcg.x86_64-8.1.0.xml | 29 +
...-host-model-fallback-tcg.x86_64-latest.xml | 29 +
.../cpu-host-model-kvm.x86_64-4.2.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-5.0.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-5.1.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-5.2.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-6.0.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-6.1.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-6.2.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-7.0.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-7.1.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-7.2.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-8.0.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-8.1.0.xml | 48 +
.../cpu-host-model-kvm.x86_64-latest.xml | 48 +
...host-model-nofallback-kvm.x86_64-4.2.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-5.0.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-5.1.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-5.2.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-6.0.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-6.1.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-6.2.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-7.0.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-7.1.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-7.2.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-8.0.0.xml | 29 +
...host-model-nofallback-kvm.x86_64-8.1.0.xml | 29 +
...ost-model-nofallback-kvm.x86_64-latest.xml | 29 +
...host-model-nofallback-tcg.x86_64-4.2.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-5.0.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-5.1.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-5.2.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-6.0.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-6.1.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-6.2.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-7.0.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-7.1.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-7.2.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-8.0.0.xml | 29 +
...host-model-nofallback-tcg.x86_64-8.1.0.xml | 29 +
...ost-model-nofallback-tcg.x86_64-latest.xml | 29 +
.../cpu-host-model-tcg.x86_64-4.2.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-5.0.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-5.1.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-5.2.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-6.0.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-6.1.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-6.2.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-7.0.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-7.1.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-7.2.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-8.0.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-8.1.0.xml | 48 +
.../cpu-host-model-tcg.x86_64-latest.xml | 48 +
.../cpu-host-passthrough.x86_64-latest.xml | 29 +
.../cpu-hotplug-startup.x86_64-latest.xml | 40 +
.../cpu-minimum1.x86_64-latest.xml | 31 +
.../cpu-minimum2.x86_64-latest.xml | 35 +
.../cpu-no-removed-features.x86_64-latest.xml | 33 +
.../cpu-nofallback.x86_64-5.2.0.xml | 40 +
.../cpu-nofallback.x86_64-8.0.0.xml | 40 +
.../cpu-phys-bits-emulate.x86_64-latest.xml | 31 +
.../cpu-phys-bits-emulate2.x86_64-latest.xml | 31 +
...pu-phys-bits-passthrough.x86_64-latest.xml | 31 +
...pu-qemu-host-passthrough.x86_64-latest.xml | 29 +
.../cpu-s390-features.s390x-latest.xml | 27 +
.../cpu-s390-zEC12.s390x-latest.xml | 25 +
.../cpu-strict1.x86_64-latest.xml | 58 +
.../cpu-topology1.x86_64-latest.xml | 32 +
.../cpu-topology2.x86_64-latest.xml | 32 +
.../cpu-topology3.x86_64-latest.xml | 32 +
.../cpu-topology4.x86_64-latest.xml | 32 +
.../cpu-translation.x86_64-latest.xml | 44 +
.../cpu-tsc-frequency.x86_64-latest.xml | 41 +
...l => disk-active-commit.x86_64-latest.xml} | 0
...sk-backing-chains-index.x86_64-latest.xml} | 0
...network-invalid-inactive.x86_64-latest.xml | 1 -
...m-empty-network-invalid.x86_64-latest.xml} | 0
...isk-cdrom-network-nbdkit.x86_64-latest.xml | 72 ++
.../disk-cdrom-tray.x86_64-latest.xml | 56 +
.../disk-device-removable.x86_64-latest.xml | 54 +
.../disk-error-policy-s390x.s390x-latest.xml | 43 +
.../disk-floppy-pseries.ppc64-latest.xml | 44 +
.../disk-floppy-q35.x86_64-latest.xml | 56 +
.../disk-floppy-tray.x86_64-latest.xml | 53 +
.../disk-geometry.x86_64-latest.xml | 41 +
.../disk-ide-split.x86_64-latest.xml | 47 +
.../disk-ide-wwn.x86_64-latest.xml | 42 +
.../disk-ioeventfd.x86_64-latest.xml | 58 +
....xml => disk-mirror-old.x86_64-latest.xml} | 0
...test.xml => disk-mirror.x86_64-latest.xml} | 0
...disk-network-http-nbdkit.x86_64-latest.xml | 72 ++
.../disk-network-nfs.x86_64-latest.xml | 2 +-
...isk-network-rbd-no-colon.x86_64-latest.xml | 50 +
.../disk-network-sheepdog.x86_64-6.0.0.xml | 46 +
...rce-curl-nbdkit-backing.x86_64-latest.xml} | 31 +-
...twork-source-curl-nbdkit.x86_64-latest.xml | 96 ++
...disk-network-source-curl.x86_64-latest.xml | 96 ++
.../disk-network-ssh-key.x86_64-latest.xml | 49 +
.../disk-network-ssh-nbdkit.x86_64-latest.xml | 38 +
...isk-network-ssh-password.x86_64-latest.xml | 41 +
.../disk-network-ssh.x86_64-latest.xml | 38 +
.../disk-network-tlsx509-nbd.x86_64-5.2.0.xml | 37 +
.../disk-no-boot.x86_64-latest.xml | 54 +
.../disk-order.x86_64-latest.xml | 59 +
.../disk-readonly-disk.x86_64-latest.xml | 47 +
.../disk-scsi-disk-split.x86_64-latest.xml | 69 ++
.../disk-scsi-disk-wwn.x86_64-latest.xml | 53 +
...isk-scsi-lun-passthrough.x86_64-latest.xml | 49 +
.../disk-shared.x86_64-latest.xml | 66 ++
.../disk-snapshot.x86_64-latest.xml | 53 +
.../disk-vhostuser-numa.x86_64-4.2.0.xml | 48 +
.../disk-vhostuser-numa.x86_64-latest.xml | 48 +
.../disk-vhostvdpa.x86_64-latest.xml | 40 +
.../disk-virtio-ccw-many.s390x-latest.xml | 51 +
.../disk-virtio-ccw.s390x-latest.xml | 39 +
...-virtio-scsi-reservations.x86_64-5.2.0.xml | 53 +
.../fips-enabled.x86_64-5.1.0.xml | 40 +
.../fips-enabled.x86_64-latest.xml | 40 +
.../fs9p-ccw.s390x-latest.xml | 50 +
.../qemuxml2xmloutdata/fs9p.x86_64-latest.xml | 44 +
...atest.xml => genid-auto.x86_64-latest.xml} | 0
..._64-latest.xml => genid.x86_64-latest.xml} | 0
.../graphics-dbus-usbredir.x86_64-latest.xml | 42 +
.../graphics-egl-headless.x86_64-latest.xml | 42 +
...cs-spice-agent-file-xfer.x86_64-latest.xml | 48 +
...raphics-spice-agentmouse.x86_64-latest.xml | 50 +
...spice-gl-auto-rendernode.x86_64-latest.xml | 39 +
.../graphics-spice-no-args.x86_64-latest.xml | 38 +
.../graphics-spice-sasl.x86_64-latest.xml | 41 +
...graphics-spice-usb-redir.x86_64-latest.xml | 66 ++
.../graphics-vnc-none.x86_64-latest.xml | 39 +
.../graphics-vnc-policy.x86_64-latest.xml | 45 +
.../graphics-vnc-power.x86_64-latest.xml | 45 +
...remove-generated-socket.x86_64-latest.xml} | 0
...s-vnc-socket-new-cmdline.x86_64-latest.xml | 36 +
.../graphics-vnc-tls-secret.x86_64-5.2.0.xml | 39 +
.../graphics-vnc-tls-secret.x86_64-latest.xml | 39 +
...splay-spice-egl-headless.x86_64-latest.xml | 46 +
...dev-display-spice-opengl.x86_64-latest.xml | 46 +
...display-vnc-egl-headless.x86_64-latest.xml | 46 +
...hostdev-mdev-display-vnc.x86_64-latest.xml | 45 +
...stdev-pci-address-device.x86_64-latest.xml | 46 +
...tdev-scsi-vhost-scsi-pcie.x86_64-4.2.0.xml | 45 +
...-usb-address-device-boot.x86_64-latest.xml | 45 +
...stdev-usb-address-device.x86_64-latest.xml | 45 +
...hostdev-vfio-multidomain.x86_64-latest.xml | 46 +
.../hotplug-base.x86_64-latest.xml | 44 +
.../hugepages-default-5M.x86_64-latest.xml | 41 +
.../hugepages-numa-default.x86_64-latest.xml | 35 +
.../hyperv-passthrough.x86_64-6.1.0.xml | 34 +
.../input-usbmouse-addr.x86_64-latest.xml | 43 +
.../iothreads-disk-virtio-ccw.s390x-4.2.0.xml | 41 +
...iothreads-virtio-scsi-pci.x86_64-5.2.0.xml | 49 +
.../kvm-pit-delay.x86_64-latest.xml | 42 +
.../kvm-pit-discard.x86_64-latest.xml | 42 +
.../kvmclock+eoi-disabled.x86_64-latest.xml | 38 +
.../launch-security-s390-pv.s390x-latest.xml | 32 +
...unch-security-sev-direct.x86_64-latest.xml | 48 +
...sev-missing-platform-info.x86_64-6.0.0.xml | 43 +
.../launch-security-sev.x86_64-6.0.0.xml | 45 +
.../luks-disks-source-qcow2.x86_64-5.2.0.xml | 107 ++
...achine-aeskeywrap-off-cap.s390x-latest.xml | 34 +
...chine-aeskeywrap-off-caps.s390x-latest.xml | 34 +
...machine-aeskeywrap-on-cap.s390x-latest.xml | 34 +
...achine-aeskeywrap-on-caps.s390x-latest.xml | 34 +
.../machine-aliases1.x86_64-latest.xml | 40 +
.../machine-aliases2.x86_64-latest.xml | 40 +
...achine-deakeywrap-off-cap.s390x-latest.xml | 34 +
...chine-deakeywrap-off-caps.s390x-latest.xml | 34 +
...machine-deakeywrap-on-cap.s390x-latest.xml | 34 +
...achine-deakeywrap-on-caps.s390x-latest.xml | 34 +
...machine-keywrap-none-caps.s390x-latest.xml | 31 +
.../machine-keywrap-none.s390x-latest.xml | 31 +
...machine-loadparm-net-s390.s390x-latest.xml | 32 +
.../machine-loadparm-s390.s390x-latest.xml | 33 +
.../machine-vmport-opt.x86_64-latest.xml | 43 +
.../memory-align-fail.x86_64-latest.xml | 39 +
...mory-hotplug-nvdimm-align.x86_64-5.2.0.xml | 60 +
...mory-hotplug-nvdimm-label.x86_64-5.2.0.xml | 62 +
...emory-hotplug-nvdimm-pmem.x86_64-5.2.0.xml | 60 +
...y-hotplug-nvdimm-readonly.x86_64-5.2.0.xml | 60 +
...emory-hotplug-virtio-pmem.x86_64-5.2.0.xml | 55 +
.../migrate-numa-unaligned.x86_64-latest.xml | 41 +
.../misc-no-reboot.x86_64-5.2.0.xml | 38 +
.../mlock-off.x86_64-latest.xml | 29 +
.../mlock-on.x86_64-latest.xml | 32 +
...multifunction-pci-device.x86_64-latest.xml | 64 +
.../name-escape.x86_64-latest.xml | 95 ++
.../net-client.x86_64-latest.xml | 46 +
.../net-eth-names.x86_64-latest.xml | 52 +
.../net-hostdev-fail.x86_64-latest.xml | 49 +
.../net-hostdev-multidomain.x86_64-latest.xml | 54 +
...hostdev-vfio-multidomain.x86_64-latest.xml | 54 +
.../net-mcast.x86_64-latest.xml | 46 +
.../net-user-passt.x86_64-7.2.0.xml | 61 +
.../net-vhostuser-fail.x86_64-latest.xml | 46 +
.../net-vhostuser-multiq.x86_64-latest.xml | 73 ++
.../net-virtio-ccw.s390x-latest.xml | 37 +
.../net-virtio-netdev.x86_64-latest.xml | 45 +
...uto-vcpu-static-numatune.x86_64-latest.xml | 44 +
...-static-memory-auto-vcpu.x86_64-latest.xml | 44 +
.../numad.x86_64-latest.xml | 44 +
...une-auto-nodeset-invalid.x86_64-latest.xml | 44 +
...-unavailable-restrictive.x86_64-latest.xml | 30 +
...mnode-unavailable-strict.x86_64-latest.xml | 30 +
.../numatune-memnode.x86_64-5.2.0.xml | 41 +
...-nodeset-exceed-hostnode.x86_64-latest.xml | 48 +
.../numatune-system-memory.x86_64-latest.xml | 32 +
...parallel-parport-chardev.x86_64-latest.xml | 44 +
.../parallel-tcp-chardev.x86_64-latest.xml | 45 +
.../parallel-unix-chardev.x86_64-latest.xml | 42 +
.../qemuxml2xmloutdata/ppc-dtb.ppc-latest.xml | 36 +
...-usb-controller-qemu-xhci.ppc64-latest.xml | 38 +
.../ppce500-serial.ppc-latest.xml | 35 +
.../pseries-basic.ppc64-latest.xml | 41 +
.../pseries-cpu-le.ppc64-latest.xml | 41 +
.../pseries-features.ppc64-4.2.0.xml | 40 +
.../pseries-usb-default.ppc64-latest.xml | 41 +
.../pseries-usb-kbd.ppc64-latest.xml | 42 +
.../pseries-usb-multi.ppc64-latest.xml | 44 +
...pseries-vio-user-assigned.ppc64-latest.xml | 59 +
.../pseries-vio.ppc64-latest.xml | 59 +
.../q35-default-devices-only.x86_64-4.2.0.xml | 50 +
.../q35-multifunction.x86_64-4.2.0.xml | 125 ++
.../q35-pcie-autoadd.x86_64-4.2.0.xml | 154 +++
.../q35-pcie.x86_64-4.2.0.xml | 158 +++
.../q35-virt-manager-basic.x86_64-4.2.0.xml | 128 ++
.../qemu-ns-alt.x86_64-latest.xml | 46 +
.../qemu-ns-commandline-ns0.x86_64-latest.xml | 43 +
.../qemu-ns-commandline-ns1.x86_64-latest.xml | 43 +
.../qemu-ns-commandline.x86_64-latest.xml | 43 +
...s-domain-commandline-ns0.x86_64-latest.xml | 43 +
...mu-ns-domain-commandline.x86_64-latest.xml | 43 +
.../qemu-ns-domain-ns0.x86_64-latest.xml | 43 +
.../restore-v2-fd.x86_64-latest.xml | 40 +
.../riscv64-virt.riscv64-latest.xml | 20 +-
...llow-bogus-usb-controller.s390x-latest.xml | 48 +
...s390-allow-bogus-usb-none.s390x-latest.xml | 44 +
...label-dynamic-baselabel.x86_64-latest.xml} | 0
...label-dynamic-labelskip.x86_64-latest.xml} | 0
...el-dynamic-none-relabel.x86_64-latest.xml} | 0
...clabel-dynamic-override.x86_64-latest.xml} | 0
...eclabel-dynamic-relabel.x86_64-latest.xml} | 0
.../seclabel-dynamic.x86_64-latest.xml | 41 +
...clabel-static-labelskip.x86_64-latest.xml} | 0
.../seclabel-static-relabel.x86_64-latest.xml | 43 +
...erial-dev-chardev-iobase.x86_64-latest.xml | 52 +
.../serial-dev-chardev.x86_64-latest.xml | 50 +
.../serial-file-chardev.x86_64-latest.xml | 50 +
.../serial-file-log.x86_64-latest.xml | 50 +
.../serial-many-chardev.x86_64-latest.xml | 54 +
.../serial-pty-chardev.x86_64-latest.xml | 48 +
.../serial-tcp-chardev.x86_64-latest.xml | 52 +
...erial-tcp-telnet-chardev.x86_64-latest.xml | 52 +
...p-tlsx509-chardev-verify.x86_64-latest.xml | 59 +
...p-tlsx509-secret-chardev.x86_64-latest.xml | 59 +
.../serial-udp-chardev.x86_64-latest.xml | 58 +
.../serial-unix-chardev.x86_64-latest.xml | 50 +
.../serial-vc-chardev.x86_64-latest.xml | 48 +
.../shmem-invalid-address.x86_64-latest.xml | 34 +
.../shmem-invalid-size.x86_64-latest.xml | 34 +
.../shmem-small-size.x86_64-latest.xml | 34 +
...artcard-passthrough-unix.x86_64-latest.xml | 36 +
.../sound-device.x86_64-4.2.0.xml | 61 +
.../sparc-minimal.sparc-latest.xml | 33 +
.../usb-bus-missing.x86_64-latest.xml | 37 +
...-default-unavailable-q35.x86_64-latest.xml | 33 +
...ntroller-ich9-autoassign.x86_64-latest.xml | 48 +
...ontroller-ich9-companion.x86_64-latest.xml | 43 +
...ler-nec-xhci-unavailable.x86_64-latest.xml | 33 +
...ller-nex-xhci-autoassign.x86_64-latest.xml | 34 +
...usb-controller-qemu-xhci.x86_64-latest.xml | 29 +
.../usb-hub-autoadd-deluxe.x86_64-latest.xml | 47 +
.../usb-hub-autoadd.x86_64-latest.xml | 35 +
.../usb-hub.x86_64-latest.xml | 34 +
.../usb-long-port-path.x86_64-latest.xml | 43 +
.../usb-port-autoassign.x86_64-latest.xml | 38 +
.../usb-ports.x86_64-latest.xml | 46 +
.../usb-redir-boot.x86_64-latest.xml | 58 +
.../usb-redir-unix.x86_64-latest.xml | 49 +
.../usb1-usb2.x86_64-latest.xml | 79 ++
.../user-aliases-usb.x86_64-latest.xml | 88 ++
.../user-aliases2.x86_64-latest.xml | 52 +
...vhost-user-gpu-secondary.x86_64-latest.xml | 57 +
.../vhost-user-vga.x86_64-latest.xml | 52 +
...deo-bochs-display-device.x86_64-latest.xml | 44 +
.../video-qxl-device-vgamem.x86_64-latest.xml | 44 +
.../video-qxl-device-vram64.x86_64-latest.xml | 38 +
.../video-qxl-device.x86_64-latest.xml | 44 +
...eo-qxl-sec-device-vgamem.x86_64-latest.xml | 48 +
...eo-qxl-sec-device-vram64.x86_64-latest.xml | 42 +
.../video-qxl-sec-device.x86_64-latest.xml | 48 +
...deo-ramfb-display-device.x86_64-latest.xml | 43 +
.../video-vga-device-vgamem.x86_64-latest.xml | 44 +
.../video-vga-device.x86_64-latest.xml | 44 +
.../video-vga-qxl-heads.x86_64-latest.xml | 52 +
.../video-virtio-vga.x86_64-latest.xml | 44 +
...o-options-controller-ats.x86_64-latest.xml | 47 +
...options-controller-iommu.x86_64-latest.xml | 47 +
...ptions-controller-packed.x86_64-latest.xml | 47 +
.../virtio-options-disk-ats.x86_64-latest.xml | 43 +
...irtio-options-disk-iommu.x86_64-latest.xml | 43 +
...rtio-options-disk-packed.x86_64-latest.xml | 43 +
.../virtio-options-fs-ats.x86_64-latest.xml | 43 +
.../virtio-options-fs-iommu.x86_64-latest.xml | 43 +
...virtio-options-fs-packed.x86_64-latest.xml | 43 +
...virtio-options-input-ats.x86_64-latest.xml | 39 +
...rtio-options-input-iommu.x86_64-latest.xml | 39 +
...tio-options-input-packed.x86_64-latest.xml | 39 +
...o-options-memballoon-ats.x86_64-latest.xml | 32 +
...lloon-freepage-reporting.x86_64-latest.xml | 31 +
...options-memballoon-iommu.x86_64-latest.xml | 32 +
...ptions-memballoon-packed.x86_64-latest.xml | 32 +
.../virtio-options-net-ats.x86_64-latest.xml | 43 +
...virtio-options-net-iommu.x86_64-latest.xml | 43 +
...irtio-options-net-packed.x86_64-latest.xml | 43 +
.../virtio-options-rng-ats.x86_64-latest.xml | 41 +
...virtio-options-rng-iommu.x86_64-latest.xml | 41 +
...irtio-options-rng-packed.x86_64-latest.xml | 41 +
...virtio-options-video-ats.x86_64-latest.xml | 45 +
...rtio-options-video-iommu.x86_64-latest.xml | 45 +
...tio-options-video-packed.x86_64-latest.xml | 45 +
.../virtio-rng-builtin.x86_64-5.2.0.xml | 35 +
.../virtio-rng-ccw.s390x-latest.xml | 43 +
.../virtio-rng-default.x86_64-latest.xml | 35 +
.../virtio-rng-egd-unix.x86_64-5.2.0.xml | 37 +
.../virtio-rng-egd-unix.x86_64-latest.xml | 37 +
.../virtio-rng-multiple.x86_64-latest.xml | 42 +
.../watchdog-device.x86_64-latest.xml | 43 +
.../watchdog-diag288.s390x-latest.xml | 34 +
.../watchdog-dump.x86_64-latest.xml | 41 +
.../watchdog-injectnmi.x86_64-latest.xml | 41 +
tests/qemuxml2xmltest.c | 1040 -----------------
...-unix-source-path-active.x86_64-latest.xml | 62 +
...ix-source-path-inactive.x86_64-latest.xml} | 0
...nnel-virtio-state-active.x86_64-latest.xml | 0
...el-virtio-state-inactive.x86_64-latest.xml | 55 +
...isk-active-commit-active.x86_64-latest.xml | 0
...k-active-commit-inactive.x86_64-latest.xml | 45 +
...king-chains-index-active.x86_64-latest.xml | 164 +++
...g-chains-index-inactive.x86_64-latest.xml} | 0
.../disk-mirror-active.x86_64-latest.xml | 0
.../disk-mirror-inactive.x86_64-latest.xml | 70 ++
.../disk-mirror-old-active.x86_64-latest.xml | 0
...disk-mirror-old-inactive.x86_64-latest.xml | 63 +
.../genid-active.x86_64-latest.xml | 0
.../genid-auto-active.x86_64-latest.xml | 0
.../genid-auto-inactive.x86_64-latest.xml | 36 +
.../genid-inactive.x86_64-latest.xml | 36 +
...-generated-socket-active.x86_64-latest.xml | 45 +
...nerated-socket-inactive.x86_64-latest.xml} | 0
...-static-labelskip-active.x86_64-latest.xml | 0
...tatic-labelskip-inactive.x86_64-latest.xml | 45 +
tests/qemuxmlactivetest.c | 260 +++++
.../{qemuxml2argvtest.c => qemuxmlconftest.c} | 309 +++--
tests/testutils.c | 9 +-
tests/testutilsqemu.c | 17 +-
tests/testutilsqemu.h | 26 +-
tests/virschematest.c | 43 +-
452 files changed, 18725 insertions(+), 1358 deletions(-)
delete mode 100644 tests/qemustatusxml2xmltest.c
create mode 100644 tests/qemuxml2xmloutdata/aarch64-cpu-passthrough.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-features-wrong.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-gic-default.aarch64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-gic-none.aarch64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-kvm-32-on-64.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-virt-default-nic.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-virt-virtio-MMIO.aarch64.latest.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-virt-virtio.aarch64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-virt-virtio.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/aarch64-virtio-pci-default.aarch64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/arm-vexpressa9-basic.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/arm-vexpressa9-nodevs.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/arm-vexpressa9-virtio.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/arm-virt-virtio.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/audio-default-sdl.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/audio-default-spice.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/audio-default-vnc.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/audio-jack-minimal.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/balloon-ccw-deflate.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/balloon-device-deflate-off.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/balloon-device-deflate.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/balloon-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/balloon-mmio-deflate.aarch64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/boot-complex.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/boot-menu-disable-drive.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/boot-menu-enable.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/channel-spicevmc.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/channel-unix-guestfwd.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{channel-unix-source-path-inactive.x86_64-latest.xml => channel-unix-source-path.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/channel-virtio-autoadd.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/channel-virtio-autoassign.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/channel-virtio-default.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{channel-virtio-state-inactive.x86_64-latest.xml => channel-virtio-state.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/channel-virtio-unix.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/chardev-reconnect.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/clock-france.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/clock-hpet-off.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/clock-hpet-off.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/clock-localtime-basis-localtime.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/clock-variable.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/console-compat-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/console-sclp.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/console-virtio-ccw.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/console-virtio-unix.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/controller-order.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-Haswell-noTSX.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-Haswell.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-Haswell2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-Haswell3.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-cache-disable.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-cache-disable3.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-cache-emulate-l3.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-cache-passthrough.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-exact1.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-exact2-nofallback.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-exact2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-fallback.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-fallback.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-cmt.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-5.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-5.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-6.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-6.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-7.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-7.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-8.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-kvm.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-5.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-5.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-6.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-6.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-7.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-7.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-8.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-fallback-tcg.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-5.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-5.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-6.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-6.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-7.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-7.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-8.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-kvm.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-5.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-5.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-6.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-6.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-7.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-7.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-8.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-kvm.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-5.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-5.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-6.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-6.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-7.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-7.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-8.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-nofallback-tcg.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-5.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-5.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-6.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-6.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-7.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-7.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-8.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-model-tcg.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-host-passthrough.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-hotplug-startup.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-minimum1.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-minimum2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-no-removed-features.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-nofallback.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-nofallback.x86_64-8.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-phys-bits-emulate.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-phys-bits-emulate2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-phys-bits-passthrough.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-qemu-host-passthrough.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-s390-features.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-s390-zEC12.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-strict1.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-topology1.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-topology2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-topology3.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-topology4.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-translation.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-tsc-frequency.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{disk-active-commit-inactive.x86_64-latest.xml => disk-active-commit.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{disk-backing-chains-index-inactive.x86_64-latest.xml => disk-backing-chains-index.x86_64-latest.xml} (100%)
delete mode 120000 tests/qemuxml2xmloutdata/disk-cdrom-empty-network-invalid-inactive.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{disk-cdrom-empty-network-invalid-active.x86_64-latest.xml => disk-cdrom-empty-network-invalid.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/disk-cdrom-network-nbdkit.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-cdrom-tray.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-device-removable.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-error-policy-s390x.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-floppy-pseries.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-floppy-q35.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-floppy-tray.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-geometry.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-ide-split.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-ide-wwn.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-ioeventfd.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{disk-mirror-old-inactive.x86_64-latest.xml => disk-mirror-old.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{disk-mirror-inactive.x86_64-latest.xml => disk-mirror.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/disk-network-http-nbdkit.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-rbd-no-colon.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-sheepdog.x86_64-6.0.0.xml
rename tests/qemuxml2xmloutdata/{disk-network-nfs-inactive.x86_64-latest.xml => disk-network-source-curl-nbdkit-backing.x86_64-latest.xml} (64%)
create mode 100644 tests/qemuxml2xmloutdata/disk-network-source-curl-nbdkit.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-source-curl.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-ssh-key.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-ssh-nbdkit.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-ssh-password.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-ssh.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-tlsx509-nbd.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-no-boot.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-order.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-readonly-disk.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-scsi-disk-split.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-scsi-disk-wwn.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-scsi-lun-passthrough.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-shared.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-snapshot.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-vhostuser-numa.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-vhostuser-numa.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-vhostvdpa.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-virtio-ccw-many.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-virtio-ccw.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-virtio-scsi-reservations.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/fips-enabled.x86_64-5.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/fips-enabled.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/fs9p-ccw.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/fs9p.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{genid-auto-inactive.x86_64-latest.xml => genid-auto.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{genid-inactive.x86_64-latest.xml => genid.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/graphics-dbus-usbredir.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-egl-headless.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-spice-agent-file-xfer.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-spice-agentmouse.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-spice-gl-auto-rendernode.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-spice-no-args.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-spice-sasl.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-spice-usb-redir.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-vnc-none.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-vnc-policy.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-vnc-power.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{graphics-vnc-remove-generated-socket-inactive.x86_64-latest.xml => graphics-vnc-remove-generated-socket.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/graphics-vnc-socket-new-cmdline.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-vnc-tls-secret.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/graphics-vnc-tls-secret.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-mdev-display-spice-egl-headless.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-mdev-display-spice-opengl.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-mdev-display-vnc-egl-headless.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-mdev-display-vnc.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-pci-address-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-pcie.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-usb-address-device-boot.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-usb-address-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-vfio-multidomain.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hotplug-base.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hugepages-default-5M.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hugepages-numa-default.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/hyperv-passthrough.x86_64-6.1.0.xml
create mode 100644 tests/qemuxml2xmloutdata/input-usbmouse-addr.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/iothreads-disk-virtio-ccw.s390x-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/iothreads-virtio-scsi-pci.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/kvm-pit-delay.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/kvm-pit-discard.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/kvmclock+eoi-disabled.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/launch-security-s390-pv.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/launch-security-sev-direct.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/launch-security-sev-missing-platform-info.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/launch-security-sev.x86_64-6.0.0.xml
create mode 100644 tests/qemuxml2xmloutdata/luks-disks-source-qcow2.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-aeskeywrap-off-cap.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-aeskeywrap-off-caps.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-aeskeywrap-on-cap.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-aeskeywrap-on-caps.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-aliases1.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-aliases2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-deakeywrap-off-cap.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-deakeywrap-off-caps.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-deakeywrap-on-cap.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-deakeywrap-on-caps.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-keywrap-none-caps.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-keywrap-none.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-loadparm-net-s390.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-loadparm-s390.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/machine-vmport-opt.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-align-fail.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-align.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-label.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-pmem.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-readonly.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-virtio-pmem.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/migrate-numa-unaligned.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/misc-no-reboot.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/mlock-off.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/mlock-on.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/multifunction-pci-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/name-escape.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-client.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-eth-names.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-hostdev-fail.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-hostdev-multidomain.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-hostdev-vfio-multidomain.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-mcast.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-user-passt.x86_64-7.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/net-vhostuser-fail.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-vhostuser-multiq.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-virtio-ccw.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/net-virtio-netdev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numad-auto-vcpu-static-numatune.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numad-static-memory-auto-vcpu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numad.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numatune-auto-nodeset-invalid.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numatune-memnode-unavailable-restrictive.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numatune-memnode-unavailable-strict.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numatune-memnode.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/numatune-static-nodeset-exceed-hostnode.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/numatune-system-memory.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/parallel-parport-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/parallel-tcp-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/parallel-unix-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/ppc-dtb.ppc-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/ppc64-usb-controller-qemu-xhci.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/ppce500-serial.ppc-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-basic.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-cpu-le.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-features.ppc64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-usb-default.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-usb-kbd.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-usb-multi.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-vio-user-assigned.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-vio.ppc64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/q35-default-devices-only.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/q35-multifunction.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/q35-pcie-autoadd.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/q35-pcie.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/q35-virt-manager-basic.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/qemu-ns-alt.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/qemu-ns-commandline-ns0.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/qemu-ns-commandline-ns1.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/qemu-ns-commandline.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/qemu-ns-domain-commandline-ns0.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/qemu-ns-domain-commandline.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/qemu-ns-domain-ns0.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/restore-v2-fd.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/s390-allow-bogus-usb-controller.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/s390-allow-bogus-usb-none.s390x-latest.xml
rename tests/qemuxml2xmloutdata/{seclabel-dynamic-baselabel-inactive.x86_64-latest.xml => seclabel-dynamic-baselabel.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{seclabel-dynamic-labelskip-inactive.x86_64-latest.xml => seclabel-dynamic-labelskip.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{seclabel-dynamic-none-relabel-inactive.x86_64-latest.xml => seclabel-dynamic-none-relabel.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{seclabel-dynamic-override-inactive.x86_64-latest.xml => seclabel-dynamic-override.x86_64-latest.xml} (100%)
rename tests/qemuxml2xmloutdata/{seclabel-dynamic-relabel-inactive.x86_64-latest.xml => seclabel-dynamic-relabel.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/seclabel-dynamic.x86_64-latest.xml
rename tests/qemuxml2xmloutdata/{seclabel-static-labelskip-inactive.x86_64-latest.xml => seclabel-static-labelskip.x86_64-latest.xml} (100%)
create mode 100644 tests/qemuxml2xmloutdata/seclabel-static-relabel.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-dev-chardev-iobase.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-dev-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-file-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-file-log.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-many-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-pty-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-tcp-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-tcp-telnet-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-tcp-tlsx509-chardev-verify.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-tcp-tlsx509-secret-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-udp-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-unix-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/serial-vc-chardev.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/shmem-invalid-address.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/shmem-invalid-size.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/shmem-small-size.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/smartcard-passthrough-unix.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/sound-device.x86_64-4.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/sparc-minimal.sparc-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-bus-missing.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-controller-default-unavailable-q35.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-controller-ich9-autoassign.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-controller-ich9-companion.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-controller-nec-xhci-unavailable.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-controller-nex-xhci-autoassign.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-controller-qemu-xhci.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-hub-autoadd-deluxe.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-hub-autoadd.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-hub.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-long-port-path.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-port-autoassign.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-ports.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-redir-boot.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb-redir-unix.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/usb1-usb2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/user-aliases-usb.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/user-aliases2.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/vhost-user-gpu-secondary.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/vhost-user-vga.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-bochs-display-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-qxl-device-vgamem.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-qxl-device-vram64.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-qxl-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-qxl-sec-device-vgamem.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-qxl-sec-device-vram64.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-qxl-sec-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-ramfb-display-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-vga-device-vgamem.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-vga-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-vga-qxl-heads.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/video-virtio-vga.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-controller-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-controller-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-controller-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-disk-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-disk-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-disk-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-fs-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-fs-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-fs-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-input-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-input-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-input-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-memballoon-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-memballoon-freepage-reporting.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-memballoon-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-memballoon-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-net-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-net-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-net-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-rng-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-rng-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-rng-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-video-ats.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-video-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-options-video-packed.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-rng-builtin.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-rng-ccw.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-rng-default.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-rng-egd-unix.x86_64-5.2.0.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-rng-egd-unix.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/virtio-rng-multiple.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/watchdog-device.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/watchdog-diag288.s390x-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/watchdog-dump.x86_64-latest.xml
create mode 100644 tests/qemuxml2xmloutdata/watchdog-injectnmi.x86_64-latest.xml
delete mode 100644 tests/qemuxml2xmltest.c
create mode 100644 tests/qemuxmlactive2xmldata/channel-unix-source-path-active.x86_64-latest.xml
rename tests/{qemuxml2xmloutdata/channel-unix-source-path-active.x86_64-latest.xml => qemuxmlactive2xmldata/channel-unix-source-path-inactive.x86_64-latest.xml} (100%)
rename tests/{qemuxml2xmloutdata => qemuxmlactive2xmldata}/channel-virtio-state-active.x86_64-latest.xml (100%)
create mode 100644 tests/qemuxmlactive2xmldata/channel-virtio-state-inactive.x86_64-latest.xml
rename tests/{qemuxml2xmloutdata => qemuxmlactive2xmldata}/disk-active-commit-active.x86_64-latest.xml (100%)
create mode 100644 tests/qemuxmlactive2xmldata/disk-active-commit-inactive.x86_64-latest.xml
create mode 100644 tests/qemuxmlactive2xmldata/disk-backing-chains-index-active.x86_64-latest.xml
rename tests/{qemuxml2xmloutdata/disk-backing-chains-index-active.x86_64-latest.xml => qemuxmlactive2xmldata/disk-backing-chains-index-inactive.x86_64-latest.xml} (100%)
rename tests/{qemuxml2xmloutdata => qemuxmlactive2xmldata}/disk-mirror-active.x86_64-latest.xml (100%)
create mode 100644 tests/qemuxmlactive2xmldata/disk-mirror-inactive.x86_64-latest.xml
rename tests/{qemuxml2xmloutdata => qemuxmlactive2xmldata}/disk-mirror-old-active.x86_64-latest.xml (100%)
create mode 100644 tests/qemuxmlactive2xmldata/disk-mirror-old-inactive.x86_64-latest.xml
rename tests/{qemuxml2xmloutdata => qemuxmlactive2xmldata}/genid-active.x86_64-latest.xml (100%)
rename tests/{qemuxml2xmloutdata => qemuxmlactive2xmldata}/genid-auto-active.x86_64-latest.xml (100%)
create mode 100644 tests/qemuxmlactive2xmldata/genid-auto-inactive.x86_64-latest.xml
create mode 100644 tests/qemuxmlactive2xmldata/genid-inactive.x86_64-latest.xml
create mode 100644 tests/qemuxmlactive2xmldata/graphics-vnc-remove-generated-socket-active.x86_64-latest.xml
rename tests/{qemuxml2xmloutdata/graphics-vnc-remove-generated-socket-active.x86_64-latest.xml => qemuxmlactive2xmldata/graphics-vnc-remove-generated-socket-inactive.x86_64-latest.xml} (100%)
rename tests/{qemuxml2xmloutdata => qemuxmlactive2xmldata}/seclabel-static-labelskip-active.x86_64-latest.xml (100%)
create mode 100644 tests/qemuxmlactive2xmldata/seclabel-static-labelskip-inactive.x86_64-latest.xml
create mode 100644 tests/qemuxmlactivetest.c
rename tests/{qemuxml2argvtest.c => qemuxmlconftest.c} (95%)
--
2.43.0
2
25
Hi All,
We recently started noticing build failures of libvirt for ppc64le on some
distros in our build service. Seems it's possible for sources in remote to be
built before remote_protocol.h is generated
[ 178s] cc -Isrc/virtnodedevd.p -Isrc -I../src -Isrc/conf -I../src/conf
-Isrc/remote -I../src/remote -Isrc/admin -I../src/admin -Isrc/access
-I../src/access -Isrc/rpc -I../src/rpc -Isrc/util -I../src/util -Iinclude
-I../include -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libnl3
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall
-Winvalid-pch -Wextra -std=gnu99 -fasynchronous-unwind-tables -fexceptions
-fipa-pure-const -fno-common -Waddress -Waggressive-loop-optimizations
-Walloc-size-larger-than=9223372036854775807 -Walloca -Warray-bounds=2
-Wattributes -Wbool-compare -Wbool-operation -Wbuiltin-declaration-mismatch
-Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment
-Wcomments -Wcoverage-mismatch -Wcpp -Wdangling-else -Wdate-time
-Wdeclaration-after-statement -Wdeprecated-declarations -Wdesignated-init
-Wdiscarded-array-qualifiers -Wdiscarded-qualifiers -Wdiv-by-zero
-Wduplicated-cond -Wduplicate-decl-specifier -Wempty-body -Wendif-labels
-Wexpansion-to-defined -Wformat-contains-nul -Wformat-extra-args
-Wno-format-nonliteral -Wformat-overflow=2 -Wformat-security
-Wno-format-truncation -Wformat-y2k -Wformat-zero-length -Wframe-address
-Wframe-larger-than=2048 -Wfree-nonheap-object -Whsa -Wignored-attributes
-Wignored-qualifiers -Wimplicit -Wimplicit-fallthrough=5
-Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types
-Winit-self -Winline -Wint-conversion -Wint-in-bool-context
-Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init
-Wlogical-not-parentheses -Wlogical-op -Wmain -Wmaybe-uninitialized
-Wmemset-elt-size -Wmemset-transposed-args -Wmisleading-indentation
-Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers
-Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar
-Wnarrowing -Wnested-externs -Wnonnull -Wnonnull-compare -Wnormalized=nfc
-Wnull-dereference -Wodr -Wold-style-declaration -Wold-style-definition
-Wopenmp-simd -Woverflow -Woverride-init -Wpacked-bitfield-compat -Wparentheses
-Wpointer-arith -Wpointer-compare -Wpointer-sign -Wpointer-to-int-cast -Wpragmas
-Wpsabi -Wrestrict -Wreturn-local-addr -Wreturn-type -Wscalar-storage-order
-Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow
-Wshift-negative-value -Wshift-overflow=2 -Wno-sign-compare
-Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstrict-aliasing
-Wstrict-prototypes -Wstringop-overflow=2 -Wno-suggest-attribute=const
-Wsuggest-attribute=format -Wsuggest-attribute=noreturn
-Wno-suggest-attribute=pure -Wsuggest-final-methods -Wsuggest-final-types
-Wswitch -Wswitch-bool -Wswitch-enum -Wswitch-unreachable -Wsync-nand
-Wtautological-compare -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized
-Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable
-Wunused-const-variable=2 -Wunused-function -Wunused-label
-Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value
-Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance
-Wvla -Wvolatile-register-var -Wwrite-strings -fstack-protector-strong
-Wdouble-promotion -fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g -fPIE -pthread
-DIN_LIBVIRT
'-Dabs_top_builddir="/home/abuild/rpmbuild/BUILD/libvirt-9.10.0/ppc64le-suse-linux"'
'-Dabs_top_srcdir="/home/abuild/rpmbuild/BUILD/libvirt-9.10.0"'
'-DDAEMON_NAME="virtnodedevd"' '-DMODULE_NAME="nodedev"' -MD -MQ
src/virtnodedevd.p/remote_remote_daemon_config.c.o -MF
src/virtnodedevd.p/remote_remote_daemon_config.c.o.d -o
src/virtnodedevd.p/remote_remote_daemon_config.c.o -c
../src/remote/remote_daemon_config.c
[ 178s] ../src/remote/remote_daemon_config.c: In function ‘daemonConfigNew’:
[ 178s] ../src/remote/remote_daemon_config.c:111:30: error:
‘REMOTE_AUTH_POLKIT’ undeclared (first use in this function); did you mean
‘WITH_POLKIT’?
[ 178s] data->auth_unix_rw = REMOTE_AUTH_POLKIT;
[ 178s] ^~~~~~~~~~~~~~~~~~
[ 178s] WITH_POLKIT
[ 178s] ../src/remote/remote_daemon_config.c:111:30: note: each undeclared
identifier is reported only once for each function it appears in
[ 178s] ../src/remote/remote_daemon_config.c:115:30: error: ‘REMOTE_AUTH_NONE’
undeclared (first use in this function); did you mean ‘REMOTE_AUTH_POLKIT’?
[ 178s] data->auth_unix_rw = REMOTE_AUTH_NONE;
[ 178s] ^~~~~~~~~~~~~~~~
[ 178s] REMOTE_AUTH_POLKIT
[ 178s] ../src/remote/remote_daemon_config.c: In function
‘daemonConfigLoadOptions’:
[ 178s] ../src/remote/remote_daemon_config.c:252:31: error:
‘REMOTE_AUTH_POLKIT’ undeclared (first use in this function); did you mean
‘WITH_POLKIT’?
[ 178s] if (data->auth_unix_rw == REMOTE_AUTH_POLKIT) {
[ 178s] ^~~~~~~~~~~~~~~~~~
[ 178s] WITH_POLKIT
[ 178s] [263/1422] /usr/bin/meson --internal exe --capture
src/admin/admin_server_dispatch_stubs.h --
/home/abuild/rpmbuild/BUILD/libvirt-9.10.0/src/rpc/gendispatch.pl --mode=server
admin ADMIN ../src/admin/admin_protocol.x
[ 179s] [264/1422]
/home/abuild/rpmbuild/BUILD/libvirt-9.10.0/scripts/meson-python.sh
/usr/bin/python3
/home/abuild/rpmbuild/BUILD/libvirt-9.10.0/scripts/rpcgen/main.py --mode=header
../src/remote/remote_protocol.x src/remote/remote_protocol.h
Full build log of one failure case can be found here
https://build.opensuse.org/build/Virtualization/15.6/ppc64le/libvirt/_log
The below patch fixes the issue in our testing, but I'm not sure if it's the
best solution, versus e.g. a dependency along the lines of rpc_dep et. al.
Thanks for comments/suggestions.
Regards,
Jim
diff --git a/src/meson.build b/src/meson.build
index 6538c43628..3f989de7f9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -616,7 +616,7 @@ foreach daemon : virt_daemons
bin = executable(
daemon['name'],
[
- daemon.get('sources', [ remote_daemon_sources, remote_daemon_generated ]),
+ daemon.get('sources', [ remote_daemon_sources, remote_daemon_generated,
remote_driver_generated ]),
dtrace_gen_objects,
],
c_args: [
2
1
[PATCH] apparmor: Allow access to /sys/devices/system/node/*/cpumap for libnuma
by Sergio Durigan Junior 15 Jan '24
by Sergio Durigan Junior 15 Jan '24
15 Jan '24
A QEMU change (10218ae6d006f76410804cc4dc690085b3d008b5) introduced
some libnuma calls that require read access to
/sys/devices/system/node/*/cpumap, which currently is forbidden by the
standard apparmor profile.
This commit allows read-only access to the file specified above.
Closes #515
Signed-off-by: Sergio Durigan Junior <sergio.durigan(a)canonical.com>
---
src/security/apparmor/libvirt-qemu.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/security/apparmor/libvirt-qemu.in b/src/security/apparmor/libvirt-qemu.in
index 53f45c3a28..f40f471891 100644
--- a/src/security/apparmor/libvirt-qemu.in
+++ b/src/security/apparmor/libvirt-qemu.in
@@ -252,6 +252,9 @@
/sys/devices/system/node/node[0-9]*/meminfo r,
/sys/module/vhost/parameters/max_mem_regions r,
+ # Access to libnuma
+ /sys/devices/system/node/*/cpumap r,
+
# silence refusals to open lttng files (see LP: #1432644)
deny /dev/shm/lttng-ust-wait-* r,
deny /run/shm/lttng-ust-wait-* r,
--
2.34.1
3
3
Changes from [v1]
* minimize amount of newly-introduced test data;
* add documentation for CPU topology information in the host
capabilities XML;
* address other review comments.
[v1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/ZAZO…
Andrea Bolognani (11):
tests: Add hostcpudata for machine with CPU clusters
conf: Report CPU clusters in capabilities XML
conf: Allow specifying CPU clusters
qemu: Introduce QEMU_CAPS_SMP_CLUSTERS
qemu: Use CPU clusters for guests
tests: Add test case for CPU clusters
qemu: Make monitor aware of CPU clusters
tests: Verify handling of CPU clusters in QMP data
docs: Improve documentation for CPU topology
docs: Document CPU clusters
news: Mention support for CPU clusters
NEWS.rst | 6 +
docs/formatcaps.rst | 72 ++++++--
docs/formatdomain.rst | 24 ++-
src/bhyve/bhyve_command.c | 5 +
src/conf/capabilities.c | 5 +-
src/conf/capabilities.h | 1 +
src/conf/cpu_conf.c | 16 +-
src/conf/cpu_conf.h | 1 +
src/conf/domain_conf.c | 1 +
src/conf/schemas/capability.rng | 3 +
src/conf/schemas/cputypes.rng | 5 +
src/cpu/cpu.c | 1 +
src/libvirt_linux.syms | 1 +
src/libxl/libxl_capabilities.c | 1 +
src/qemu/qemu_capabilities.c | 2 +
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_command.c | 8 +
src/qemu/qemu_domain.c | 3 +-
src/qemu/qemu_monitor.c | 2 +
src/qemu/qemu_monitor.h | 2 +
src/qemu/qemu_monitor_json.c | 5 +
src/util/virhostcpu.c | 22 +++
src/util/virhostcpu.h | 1 +
src/vmx/vmx.c | 7 +
tests/capabilityschemadata/caps-qemu-kvm.xml | 32 ++--
.../x86_64-host+guest,model486-result.xml | 2 +-
.../x86_64-host+guest,models-result.xml | 2 +-
.../cputestdata/x86_64-host+guest-result.xml | 2 +-
tests/cputestdata/x86_64-host+guest.xml | 2 +-
.../x86_64-host+host-model-nofallback.xml | 2 +-
...t-Haswell-noTSX+Haswell,haswell-result.xml | 2 +-
...ell-noTSX+Haswell-noTSX,haswell-result.xml | 2 +-
...ost-Haswell-noTSX+Haswell-noTSX-result.xml | 2 +-
.../x86_64-host-worse+guest-result.xml | 2 +-
.../qemucapabilitiesdata/caps_7.1.0_ppc64.xml | 1 +
.../caps_7.1.0_x86_64.xml | 1 +
tests/qemucapabilitiesdata/caps_7.2.0_ppc.xml | 1 +
.../caps_7.2.0_x86_64+hvf.xml | 1 +
.../caps_7.2.0_x86_64.xml | 1 +
.../caps_8.0.0_riscv64.xml | 1 +
.../caps_8.0.0_x86_64.xml | 1 +
.../qemucapabilitiesdata/caps_8.1.0_s390x.xml | 1 +
.../caps_8.1.0_x86_64.xml | 1 +
.../caps_8.2.0_aarch64.xml | 1 +
.../caps_8.2.0_x86_64.xml | 1 +
.../caps_9.0.0_x86_64.xml | 1 +
.../ppc64-modern-bulk-result-conf.xml | 2 +-
.../ppc64-modern-bulk-result-live.xml | 2 +-
.../ppc64-modern-individual-result-conf.xml | 2 +-
.../ppc64-modern-individual-result-live.xml | 2 +-
.../x86-modern-bulk-result-conf.xml | 2 +-
.../x86-modern-bulk-result-live.xml | 2 +-
.../x86-modern-individual-add-result-conf.xml | 2 +-
.../x86-modern-individual-add-result-live.xml | 2 +-
...imeout+graphics-spice-timeout-password.xml | 2 +-
.../qemuhotplug-graphics-spice-timeout.xml | 2 +-
...torjson-cpuinfo-aarch64-clusters-cpus.json | 88 +++++++++
...json-cpuinfo-aarch64-clusters-hotplug.json | 171 ++++++++++++++++++
...umonitorjson-cpuinfo-aarch64-clusters.data | 108 +++++++++++
tests/qemumonitorjsontest.c | 9 +-
.../cpu-hotplug-startup.x86_64-latest.args | 2 +-
.../cpu-numa-disjoint.x86_64-latest.args | 2 +-
.../cpu-numa-disordered.x86_64-latest.args | 2 +-
.../cpu-numa-memshared.x86_64-latest.args | 2 +-
...-numa-no-memory-element.x86_64-latest.args | 2 +-
.../cpu-numa1.x86_64-latest.args | 2 +-
.../cpu-numa2.x86_64-latest.args | 2 +-
.../cpu-topology1.x86_64-latest.args | 2 +-
.../cpu-topology2.x86_64-latest.args | 2 +-
.../cpu-topology3.x86_64-latest.args | 2 +-
.../cpu-topology4.x86_64-latest.args | 2 +-
...args => cpu-topology5.aarch64-latest.args} | 12 +-
tests/qemuxml2argvdata/cpu-topology5.xml | 17 ++
...memory-no-numa-topology.x86_64-latest.args | 2 +-
.../fd-memory-no-numa-topology.xml | 2 +-
...fd-memory-numa-topology.x86_64-latest.args | 2 +-
.../fd-memory-numa-topology.xml | 2 +-
...d-memory-numa-topology2.x86_64-latest.args | 2 +-
.../fd-memory-numa-topology2.xml | 2 +-
...d-memory-numa-topology3.x86_64-latest.args | 2 +-
.../fd-memory-numa-topology3.xml | 2 +-
.../hugepages-nvdimm.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/hugepages-nvdimm.xml | 2 +-
...memory-default-hugepage.x86_64-latest.args | 2 +-
.../memfd-memory-default-hugepage.xml | 2 +-
.../memfd-memory-numa.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/memfd-memory-numa.xml | 2 +-
...emory-hotplug-dimm-addr.x86_64-latest.args | 2 +-
.../memory-hotplug-dimm.x86_64-latest.args | 2 +-
...memory-hotplug-multiple.x86_64-latest.args | 2 +-
...y-hotplug-nvdimm-access.x86_64-latest.args | 2 +-
.../memory-hotplug-nvdimm-access.xml | 2 +-
...ry-hotplug-nvdimm-align.x86_64-latest.args | 2 +-
.../memory-hotplug-nvdimm-align.xml | 2 +-
...ry-hotplug-nvdimm-label.x86_64-latest.args | 2 +-
.../memory-hotplug-nvdimm-label.xml | 2 +-
...ory-hotplug-nvdimm-pmem.x86_64-latest.args | 2 +-
.../memory-hotplug-nvdimm-pmem.xml | 2 +-
...-nvdimm-ppc64-abi-update.ppc64-latest.args | 2 +-
...ory-hotplug-nvdimm-ppc64.ppc64-latest.args | 2 +-
...hotplug-nvdimm-readonly.x86_64-latest.args | 2 +-
.../memory-hotplug-nvdimm-readonly.xml | 2 +-
.../memory-hotplug-nvdimm.x86_64-latest.args | 2 +-
.../memory-hotplug-nvdimm.xml | 2 +-
...mory-hotplug-virtio-mem.x86_64-latest.args | 2 +-
.../memory-hotplug-virtio-mem.xml | 2 +-
...ory-hotplug-virtio-pmem.x86_64-latest.args | 2 +-
.../memory-hotplug-virtio-pmem.xml | 2 +-
.../memory-hotplug.x86_64-latest.args | 2 +-
...auto-memory-vcpu-cpuset.x86_64-latest.args | 2 +-
...no-cpuset-and-placement.x86_64-latest.args | 2 +-
...d-auto-vcpu-no-numatune.x86_64-latest.args | 2 +-
...to-vcpu-static-numatune.x86_64-latest.args | 2 +-
...static-memory-auto-vcpu.x86_64-latest.args | 2 +-
...static-vcpu-no-numatune.x86_64-latest.args | 2 +-
.../qemuxml2argvdata/numad.x86_64-latest.args | 2 +-
...ne-auto-nodeset-invalid.x86_64-latest.args | 2 +-
.../pci-expander-bus.x86_64-latest.args | 2 +-
.../pcie-expander-bus.x86_64-latest.args | 2 +-
.../pseries-phb-numa-node.ppc64-latest.args | 2 +-
tests/qemuxml2argvtest.c | 1 +
.../cpu-numa-disjoint.x86_64-latest.xml | 2 +-
.../cpu-numa-disordered.x86_64-latest.xml | 2 +-
.../cpu-numa-memshared.x86_64-latest.xml | 2 +-
...u-numa-no-memory-element.x86_64-latest.xml | 2 +-
.../cpu-numa1.x86_64-latest.xml | 2 +-
.../cpu-numa2.x86_64-latest.xml | 2 +-
.../cpu-topology5.aarch64-latest.xml | 29 +++
...memory-hotplug-dimm-addr.x86_64-latest.xml | 2 +-
.../memory-hotplug-dimm.x86_64-latest.xml | 2 +-
.../memory-hotplug-multiple.x86_64-latest.xml | 2 +-
...g-nvdimm-ppc64-abi-update.ppc64-latest.xml | 2 +-
...mory-hotplug-nvdimm-ppc64.ppc64-latest.xml | 2 +-
.../memory-hotplug.x86_64-latest.xml | 2 +-
...-auto-memory-vcpu-cpuset.x86_64-latest.xml | 2 +-
...-no-cpuset-and-placement.x86_64-latest.xml | 2 +-
...ad-auto-vcpu-no-numatune.x86_64-latest.xml | 2 +-
...-static-vcpu-no-numatune.x86_64-latest.xml | 2 +-
.../pci-expander-bus.x86_64-latest.xml | 2 +-
.../pcie-expander-bus.x86_64-latest.xml | 2 +-
.../pseries-phb-numa-node.ppc64-latest.xml | 2 +-
tests/qemuxml2xmltest.c | 2 +
.../linux-basic-clusters/system/cpu | 1 +
.../linux-basic-clusters/system/node | 1 +
.../vircaps-aarch64-basic-clusters.xml | 39 ++++
.../vircaps2xmldata/vircaps-aarch64-basic.xml | 32 ++--
.../vircaps-x86_64-basic-dies.xml | 24 +--
.../vircaps2xmldata/vircaps-x86_64-basic.xml | 32 ++--
.../vircaps2xmldata/vircaps-x86_64-caches.xml | 16 +-
tests/vircaps2xmldata/vircaps-x86_64-hmat.xml | 48 ++---
.../vircaps-x86_64-resctrl-cdp.xml | 24 +--
.../vircaps-x86_64-resctrl-cmt.xml | 24 +--
.../vircaps-x86_64-resctrl-fake-feature.xml | 24 +--
.../vircaps-x86_64-resctrl-skx-twocaches.xml | 2 +-
.../vircaps-x86_64-resctrl-skx.xml | 2 +-
.../vircaps-x86_64-resctrl.xml | 24 +--
tests/vircaps2xmltest.c | 1 +
.../linux-aarch64-with-clusters.cpuinfo | 72 ++++++++
.../linux-aarch64-with-clusters.expected | 1 +
.../cpu/cpu0/topology/cluster_cpus_list | 1 +
.../cpu/cpu0/topology/cluster_id | 1 +
.../cpu/cpu0/topology/core_cpus_list | 1 +
.../cpu/cpu0/topology/core_id | 1 +
.../cpu/cpu0/topology/core_siblings_list | 1 +
.../cpu/cpu0/topology/package_cpus_list | 1 +
.../cpu/cpu0/topology/physical_package_id | 1 +
.../cpu/cpu0/topology/thread_siblings_list | 1 +
.../cpu/cpu1/topology/cluster_cpus_list | 1 +
.../cpu/cpu1/topology/cluster_id | 1 +
.../cpu/cpu1/topology/core_cpus_list | 1 +
.../cpu/cpu1/topology/core_id | 1 +
.../cpu/cpu1/topology/core_siblings_list | 1 +
.../cpu/cpu1/topology/package_cpus_list | 1 +
.../cpu/cpu1/topology/physical_package_id | 1 +
.../cpu/cpu1/topology/thread_siblings_list | 1 +
.../cpu/cpu2/topology/cluster_cpus_list | 1 +
.../cpu/cpu2/topology/cluster_id | 1 +
.../cpu/cpu2/topology/core_cpus_list | 1 +
.../cpu/cpu2/topology/core_id | 1 +
.../cpu/cpu2/topology/core_siblings_list | 1 +
.../cpu/cpu2/topology/package_cpus_list | 1 +
.../cpu/cpu2/topology/physical_package_id | 1 +
.../cpu/cpu2/topology/thread_siblings_list | 1 +
.../cpu/cpu3/topology/cluster_cpus_list | 1 +
.../cpu/cpu3/topology/cluster_id | 1 +
.../cpu/cpu3/topology/core_cpus_list | 1 +
.../cpu/cpu3/topology/core_id | 1 +
.../cpu/cpu3/topology/core_siblings_list | 1 +
.../cpu/cpu3/topology/package_cpus_list | 1 +
.../cpu/cpu3/topology/physical_package_id | 1 +
.../cpu/cpu3/topology/thread_siblings_list | 1 +
.../cpu/cpu4/topology/cluster_cpus_list | 1 +
.../cpu/cpu4/topology/cluster_id | 1 +
.../cpu/cpu4/topology/core_cpus_list | 1 +
.../cpu/cpu4/topology/core_id | 1 +
.../cpu/cpu4/topology/core_siblings_list | 1 +
.../cpu/cpu4/topology/package_cpus_list | 1 +
.../cpu/cpu4/topology/physical_package_id | 1 +
.../cpu/cpu4/topology/thread_siblings_list | 1 +
.../cpu/cpu5/topology/cluster_cpus_list | 1 +
.../cpu/cpu5/topology/cluster_id | 1 +
.../cpu/cpu5/topology/core_cpus_list | 1 +
.../cpu/cpu5/topology/core_id | 1 +
.../cpu/cpu5/topology/core_siblings_list | 1 +
.../cpu/cpu5/topology/package_cpus_list | 1 +
.../cpu/cpu5/topology/physical_package_id | 1 +
.../cpu/cpu5/topology/thread_siblings_list | 1 +
.../cpu/cpu6/topology/cluster_cpus_list | 1 +
.../cpu/cpu6/topology/cluster_id | 1 +
.../cpu/cpu6/topology/core_cpus_list | 1 +
.../cpu/cpu6/topology/core_id | 1 +
.../cpu/cpu6/topology/core_siblings_list | 1 +
.../cpu/cpu6/topology/package_cpus_list | 1 +
.../cpu/cpu6/topology/physical_package_id | 1 +
.../cpu/cpu6/topology/thread_siblings_list | 1 +
.../cpu/cpu7/topology/cluster_cpus_list | 1 +
.../cpu/cpu7/topology/cluster_id | 1 +
.../cpu/cpu7/topology/core_cpus_list | 1 +
.../cpu/cpu7/topology/core_id | 1 +
.../cpu/cpu7/topology/core_siblings_list | 1 +
.../cpu/cpu7/topology/package_cpus_list | 1 +
.../cpu/cpu7/topology/physical_package_id | 1 +
.../cpu/cpu7/topology/thread_siblings_list | 1 +
.../linux-with-clusters/cpu/online | 1 +
.../linux-with-clusters/cpu/present | 1 +
.../linux-with-clusters/node/node0/cpu0 | 1 +
.../linux-with-clusters/node/node0/cpu1 | 1 +
.../linux-with-clusters/node/node0/cpu2 | 1 +
.../linux-with-clusters/node/node0/cpu3 | 1 +
.../linux-with-clusters/node/node0/cpulist | 1 +
.../linux-with-clusters/node/node1/cpu4 | 1 +
.../linux-with-clusters/node/node1/cpu5 | 1 +
.../linux-with-clusters/node/node1/cpu6 | 1 +
.../linux-with-clusters/node/node1/cpu7 | 1 +
.../linux-with-clusters/node/node1/cpulist | 1 +
.../linux-with-clusters/node/online | 1 +
.../linux-with-clusters/node/possible | 1 +
tests/virhostcputest.c | 1 +
tests/vmx2xmldata/esx-in-the-wild-10.xml | 2 +-
tests/vmx2xmldata/esx-in-the-wild-8.xml | 2 +-
tests/vmx2xmldata/esx-in-the-wild-9.xml | 2 +-
241 files changed, 1044 insertions(+), 276 deletions(-)
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-aarch64-clusters-cpus.json
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-aarch64-clusters-hotplug.json
create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-aarch64-clusters.data
copy tests/qemuxml2argvdata/{cpu-topology2.x86_64-latest.args => cpu-topology5.aarch64-latest.args} (69%)
create mode 100644 tests/qemuxml2argvdata/cpu-topology5.xml
create mode 100644 tests/qemuxml2xmloutdata/cpu-topology5.aarch64-latest.xml
create mode 120000 tests/vircaps2xmldata/linux-basic-clusters/system/cpu
create mode 120000 tests/vircaps2xmldata/linux-basic-clusters/system/node
create mode 100644 tests/vircaps2xmldata/vircaps-aarch64-basic-clusters.xml
create mode 100644 tests/virhostcpudata/linux-aarch64-with-clusters.cpuinfo
create mode 100644 tests/virhostcpudata/linux-aarch64-with-clusters.expected
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu0/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu1/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu2/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu3/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu4/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu5/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu6/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/cluster_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/cluster_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/core_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/core_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/core_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/package_cpus_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/physical_package_id
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/cpu7/topology/thread_siblings_list
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/online
create mode 100644 tests/virhostcpudata/linux-with-clusters/cpu/present
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node0/cpu0
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node0/cpu1
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node0/cpu2
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node0/cpu3
create mode 100644 tests/virhostcpudata/linux-with-clusters/node/node0/cpulist
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node1/cpu4
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node1/cpu5
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node1/cpu6
create mode 120000 tests/virhostcpudata/linux-with-clusters/node/node1/cpu7
create mode 100644 tests/virhostcpudata/linux-with-clusters/node/node1/cpulist
create mode 100644 tests/virhostcpudata/linux-with-clusters/node/online
create mode 100644 tests/virhostcpudata/linux-with-clusters/node/possible
--
2.43.0
2
19
Signed-off-by: Laine Stump <laine(a)redhat.com>
---
NEWS.rst | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index af3c4906df..fed50aae86 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -37,6 +37,15 @@ v10.0.0 (unreleased)
``virDomainBlockResize`` allows resizing a block-device backed ``raw`` disk
of a VM without the need to specify the full size of the block device.
+ * qemu: automatic selection/binding of VFIO variant drivers
+
+ When a device is assigned to a guest using VFIO with ``<hostdev
+ managed='yes'>``, libvirt will now search the running kernel's
+ modules.alias file for the most specific match to that device for
+ a VFIO driver, and bind that driver to the device rather than
+ vfio-pci. A specific driver can also be forced, using the
+ ``<driver model='plugh'/>`` attribute.
+
* **Improvements**
* qemu: Improve migration XML use when persisting VM on destination
--
2.43.0
2
2
The 10.0.0 release of both libvirt and libvirt-python is tagged and
signed tarballs and source RPMs are available at
https://download.libvirt.org/
https://download.libvirt.org/python/
Thanks everybody who helped with this release by sending patches,
reviewing, testing, or providing feedback. Your work is greatly
appreciated.
* New features
* qemu: Enable ``postcopy-preempt`` migration capability
Post-copy migrations are now started with ``postcopy-preempt``
capability enabled as long as it is supported by both sides of migration.
This should enable faster migration of memory pages that the destination
tries to read before they are migrated from the source.
* qemu: Add support for mapping iothreads to virtqueues of ``virtio-blk`` devices
QEMU added the possibility to map multiple ``iothreads`` to a single
``virtio-blk`` device and map them even to specific virtqueues. Libvirt
adds a ``<iothreads>`` subelement of the ``<disk> <driver>`` element that
users can use to configure the mapping.
* qemu: Allow automatic resize of block-device-backed disk to full size of the device
The new flag ``VIR_DOMAIN_BLOCK_RESIZE_CAPACITY`` for
``virDomainBlockResize`` allows resizing a block-device backed ``raw`` disk
of a VM without the need to specify the full size of the block device.
* qemu: automatic selection/binding of VFIO variant drivers
When a device is assigned to a guest using VFIO with ``<hostdev
managed='yes'>``, libvirt will now search the running kernel's
modules.alias file for the most specific match to that device for
a VFIO driver, and bind that driver to the device rather than
vfio-pci. A specific driver can also be forced, using the
``<driver model='plugh'/>`` attribute.
* qemu: add runtime configuration option for nbdkit
Since the new nbdkit support requires a recent selinux policy that is not
widely available yet, it is now possible to build libvirt with nbdkit
support for remote disks but disabled at runtime. This behavior is
controlled via the storage_use_nbdkit option of the qemu driver
configuration file. The option will default to being disabled, but this may
change in a future release and can be customized with the
nbdkit_config_default build option.
* Improvements
* qemu: Improve migration XML use when persisting VM on destination
When migrating a VM with a custom migration XML, use it as a base for
persisting it on the destination as users could have changed non-ABI
breaking facts which would prevent subsequent start if the old XML were used.
* qemu: Simplify non-shared storage migration to ``raw`` block devices
The phase of copying storage during migration without shared storage
requires that both the source and destination image are identical in size.
This may not be possible if the destination is backed by a block device
and the source image size is not a multiple of the block device block size.
Libvirt aleviates this by automatically adding a ``<slice>`` to match the
size of the source image rather than failing the migration.
* test driver: Support for hotplug/hotunplug of PCI devices
The test driver now supports basic hotplug and hotunplug of PCI devices.
* Bug fixes
* qemu: Various migration bug fixes and debuggability improvement
This release fixes multiple bugs in virsh and libvirt in handling of
migration arguments and XMLs and modifies error reporting for better
debugging.
* conf: Restore setting default bus for input devices
Because of a regression, starting from 9.3.0 libvirt did not autofill bus
for input devices. With this release the regression was identified and
fixed.
* qemu: Relax check for memory device coldplug
Because of a check that was too aggressive, a virtio-mem memory device
could not be cold plugged. This is now fixed.
* qemu: Be less aggressive when dropping channel source paths
Another regression is resolved, (introduced in 9.7.0) when libvirt was too
aggressive when dropping parsed paths for <channel/> sources
* qemuDomainChangeNet: Reflect trustGuestRxFilters change
On device-update, when a user requested change of trustGuestRxFilters for a
domain's <interface/> libvirt did nothing. It did not throw an error nor
did it reflect the change. Starting with this release, the change is
reflected.
Enjoy.
Jirka
1
0
Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
NEWS.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index af3c4906df..8088097ad6 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -37,6 +37,16 @@ v10.0.0 (unreleased)
``virDomainBlockResize`` allows resizing a block-device backed ``raw`` disk
of a VM without the need to specify the full size of the block device.
+ * qemu: add runtime configuration option for nbdkit
+
+ Since the new nbdkit support requires a recent selinux policy that is not
+ widely available yet, it is now possible to build libvirt with nbdkit
+ support for remote disks but disabled at runtime. This behavior is
+ controlled via the storage_use_nbdkit option of the qemu driver
+ configuration file. The option will default to being disabled, but this may
+ change in a future release and can be customized with the
+ nbdkit_config_default build option.
+
* **Improvements**
* qemu: Improve migration XML use when persisting VM on destination
--
2.43.0
2
1
v3:
- adjust the parameter check location for suggested by Michal
- mark the VIR_MIGRATE_DIRTY_LIMIT flag since 10.0.0
- rebase on master
Thanks Michal for the comments.
Please review,
Yong.
v1:
The dirty-limit functionality for live migration was
introduced since qemu>=8.1.
In the live migration scenario, it implements the force
convergence using the dirty-limit approach, which results
in better reliable read performance.
A straightforward dirty-limit capability for live migration
is added by this patchset. Users might not care about other
dirty-limit arguments like "x-vcpu-dirty-limit-period"
or "vcpu-dirty-limit," thus do not expose them to Libvirt
and Keep the default configurations and values in place.
For more details about dirty-limit, please see the following
reference:
https://lore.kernel.org/qemu-
devel/169024923116.19090.10825599068950039132-0(a)git.sr.ht/
Hyman Huang (4):
Add VIR_MIGRATE_DIRTY_LIMIT flag
qemu_migration: Implement VIR_MIGRATE_DIRTY_LIMIT flag
virsh: Add support for VIR_MIGRATE_DIRTY_LIMIT flag
NEWS: document support for dirty-limit live migration
NEWS.rst | 8 ++++++++
docs/manpages/virsh.rst | 10 +++++++++-
include/libvirt/libvirt-domain.h | 5 +++++
src/libvirt-domain.c | 8 ++++++++
src/qemu/qemu_migration.c | 8 ++++++++
src/qemu/qemu_migration.h | 1 +
src/qemu/qemu_migration_params.c | 6 ++++++
src/qemu/qemu_migration_params.h | 1 +
tools/virsh-domain.c | 6 ++++++
9 files changed, 52 insertions(+), 1 deletion(-)
--
2.39.1
2
5
12 Jan '24
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
NEWS.rst | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index af3c4906df..e8cc89a2ee 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -55,6 +55,10 @@ v10.0.0 (unreleased)
Libvirt aleviates this by automatically adding a ``<slice>`` to match the
size of the source image rather than failing the migration.
+ * test driver: Support for hotplug/hotunplug of PCI devices
+
+ The test driver now supports basic hotplug and hotunplug of PCI devices.
+
* **Bug fixes**
* qemu: Various migration bug fixes and debuggability improvement
@@ -63,6 +67,29 @@ v10.0.0 (unreleased)
migration arguments and XMLs and modifies error reporting for better
debugging.
+ * conf: Restore setting default bus for input devices
+
+ Because of a regression, starting from 9.3.0 libvirt did not autofill bus
+ for input devices. With this release the regression was identified and
+ fixed.
+
+ * qemu: Relax check for memory device coldplug
+
+ Because of too aggressive check, a virtio-mem memory device could not be
+ cold plugged. This now fixed.
+
+ * qemu: Be less aggressive when dropping channel source paths
+
+ Another regression is resolved, (introduced in 9.7.0) when libvirt was too
+ aggressive when dropping parsed paths for <channel/> sources
+
+ * qemuDomainChangeNet: Reflect trustGuestRxFilters change
+
+ On device-update, when user requests change of trustGuestRxFilters for a
+ domain's <interface/> libvirt did nothing. Neither it thrown an error nor
+ did it reflect the change. Starting with this release, the change is
+ reflected.
+
v9.10.0 (2023-12-01)
====================
--
2.41.0
2
1
Or at least, hopefully it does!
This is completely untested, as validating changes to the integration
tests is difficult/annoying. The job's currently broken anyway, so
it's not like these changes could possibly make things worse :)
Andrea Bolognani (2):
ci: Fix .integration_tests_upstream_qemu
ci: Do more as part of .qemu-build-template
ci/integration-template.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
2.43.0
2
3