[libvirt] [PATCH 00/19] Start altering storage code to privatize of the object
by John Ferlan
Begin the process of making adjustments to the storage pool and volume code
in order to privatize the virStoragePoolObj and virStoragePoolObjList
Didn't want to post 40+ patches at one time... This is the first storage
pile including some test driver cleanups w/r/t storage code.
John Ferlan (19):
test: Fix up formatting in storage test API's
test: Use consistent variable names for storage test driver APIs
test: Cleanup exit/failure paths of some storage pool APIs
test: Add helpers to fetch active/inactive storage pool by name
test: Add testStorageVolDefFindByName for storage volume tests
storage: Fix return value checks for virAsprintf
storage: Use consistent variable names in virstorageobj
storage: Use consistent variable names for driver
storage: Alter volume num, name, and export API's to just take obj
storage: Create accessor API's for virStoragePoolObj
storage: Introduce virStoragePoolObjNew
storage: Introduce virStoragePoolObj{Get|Set}Autostart
storage: Move autostartLink deletion to virstorageobj
storage: Introduce storage volume add, delete, count APIs
storage: Introduce virStoragePoolObjForEachVolume
storage: Use virStoragePoolObj accessors for driver
storage: Use virStoragePoolObj accessors for storage test API's
storage: Use virStoragePoolObj accessors for storage_util
storage: Change storage_util to use obj instead of pool
src/conf/virstorageobj.c | 568 +++++++++-----
src/conf/virstorageobj.h | 84 +-
src/libvirt_private.syms | 16 +
src/storage/storage_backend_disk.c | 31 +-
src/storage/storage_backend_gluster.c | 3 +-
src/storage/storage_backend_logical.c | 5 +-
src/storage/storage_backend_mpath.c | 3 +-
src/storage/storage_backend_rbd.c | 12 +-
src/storage/storage_backend_sheepdog.c | 8 +-
src/storage/storage_backend_zfs.c | 9 +-
src/storage/storage_driver.c | 1308 ++++++++++++++++----------------
src/storage/storage_driver.h | 4 +-
src/storage/storage_util.c | 200 ++---
src/storage/storage_util.h | 30 +-
src/test/test_driver.c | 780 +++++++++----------
15 files changed, 1614 insertions(+), 1447 deletions(-)
--
2.9.3
7 years, 4 months
[libvirt] [PATCH v2 0/3] qemu: Enable NUMA node tag in pci-root for PPC64
by Shivaprasad G Bhat
This series addresses the same aspects on PPC the bug 1103314 addressed
on x86. It sets the target numa node in the pci-root instead of
using the pci-expander-bus.
The patch 2 & 3 were sent earlier and was suggested to wait for the multi-phb
support. Here, https://www.redhat.com/archives/libvir-list/2016-November/msg00403.html
Now that multi-phb support is in, this version takes the multi-phb scenarios
into account. Specifying NUMA node for the default PHB is prevented and let
me know if that should be allowed. Patch 3 has more details.
Relavent discussion :
https://www.redhat.com/archives/libvir-list/2017-July/msg00383.html
---
Shivaprasad G Bhat (3):
Add capabilities for qemu-2.9.0 ppc64
qemu: capabilitity: Introduce QEMU_CAPS_SPAPR_PCI_HOST_BRIDGE_NUMA_NODE
qemu: Enable NUMA node tag in pci-root for PPC64
docs/formatdomain.html.in | 5
src/conf/domain_conf.c | 6
src/qemu/qemu_capabilities.c | 8
src/qemu/qemu_capabilities.h | 1
src/qemu/qemu_command.c | 10
src/qemu/qemu_domain.c | 9
.../caps_2.6.0.ppc64le.replies | 60
.../caps_2.9.0.ppc64le.replies |19274 ++++++++++++++++++++
tests/qemucapabilitiesdata/caps_2.9.0.ppc64le.xml | 1063 +
tests/qemucapabilitiestest.c | 1
...muxml2argv-spapr-pci-host-bridge-numa-node.args | 29
...emuxml2argv-spapr-pci-host-bridge-numa-node.xml | 54
tests/qemuxml2argvtest.c | 3
13 files changed, 20514 insertions(+), 9 deletions(-)
create mode 100644 tests/qemucapabilitiesdata/caps_2.9.0.ppc64le.replies
create mode 100644 tests/qemucapabilitiesdata/caps_2.9.0.ppc64le.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-spapr-pci-host-bridge-numa-node.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-spapr-pci-host-bridge-numa-node.xml
--
Signature
7 years, 4 months
[libvirt] [PATCH v2 0/3] Fix a couple issues found w/ vHBA logic
by John Ferlan
v1: https://www.redhat.com/archives/libvir-list/2017-July/msg00029.html
Changes in v2:
Rewrote patch 1 to resolve (new) bz1472277. This can also be cherry
picked into 3.2-maint (and any others that get created).
Added patch 2 - it's obvious why
Adjusted patch 3 to make the change in storage rather than conf, but
removed the change to the checkParent condition since that's fixed
in patch 1. The change to checkParent is the same though.
John Ferlan (3):
storage: Fix existing parent check for vHBA creation
storage: Remove @conn from virNodeDeviceCreateVport
conf: Fix vHBA checkParent logic for pool creation
src/conf/node_device_conf.c | 63 ++------------------------
src/conf/node_device_conf.h | 3 +-
src/storage/storage_backend_scsi.c | 92 +++++++++++++++++++++++++++++++++++++-
3 files changed, 95 insertions(+), 63 deletions(-)
--
2.9.4
7 years, 4 months
Re: [libvirt] [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic"
by Eric Blake
[adding libvirt]
On 07/19/2017 07:41 AM, Eduardo Habkost wrote:
>> virsh qemu-monitor-command --domain rhel6.8 --hmp --cmd "cpu 1"
>> virsh qemu-monitor-command --domain rhel6.8 --hmp --cmd "info lapic"
>> dumping local APIC state for CPU 0
>
> Right, the "cpu" command is useless inside a
> 'human-monitor-command' QMP command. The 'cpu-index' argument
> should be used instead. should make "cpu" print an error if ran
> inside 'human-monitor-command' instead of silently pretend it
> worked.
>
> If virsh doesn't support the 'cpu-index' argument to
> 'human-monitor-command',
It doesn't. Perhaps we should add that as a future libvirt-qemu.so API
addition, although it's probably easier to just use QMP than HMP when
using 'virsh qemu-monitor-command' if HMP doesn't do what you want.
> it's possible to work around that
> limitation by building your own QMP command. e.g.:
>
> # virsh qemu-monitor-command f26test '{"execute":"human-monitor-command", "arguments":{"command-line":"info lapic", "cpu-index":1}}' | jq -r '.return'
Indeed, there's the use of QMP to work around the HMP deficiency.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
7 years, 4 months
[libvirt] [PATCH 00/12] qemu: support chardev for all machvirt config
by Cole Robinson
Drew pointed out that we can use -chardev with machvirt platform
serial devices like:
-chardev pty,id=foo
-serial chardev:foo
And indeed it looks like qemu has supported this for as long as -chardev
has been around. Wiring this up will enable all the modern -chardev
features for every machvirt config (and some other arch/machine types).
However just enabling that change is going to cause a lot of unneeded
test suite churn, due to the fact that some code is still checking for
qemu -chardev support, even though our minimum qemu version always has
chardev nowadays. So take the opportunity to exorcise QEMU_CAPS_CHARDEV
* Patch 1 reverts Christopher's recent patch, to unbreak existing configs
* Patch 2-3 make pci-serial work for machvirt and demonstrate it with a
test suite change.
* Patch 4-10 slowly strip out QEMU_CAPS_DEVICE
* Patch 11 adds -chardev support for platform serial devices
* Patch 12 is a cleanup
Cole Robinson (12):
Revert "qemu: Support chardevs with ARM virt machines"
qemu: caps: Tweak arm conditional in SupportsChardev
tests: qemuxml2argv: Add an aarch64 pci-serial test
qemu: command: Remove old style -parallel building
qemu: command: Drop some QEMU_CAPS_CHARDEV checks
qemu: command: always use -chardev for monitor config
tests: qemuxml2argv: drop redundant serial testing
tests: qemuxml2argv: Drop old style serial testing
tests: qemuxml2argv: Add some QEMU_CAPS_CHARDEV annotations
qemu: caps: blacklist QEMU_CAPS_CHARDEV
qemu: command: support -chardev for platform devices
qemu: Rename SupportsChardev to IsPlatformDevice
src/qemu/qemu_capabilities.c | 46 +---
src/qemu/qemu_capabilities.h | 6 +-
src/qemu/qemu_command.c | 243 ++++++---------------
src/qemu/qemu_process.c | 9 +-
tests/qemucapabilitiesdata/caps_1.2.2.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_1.3.1.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_1.4.2.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml | 1 -
.../caps_2.6.0-gicv2.aarch64.xml | 1 -
.../caps_2.6.0-gicv3.aarch64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml | 1 -
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml | 1 -
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml | 1 -
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml | 1 -
tests/qemucapabilitiesdata/caps_2.9.50.s390x.xml | 1 -
tests/qemuhelptest.c | 5 -
.../qemuxml2argv-aarch64-aavmf-virtio-mmio.args | 4 +-
.../qemuxml2argv-aarch64-acpi-uefi.args | 4 +-
.../qemuxml2argv-aarch64-cpu-passthrough.args | 4 +-
.../qemuxml2argv-aarch64-gic-host.args | 4 +-
.../qemuxml2argv-aarch64-gic-none-tcg.args | 4 +-
.../qemuxml2argv-aarch64-gic-v2.args | 4 +-
.../qemuxml2argv-aarch64-gic-v3.args | 4 +-
.../qemuxml2argv-aarch64-kvm-32-on-64.args | 7 +-
.../qemuxml2argv-aarch64-noacpi-nouefi.args | 4 +-
.../qemuxml2argv-aarch64-noacpi-uefi.args | 4 +-
.../qemuxml2argv-aarch64-pci-serial.args | 26 +++
.../qemuxml2argv-aarch64-pci-serial.xml | 17 ++
...muxml2argv-aarch64-usb-controller-nec-xhci.args | 4 +-
...uxml2argv-aarch64-usb-controller-qemu-xhci.args | 4 +-
.../qemuxml2argv-aarch64-video-virtio-gpu-pci.args | 4 +-
...l2argv-aarch64-virt-2.6-virtio-pci-default.args | 7 +-
.../qemuxml2argv-aarch64-virt-default-nic.args | 5 +-
.../qemuxml2argv-aarch64-virt-virtio.args | 7 +-
.../qemuxml2argv-aarch64-virtio-pci-default.args | 7 +-
...l2argv-aarch64-virtio-pci-manual-addresses.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-acpi-table.args | 4 +-
.../qemuxml2argv-arm-vexpressa9-basic.args | 7 +-
.../qemuxml2argv-arm-vexpressa9-nodevs.args | 4 +-
.../qemuxml2argv-arm-vexpressa9-virtio.args | 7 +-
.../qemuxml2argv-arm-virt-virtio.args | 7 +-
tests/qemuxml2argvdata/qemuxml2argv-autoindex.args | 4 +-
.../qemuxml2argv-balloon-ccw-deflate.args | 4 +-
.../qemuxml2argv-balloon-device-auto.args | 4 +-
.../qemuxml2argv-balloon-device-deflate-off.args | 4 +-
.../qemuxml2argv-balloon-device-deflate.args | 4 +-
.../qemuxml2argv-balloon-device-period.args | 4 +-
.../qemuxml2argv-balloon-device.args | 4 +-
.../qemuxml2argv-balloon-mmio-deflate.args | 4 +-
.../qemuxml2argv-bios-nvram-secure.args | 5 +-
.../qemuxml2argv-bios-nvram-secure.xml | 6 -
.../qemuxml2argvdata/qemuxml2argv-bios-nvram.args | 5 +-
tests/qemuxml2argvdata/qemuxml2argv-bios-nvram.xml | 6 -
tests/qemuxml2argvdata/qemuxml2argv-bios.args | 7 +-
.../qemuxml2argv-blkdeviotune-group-num.args | 4 +-
.../qemuxml2argv-blkdeviotune-max-length.args | 4 +-
.../qemuxml2argv-blkdeviotune-max.args | 4 +-
.../qemuxml2argv-blkdeviotune.args | 4 +-
.../qemuxml2argv-blkiotune-device.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-blkiotune.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-boot-cdrom.args | 4 +-
.../qemuxml2argv-boot-complex-bootindex.args | 4 +-
.../qemuxml2argv-boot-complex.args | 4 +-
.../qemuxml2argv-boot-floppy-q35.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-boot-floppy.args | 4 +-
...xml2argv-boot-menu-disable-drive-bootindex.args | 4 +-
.../qemuxml2argv-boot-menu-disable-drive.args | 4 +-
.../qemuxml2argv-boot-menu-disable.args | 4 +-
.../qemuxml2argv-boot-menu-enable-bootindex.args | 4 +-
...qemuxml2argv-boot-menu-enable-with-timeout.args | 4 +-
.../qemuxml2argv-boot-menu-enable.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-boot-multi.args | 4 +-
.../qemuxml2argv-boot-network.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-boot-order.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-boot-strict.args | 4 +-
.../qemuxml2argv-bootindex-floppy-q35.args | 4 +-
.../qemuxml2argv-channel-spicevmc-old.args | 4 +-
.../qemuxml2argv-channel-spicevmc.args | 4 +-
.../qemuxml2argv-clock-catchup.args | 4 +-
.../qemuxml2argv-clock-france.args | 4 +-
.../qemuxml2argv-clock-hpet-off.args | 4 +-
...muxml2argv-clock-localtime-basis-localtime.args | 4 +-
.../qemuxml2argv-clock-localtime.args | 4 +-
.../qemuxml2argv-clock-timer-hyperv-rtc.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-clock-utc.args | 4 +-
.../qemuxml2argv-clock-variable.args | 4 +-
.../qemuxml2argv-console-compat-auto.args | 7 +-
.../qemuxml2argv-console-compat.args | 7 +-
.../qemuxml2argv-cpu-Haswell-noTSX.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-cpu-Haswell.args | 4 +-
.../qemuxml2argv-cpu-Haswell2.args | 4 +-
.../qemuxml2argv-cpu-Haswell3.args | 4 +-
.../qemuxml2argv-cpu-cache-disable.args | 4 +-
.../qemuxml2argv-cpu-cache-disable2.args | 4 +-
.../qemuxml2argv-cpu-cache-disable3.args | 4 +-
.../qemuxml2argv-cpu-cache-emulate-l3.args | 4 +-
.../qemuxml2argv-cpu-cache-passthrough.args | 4 +-
.../qemuxml2argv-cpu-cache-passthrough2.args | 4 +-
.../qemuxml2argv-cpu-check-default-none.args | 4 +-
.../qemuxml2argv-cpu-check-default-none2.args | 4 +-
.../qemuxml2argv-cpu-check-default-partial.args | 4 +-
.../qemuxml2argv-cpu-check-default-partial2.args | 4 +-
.../qemuxml2argv-cpu-check-none.args | 4 +-
.../qemuxml2argv-cpu-eoi-disabled.args | 4 +-
.../qemuxml2argv-cpu-eoi-enabled.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-cpu-exact1.args | 4 +-
.../qemuxml2argv-cpu-exact2-nofallback.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-cpu-exact2.args | 4 +-
.../qemuxml2argv-cpu-fallback.args | 4 +-
.../qemuxml2argv-cpu-host-kvmclock.args | 4 +-
.../qemuxml2argv-cpu-host-model-cmt.args | 4 +-
.../qemuxml2argv-cpu-host-model-fallback.args | 4 +-
.../qemuxml2argv-cpu-host-model-vendor.args | 4 +-
.../qemuxml2argv-cpu-host-model.args | 4 +-
...qemuxml2argv-cpu-host-passthrough-features.args | 4 +-
.../qemuxml2argv-cpu-host-passthrough.args | 4 +-
.../qemuxml2argv-cpu-hotplug-startup.args | 4 +-
.../qemuxml2argv-cpu-kvmclock.args | 4 +-
.../qemuxml2argv-cpu-minimum1.args | 4 +-
.../qemuxml2argv-cpu-minimum2.args | 4 +-
.../qemuxml2argv-cpu-numa-disjoint.args | 4 +-
.../qemuxml2argv-cpu-numa-memshared.args | 4 +-
.../qemuxml2argv-cpu-numa-no-memory-element.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-cpu-numa1.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-cpu-numa2.args | 4 +-
.../qemuxml2argv-cpu-s390-features.args | 4 +-
.../qemuxml2argv-cpu-s390-zEC12.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-cpu-strict1.args | 4 +-
.../qemuxml2argv-cpu-topology1.args | 4 +-
.../qemuxml2argv-cpu-topology2.args | 4 +-
.../qemuxml2argv-cpu-topology3.args | 4 +-
.../qemuxml2argv-cpu-tsc-frequency.args | 4 +-
.../qemuxml2argv-cputune-numatune.args | 4 +-
.../qemuxml2argv-cputune-zero-shares.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-cputune.args | 4 +-
.../qemuxml2argv-debug-threads.args | 4 +-
.../qemuxml2argv-default-kvm-host-arch.args | 4 +-
.../qemuxml2argv-default-qemu-host-arch.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.args | 4 +-
.../qemuxml2argv-disk-blockio.args | 4 +-
.../qemuxml2argv-disk-cdrom-empty.args | 4 +-
.../qemuxml2argv-disk-cdrom-network-ftp.args | 4 +-
.../qemuxml2argv-disk-cdrom-network-ftps.args | 4 +-
.../qemuxml2argv-disk-cdrom-network-http.args | 4 +-
.../qemuxml2argv-disk-cdrom-network-https.args | 4 +-
.../qemuxml2argv-disk-cdrom-network-tftp.args | 4 +-
...qemuxml2argv-disk-cdrom-tray-no-device-cap.args | 4 +-
.../qemuxml2argv-disk-cdrom-tray.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-disk-cdrom.args | 4 +-
.../qemuxml2argv-disk-copy_on_read.args | 5 +-
.../qemuxml2argv-disk-copy_on_read.xml | 6 -
.../qemuxml2argv-disk-drive-boot-cdrom.args | 4 +-
.../qemuxml2argv-disk-drive-boot-disk.args | 4 +-
.../qemuxml2argv-disk-drive-cache-directsync.args | 4 +-
.../qemuxml2argv-disk-drive-cache-unsafe.args | 4 +-
.../qemuxml2argv-disk-drive-cache-v2-none.args | 4 +-
.../qemuxml2argv-disk-drive-cache-v2-wb.args | 4 +-
.../qemuxml2argv-disk-drive-cache-v2-wt.args | 4 +-
.../qemuxml2argv-disk-drive-copy-on-read.args | 4 +-
.../qemuxml2argv-disk-drive-detect-zeroes.args | 4 +-
.../qemuxml2argv-disk-drive-discard.args | 4 +-
...uxml2argv-disk-drive-error-policy-enospace.args | 4 +-
.../qemuxml2argv-disk-drive-error-policy-stop.args | 4 +-
...gv-disk-drive-error-policy-wreport-rignore.args | 4 +-
.../qemuxml2argv-disk-drive-fmt-qcow.args | 4 +-
.../qemuxml2argv-disk-drive-network-gluster.args | 4 +-
...qemuxml2argv-disk-drive-network-iscsi-auth.args | 4 +-
.../qemuxml2argv-disk-drive-network-iscsi-lun.args | 4 +-
.../qemuxml2argv-disk-drive-network-iscsi.args | 4 +-
...qemuxml2argv-disk-drive-network-nbd-export.args | 4 +-
...ml2argv-disk-drive-network-nbd-ipv6-export.args | 4 +-
.../qemuxml2argv-disk-drive-network-nbd-ipv6.args | 4 +-
.../qemuxml2argv-disk-drive-network-nbd-unix.args | 4 +-
.../qemuxml2argv-disk-drive-network-nbd.args | 4 +-
...muxml2argv-disk-drive-network-rbd-auth-AES.args | 4 +-
.../qemuxml2argv-disk-drive-network-rbd-auth.args | 4 +-
.../qemuxml2argv-disk-drive-network-rbd-ipv6.args | 4 +-
.../qemuxml2argv-disk-drive-network-rbd.args | 4 +-
.../qemuxml2argv-disk-drive-network-sheepdog.args | 4 +-
.../qemuxml2argv-disk-drive-no-boot.args | 4 +-
.../qemuxml2argv-disk-drive-readonly-disk.args | 4 +-
...qemuxml2argv-disk-drive-readonly-no-device.args | 4 +-
.../qemuxml2argv-disk-drive-shared.args | 4 +-
...emuxml2argv-disk-floppy-tray-no-device-cap.args | 4 +-
.../qemuxml2argv-disk-floppy-tray.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-disk-floppy.args | 4 +-
.../qemuxml2argv-disk-geometry.args | 4 +-
.../qemuxml2argv-disk-ide-drive-split.args | 4 +-
.../qemuxml2argv-disk-ide-wwn.args | 4 +-
.../qemuxml2argv-disk-ioeventfd.args | 5 +-
.../qemuxml2argv-disk-ioeventfd.xml | 6 -
.../qemuxml2argvdata/qemuxml2argv-disk-iscsi.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-disk-many.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-disk-order.args | 4 +-
.../qemuxml2argv-disk-sata-device.args | 4 +-
.../qemuxml2argv-disk-scsi-device-auto.args | 4 +-
.../qemuxml2argv-disk-scsi-device.args | 4 +-
.../qemuxml2argv-disk-scsi-disk-split.args | 4 +-
.../qemuxml2argv-disk-scsi-disk-vpd.args | 4 +-
.../qemuxml2argv-disk-scsi-disk-wwn.args | 4 +-
.../qemuxml2argv-disk-scsi-lun-passthrough.args | 4 +-
.../qemuxml2argv-disk-scsi-megasas.args | 4 +-
.../qemuxml2argv-disk-scsi-mptsas1068.args | 4 +-
.../qemuxml2argv-disk-scsi-virtio-scsi.args | 4 +-
.../qemuxml2argv-disk-scsi-vscsi.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-disk-serial.args | 4 +-
.../qemuxml2argv-disk-snapshot.args | 4 +-
.../qemuxml2argv-disk-source-pool-mode.args | 4 +-
.../qemuxml2argv-disk-source-pool.args | 4 +-
.../qemuxml2argv-disk-usb-device-removable.args | 4 +-
.../qemuxml2argv-disk-usb-device.args | 4 +-
.../qemuxml2argv-disk-virtio-ccw-many.args | 4 +-
.../qemuxml2argv-disk-virtio-ccw.args | 4 +-
.../qemuxml2argv-disk-virtio-s390.args | 4 +-
.../qemuxml2argv-disk-virtio-scsi-ccw.args | 4 +-
.../qemuxml2argv-disk-virtio-scsi-cmd_per_lun.args | 4 +-
.../qemuxml2argv-disk-virtio-scsi-ioeventfd.args | 4 +-
.../qemuxml2argv-disk-virtio-scsi-max_sectors.args | 4 +-
.../qemuxml2argv-disk-virtio-scsi-num_queues.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-disk-virtio.args | 4 +-
.../qemuxml2argv-encrypted-disk-usage.args | 4 +-
.../qemuxml2argv-encrypted-disk.args | 4 +-
.../qemuxml2argv-eoi-disabled.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-eoi-enabled.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-event_idx.args | 5 +-
tests/qemuxml2argvdata/qemuxml2argv-event_idx.xml | 6 -
.../qemuxml2argv-fd-memory-no-numa-topology.args | 4 +-
.../qemuxml2argv-fd-memory-numa-topology.args | 4 +-
.../qemuxml2argv-fd-memory-numa-topology2.args | 4 +-
.../qemuxml2argv-fd-memory-numa-topology3.args | 4 +-
.../qemuxml2argv-fips-enabled.args | 4 +-
.../qemuxml2argv-floppy-drive-fat.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-fs9p-ccw.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-fs9p.args | 4 +-
.../qemuxml2argv-graphics-sdl-fullscreen.args | 4 +-
.../qemuxml2argv-graphics-sdl.args | 4 +-
...emuxml2argv-graphics-spice-agent-file-xfer.args | 4 +-
.../qemuxml2argv-graphics-spice-agentmouse.args | 4 +-
...emuxml2argv-graphics-spice-auto-socket-cfg.args | 4 +-
.../qemuxml2argv-graphics-spice-auto-socket.args | 4 +-
.../qemuxml2argv-graphics-spice-compression.args | 4 +-
.../qemuxml2argv-graphics-spice-no-args.args | 4 +-
.../qemuxml2argv-graphics-spice-qxl-vga.args | 4 +-
.../qemuxml2argv-graphics-spice-sasl.args | 4 +-
.../qemuxml2argv-graphics-spice-socket.args | 4 +-
.../qemuxml2argv-graphics-spice-timeout.args | 5 +-
.../qemuxml2argv-graphics-spice-timeout.xml | 6 -
.../qemuxml2argv-graphics-spice.args | 4 +-
.../qemuxml2argv-graphics-vnc-auto-socket-cfg.args | 4 +-
.../qemuxml2argv-graphics-vnc-auto-socket.args | 4 +-
.../qemuxml2argv-graphics-vnc-no-listen-attr.args | 4 +-
.../qemuxml2argv-graphics-vnc-none.args | 4 +-
.../qemuxml2argv-graphics-vnc-policy.args | 4 +-
...2argv-graphics-vnc-remove-generated-socket.args | 4 +-
.../qemuxml2argv-graphics-vnc-sasl.args | 4 +-
.../qemuxml2argv-graphics-vnc-socket.args | 4 +-
.../qemuxml2argv-graphics-vnc-tls.args | 4 +-
.../qemuxml2argv-graphics-vnc-websocket.args | 4 +-
.../qemuxml2argv-graphics-vnc.args | 4 +-
.../qemuxml2argv-hostdev-mdev-precreated.args | 4 +-
.../qemuxml2argv-hostdev-pci-address-device.args | 4 +-
.../qemuxml2argv-hostdev-pci-address.args | 4 +-
.../qemuxml2argv-hostdev-scsi-lsi-iscsi-auth.args | 4 +-
.../qemuxml2argv-hostdev-scsi-lsi-iscsi.args | 4 +-
.../qemuxml2argv-hostdev-scsi-lsi.args | 4 +-
.../qemuxml2argv-hostdev-scsi-readonly.args | 4 +-
.../qemuxml2argv-hostdev-scsi-vhost-scsi-ccw.args | 4 +-
.../qemuxml2argv-hostdev-scsi-vhost-scsi-pci.args | 4 +-
...emuxml2argv-hostdev-scsi-virtio-iscsi-auth.args | 4 +-
.../qemuxml2argv-hostdev-scsi-virtio-iscsi.args | 4 +-
.../qemuxml2argv-hostdev-scsi-virtio-scsi.args | 4 +-
...muxml2argv-hostdev-usb-address-device-boot.args | 4 +-
.../qemuxml2argv-hostdev-usb-address-device.args | 4 +-
.../qemuxml2argv-hostdev-usb-address.args | 4 +-
.../qemuxml2argv-hostdev-vfio-multidomain.args | 4 +-
.../qemuxml2argv-hostdev-vfio.args | 4 +-
.../qemuxml2argv-hotplug-base.args | 4 +-
.../qemuxml2argv-hugepages-memaccess.args | 4 +-
.../qemuxml2argv-hugepages-memaccess2.args | 4 +-
.../qemuxml2argv-hugepages-numa.args | 5 +-
.../qemuxml2argv-hugepages-numa.xml | 6 -
.../qemuxml2argv-hugepages-pages.args | 4 +-
.../qemuxml2argv-hugepages-pages2.args | 5 +-
.../qemuxml2argv-hugepages-pages3.args | 5 +-
.../qemuxml2argv-hugepages-pages5.args | 5 +-
.../qemuxml2argv-hugepages-pages6.args | 5 +-
.../qemuxml2argv-hugepages-shared.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-hugepages.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-hyperv-off.args | 4 +-
.../qemuxml2argv-hyperv-panic.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-hyperv.args | 4 +-
.../qemuxml2argv-input-usbmouse-addr.args | 4 +-
.../qemuxml2argv-input-usbmouse.args | 4 +-
.../qemuxml2argv-input-usbtablet.args | 4 +-
.../qemuxml2argv-intel-iommu-caching-mode.args | 4 +-
.../qemuxml2argv-intel-iommu-device-iotlb.args | 4 +-
.../qemuxml2argv-intel-iommu-eim.args | 4 +-
.../qemuxml2argv-intel-iommu-ioapic.args | 4 +-
.../qemuxml2argv-intel-iommu-machine.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-intel-iommu.args | 4 +-
.../qemuxml2argv-iothreads-disk-virtio-ccw.args | 4 +-
.../qemuxml2argv-iothreads-disk.args | 4 +-
.../qemuxml2argv-iothreads-ids-partial.args | 4 +-
.../qemuxml2argv-iothreads-ids.args | 4 +-
.../qemuxml2argv-iothreads-virtio-scsi-ccw.args | 4 +-
.../qemuxml2argv-iothreads-virtio-scsi-pci.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-iothreads.args | 4 +-
.../qemuxml2argv-kvm-features-off.args | 4 +-
.../qemuxml2argv-kvm-features.args | 4 +-
.../qemuxml2argv-kvm-pit-delay.args | 4 +-
.../qemuxml2argv-kvm-pit-discard.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-kvm.args | 4 +-
.../qemuxml2argv-kvmclock+eoi-disabled.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-kvmclock.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-luks-disks.args | 4 +-
.../qemuxml2argv-machine-aeskeywrap-off-cap.args | 4 +-
.../qemuxml2argv-machine-aeskeywrap-off-caps.args | 4 +-
.../qemuxml2argv-machine-aeskeywrap-on-cap.args | 4 +-
.../qemuxml2argv-machine-aeskeywrap-on-caps.args | 4 +-
.../qemuxml2argv-machine-aliases1.args | 4 +-
.../qemuxml2argv-machine-aliases2.args | 4 +-
.../qemuxml2argv-machine-core-cfg-off.args | 4 +-
.../qemuxml2argv-machine-core-off.args | 4 +-
.../qemuxml2argv-machine-core-on.args | 4 +-
.../qemuxml2argv-machine-deakeywrap-off-cap.args | 4 +-
.../qemuxml2argv-machine-deakeywrap-off-caps.args | 4 +-
.../qemuxml2argv-machine-deakeywrap-on-cap.args | 4 +-
.../qemuxml2argv-machine-deakeywrap-on-caps.args | 4 +-
.../qemuxml2argv-machine-keywrap-none-caps.args | 4 +-
.../qemuxml2argv-machine-keywrap-none.args | 4 +-
...-machine-loadparm-multiple-disks-nets-s390.args | 4 +-
.../qemuxml2argv-machine-loadparm-net-s390.args | 4 +-
.../qemuxml2argv-machine-loadparm-s390.args | 4 +-
.../qemuxml2argv-machine-smm-opt.args | 4 +-
.../qemuxml2argv-machine-usb-opt.args | 4 +-
.../qemuxml2argv-machine-vmport-opt.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-master-key.args | 4 +-
.../qemuxml2argv-memory-hotplug-dimm-addr.args | 4 +-
.../qemuxml2argv-memory-hotplug-dimm.args | 4 +-
.../qemuxml2argv-memory-hotplug-nvdimm-access.args | 4 +-
.../qemuxml2argv-memory-hotplug-nvdimm-label.args | 4 +-
.../qemuxml2argv-memory-hotplug-nvdimm.args | 4 +-
.../qemuxml2argv-memory-hotplug-ppc64-nonuma.args | 5 +-
.../qemuxml2argv-memory-hotplug-ppc64-nonuma.xml | 6 -
.../qemuxml2argv-memory-hotplug.args | 4 +-
.../qemuxml2argv-memtune-unlimited.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-memtune.args | 4 +-
.../qemuxml2argv-migrate-numa-unaligned.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-migrate.args | 4 +-
.../qemuxml2argv-minimal-msg-timestamp.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-minimal.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-misc-acpi.args | 4 +-
.../qemuxml2argv-misc-disable-s3.args | 4 +-
.../qemuxml2argv-misc-disable-suspends.args | 4 +-
.../qemuxml2argv-misc-enable-s4.args | 4 +-
.../qemuxml2argv-misc-no-reboot.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-mlock-off.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-mlock-on.args | 4 +-
.../qemuxml2argv-mlock-unsupported.args | 4 +-
.../qemuxml2argv-multifunction-pci-device.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-net-client.args | 4 +-
.../qemuxml2argv-net-eth-hostip.args | 4 +-
.../qemuxml2argv-net-eth-ifname.args | 4 +-
.../qemuxml2argv-net-eth-names.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-net-eth.args | 4 +-
.../qemuxml2argv-net-hostdev-multidomain.args | 4 +-
.../qemuxml2argv-net-hostdev-vfio-multidomain.args | 4 +-
.../qemuxml2argv-net-hostdev-vfio.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-net-hostdev.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-net-mcast.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-net-server.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-net-udp.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-net-user.args | 4 +-
.../qemuxml2argv-net-vhostuser-multiq.args | 4 +-
.../qemuxml2argv-net-vhostuser.args | 4 +-
.../qemuxml2argv-net-virtio-ccw.args | 4 +-
.../qemuxml2argv-net-virtio-device.args | 4 +-
.../qemuxml2argv-net-virtio-disable-offloads.args | 4 +-
.../qemuxml2argv-net-virtio-netdev.args | 4 +-
.../qemuxml2argv-net-virtio-rxqueuesize.args | 4 +-
.../qemuxml2argv-net-virtio-s390.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-net-virtio.args | 4 +-
.../qemuxml2argv-no-kvm-pit-device.args | 4 +-
.../qemuxml2argv-nographics-display.args | 4 +-
.../qemuxml2argv-nographics-vga.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-nographics.args | 4 +-
.../qemuxml2argv-nosharepages.args | 4 +-
...qemuxml2argv-numad-auto-memory-vcpu-cpuset.args | 4 +-
...d-auto-memory-vcpu-no-cpuset-and-placement.args | 4 +-
...muxml2argv-numad-auto-vcpu-static-numatune.args | 4 +-
...qemuxml2argv-numad-static-memory-auto-vcpu.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-numad.args | 4 +-
...qemuxml2argv-numatune-auto-nodeset-invalid.args | 4 +-
.../qemuxml2argv-numatune-auto-prefer.args | 4 +-
.../qemuxml2argv-numatune-memnode-no-memory.args | 4 +-
.../qemuxml2argv-numatune-memnode.args | 4 +-
.../qemuxml2argv-numatune-memory.args | 4 +-
.../qemuxml2argv-panic-double.args | 4 +-
.../qemuxml2argv-panic-no-address.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-panic.args | 4 +-
.../qemuxml2argv-parallel-tcp.args | 22 --
.../qemuxml2argvdata/qemuxml2argv-parallel-tcp.xml | 35 ---
.../qemuxml2argv-pci-autoadd-addr.args | 4 +-
.../qemuxml2argv-pci-autoadd-idx.args | 4 +-
.../qemuxml2argv-pci-autofill-addr.args | 4 +-
.../qemuxml2argv-pci-bridge-many-disks.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-pci-bridge.args | 4 +-
.../qemuxml2argv-pci-expander-bus.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-pci-many.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-pci-rom.args | 4 +-
.../qemuxml2argv-pcie-expander-bus.args | 5 +-
.../qemuxml2argv-pcie-root-port-model-generic.args | 4 +-
.../qemuxml2argv-pcie-root-port-model-ioh3420.args | 4 +-
.../qemuxml2argv-pcie-root-port.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-pcie-root.args | 4 +-
.../qemuxml2argv-pcie-switch-downstream-port.args | 4 +-
.../qemuxml2argv-pcie-switch-upstream-port.args | 4 +-
.../qemuxml2argv-pcihole64-q35.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-pcihole64.args | 4 +-
.../qemuxml2argv-pmu-feature-off.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-pmu-feature.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-ppc-dtb.args | 7 +-
.../qemuxml2argv-ppc64-usb-controller-legacy.args | 4 +-
...emuxml2argv-ppc64-usb-controller-qemu-xhci.args | 4 +-
.../qemuxml2argv-ppc64-usb-controller.args | 4 +-
.../qemuxml2argv-ppce500-serial.args | 3 +-
.../qemuxml2argv-pseries-nvram.args | 4 +-
.../qemuxml2argv-pv-spinlock-disabled.args | 4 +-
.../qemuxml2argv-pv-spinlock-enabled.args | 4 +-
.../qemuxml2argv-q35-acpi-nouefi.args | 4 +-
.../qemuxml2argv-q35-acpi-uefi.args | 4 +-
.../qemuxml2argv-q35-default-devices-only.args | 4 +-
.../qemuxml2argv-q35-multifunction.args | 4 +-
.../qemuxml2argv-q35-noacpi-nouefi.args | 4 +-
.../qemuxml2argv-q35-pci-force-address.args | 4 +-
.../qemuxml2argv-q35-pcie-autoadd.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-q35-pcie.args | 4 +-
.../qemuxml2argv-q35-pm-disable-fallback.args | 4 +-
.../qemuxml2argv-q35-pm-disable.args | 4 +-
.../qemuxml2argv-q35-usb2-multi.args | 4 +-
.../qemuxml2argv-q35-usb2-reorder.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-q35-usb2.args | 4 +-
.../qemuxml2argv-q35-virt-manager-basic.args | 7 +-
.../qemuxml2argv-q35-virtio-pci.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-q35.args | 4 +-
.../qemuxml2argv-qemu-ns-commandline-ns0.args | 4 +-
.../qemuxml2argv-qemu-ns-commandline-ns1.args | 4 +-
.../qemuxml2argv-qemu-ns-commandline.args | 4 +-
...emuxml2argv-qemu-ns-domain-commandline-ns0.args | 4 +-
.../qemuxml2argv-qemu-ns-domain-commandline.args | 4 +-
.../qemuxml2argv-qemu-ns-domain-ns0.args | 4 +-
.../qemuxml2argv-qemu-ns-no-env.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-qemu-ns.args | 4 +-
.../qemuxml2argv-reboot-timeout-disabled.args | 4 +-
.../qemuxml2argv-reboot-timeout-enabled.args | 4 +-
.../qemuxml2argv-restore-v2-fd.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-restore-v2.args | 4 +-
.../qemuxml2argv-seclabel-dac-none.args | 4 +-
.../qemuxml2argv-seclabel-dynamic-baselabel.args | 4 +-
.../qemuxml2argv-seclabel-dynamic-labelskip.args | 4 +-
.../qemuxml2argv-seclabel-dynamic-override.args | 4 +-
.../qemuxml2argv-seclabel-dynamic-relabel.args | 4 +-
.../qemuxml2argv-seclabel-dynamic.args | 4 +-
.../qemuxml2argv-seclabel-none.args | 4 +-
.../qemuxml2argv-seclabel-static-labelskip.args | 4 +-
.../qemuxml2argv-seclabel-static-relabel.args | 4 +-
.../qemuxml2argv-seclabel-static.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-serial-dev.args | 22 --
tests/qemuxml2argvdata/qemuxml2argv-serial-dev.xml | 38 ----
.../qemuxml2argvdata/qemuxml2argv-serial-file.args | 22 --
.../qemuxml2argvdata/qemuxml2argv-serial-file.xml | 38 ----
.../qemuxml2argvdata/qemuxml2argv-serial-many.args | 23 --
.../qemuxml2argvdata/qemuxml2argv-serial-many.xml | 40 ----
.../qemuxml2argvdata/qemuxml2argv-serial-pty.args | 4 +-
.../qemuxml2argv-serial-spiceport-nospice.args | 4 +-
.../qemuxml2argv-serial-tcp-telnet.args | 22 --
.../qemuxml2argv-serial-tcp-telnet.xml | 40 ----
.../qemuxml2argvdata/qemuxml2argv-serial-tcp.args | 22 --
tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.xml | 40 ----
.../qemuxml2argvdata/qemuxml2argv-serial-udp.args | 23 --
tests/qemuxml2argvdata/qemuxml2argv-serial-udp.xml | 44 ----
.../qemuxml2argvdata/qemuxml2argv-serial-unix.args | 22 --
.../qemuxml2argvdata/qemuxml2argv-serial-unix.xml | 38 ----
tests/qemuxml2argvdata/qemuxml2argv-serial-vc.args | 22 --
tests/qemuxml2argvdata/qemuxml2argv-serial-vc.xml | 36 ---
.../qemuxml2argv-shmem-plain-doorbell.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-shmem.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-smbios.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-smp.args | 4 +-
.../qemuxml2argv-sound-device.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-sound.args | 4 +-
.../qemuxml2argv-tpm-passthrough.args | 4 +-
.../qemuxml2argv-usb-controller-default-q35.args | 4 +-
.../qemuxml2argv-usb-controller-explicit-q35.args | 4 +-
.../qemuxml2argv-usb-controller-qemu-xhci.args | 4 +-
.../qemuxml2argv-vcpu-placement-static.args | 4 +-
.../qemuxml2argv-video-device-pciaddr-default.args | 4 +-
.../qemuxml2argv-video-qxl-device-vgamem.args | 4 +-
.../qemuxml2argv-video-qxl-device.args | 4 +-
.../qemuxml2argv-video-qxl-heads.args | 4 +-
.../qemuxml2argv-video-qxl-nodevice.args | 4 +-
.../qemuxml2argv-video-qxl-noheads.args | 4 +-
.../qemuxml2argv-video-qxl-sec-device-vgamem.args | 4 +-
.../qemuxml2argv-video-qxl-sec-device.args | 4 +-
.../qemuxml2argv-video-vga-device-vgamem.args | 4 +-
.../qemuxml2argv-video-vga-device.args | 4 +-
.../qemuxml2argv-video-vga-nodevice.args | 4 +-
.../qemuxml2argv-video-vga-qxl-heads.args | 4 +-
.../qemuxml2argv-video-virtio-gpu-device.args | 4 +-
.../qemuxml2argv-video-virtio-gpu-secondary.args | 4 +-
.../qemuxml2argv-video-virtio-gpu-spice-gl.args | 4 +-
.../qemuxml2argv-video-virtio-gpu-virgl.args | 4 +-
.../qemuxml2argv-video-virtio-vga.args | 4 +-
.../qemuxml2argv-virtio-input-passthrough.args | 4 +-
.../qemuxml2argv-virtio-input.args | 4 +-
.../qemuxml2argvdata/qemuxml2argv-virtio-lun.args | 5 +-
tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.xml | 6 -
.../qemuxml2argv-virtio-options.args | 4 +-
.../qemuxml2argv-virtio-rng-default.args | 4 +-
.../qemuxml2argv-virtio-rng-egd.args | 4 +-
.../qemuxml2argv-virtio-rng-multiple.args | 4 +-
.../qemuxml2argv-virtio-rng-random.args | 4 +-
.../qemuxml2argv-watchdog-device.args | 4 +-
.../qemuxml2argv-watchdog-dump.args | 4 +-
.../qemuxml2argv-watchdog-injectnmi.args | 4 +-
tests/qemuxml2argvdata/qemuxml2argv-watchdog.args | 4 +-
tests/qemuxml2argvtest.c | 200 ++++++++---------
.../qemuxml2xmlout-bios-nvram.xml | 6 -
.../qemuxml2xmlout-disk-copy_on_read.xml | 6 -
.../qemuxml2xmlout-event_idx.xml | 6 -
.../qemuxml2xmlout-graphics-spice-timeout.xml | 6 -
.../qemuxml2xmlout-virtio-lun.xml | 6 -
tests/qemuxml2xmltest.c | 10 -
542 files changed, 1683 insertions(+), 1509 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-pci-serial.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-pci-serial.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-dev.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-dev.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-file.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-file.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-many.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-many.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-tcp.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-udp.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-udp.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-unix.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-unix.xml
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-vc.args
delete mode 100644 tests/qemuxml2argvdata/qemuxml2argv-serial-vc.xml
--
2.13.0
7 years, 4 months
[libvirt] [PATCH v2] qemu: Check for existence of provided *_tls_x509_cert_dir
by John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1458630
Introduce virQEMUDriverConfigSetCertDir which will handle reading the
qemu.conf config file specific setting for default, vnc, spice, chardev,
and migrate. If a setting is provided, then validate the existence of the
directory and overwrite the default set by virQEMUDriverConfigNew.
Update the qemu.conf description for default to describe the consequences
if the default directory path does not exist and as well as the descriptions
for each of the *_tls_x509_cert_dir entries.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
v1: https://www.redhat.com/archives/libvir-list/2017-June/msg01278.html
- Dropped the former 1/2 patch
- Alter the logic of virQEMUDriverConfigSetCertDir to fail instead of
VIR_INFO if an uncommented entry for one of the *_tls_x509_cert_dir
has a path that does not exist. This will cause a libvirtd startup
failure as opposed to the previous logic which would have failed only
when a domain using TLS was started.
- Alter the description for each of the values to more accurately describe
what happens.
src/qemu/qemu.conf | 29 ++++++++++++++++++++---------
src/qemu/qemu_conf.c | 38 +++++++++++++++++++++++++++++++++-----
2 files changed, 53 insertions(+), 14 deletions(-)
diff --git a/src/qemu/qemu.conf b/src/qemu/qemu.conf
index e6c0832..b0ccffb 100644
--- a/src/qemu/qemu.conf
+++ b/src/qemu/qemu.conf
@@ -3,7 +3,7 @@
# defaults are used.
# Use of TLS requires that x509 certificates be issued. The default is
-# to keep them in /etc/pki/qemu. This directory must contain
+# to keep them in /etc/pki/qemu. This directory must exist and contain:
#
# ca-cert.pem - the CA master certificate
# server-cert.pem - the server certificate signed with ca-cert.pem
@@ -13,6 +13,12 @@
#
# dh-params.pem - the DH params configuration file
#
+# If the directory does not exist or does not contain the necessary files,
+# QEMU domains will fail to start if they are configured to use TLS.
+#
+# In order to overwrite the default path alter the following. If the provided
+# path does not exist, then startup will fail.
+#
#default_tls_x509_cert_dir = "/etc/pki/qemu"
@@ -79,8 +85,9 @@
# In order to override the default TLS certificate location for
# vnc certificates, supply a valid path to the certificate directory.
-# If the provided path does not exist then the default_tls_x509_cert_dir
-# path will be used.
+# If the default listed here does not exist, then the default /etc/pki/qemu
+# is used. If uncommented and the provided path does not exist, then startup
+# will fail.
#
#vnc_tls_x509_cert_dir = "/etc/pki/libvirt-vnc"
@@ -164,8 +171,9 @@
# In order to override the default TLS certificate location for
# spice certificates, supply a valid path to the certificate directory.
-# If the provided path does not exist then the default_tls_x509_cert_dir
-# path will be used.
+# If the default listed here does not exist, then the default /etc/pki/qemu
+# is used. If uncommented and the provided path does not exist, then startup
+# will fail.
#
#spice_tls_x509_cert_dir = "/etc/pki/libvirt-spice"
@@ -216,8 +224,9 @@
# In order to override the default TLS certificate location for character
# device TCP certificates, supply a valid path to the certificate directory.
-# If the provided path does not exist then the default_tls_x509_cert_dir
-# path will be used.
+# If the default listed here does not exist, then the default /etc/pki/qemu
+# is used. If uncommented and the provided path does not exist, then startup
+# will fail.
#
#chardev_tls_x509_cert_dir = "/etc/pki/libvirt-chardev"
@@ -252,8 +261,10 @@
# In order to override the default TLS certificate location for migration
# certificates, supply a valid path to the certificate directory. If the
-# provided path does not exist then the default_tls_x509_cert_dir path
-# will be used. Once/if a default certificate is enabled/defined, migration
+# default listed here does not exist, then the default /etc/pki/qemu is used.
+# If uncommented and the provided path does not exist, then startup will fail.
+#
+# Once/if a default certificate is enabled/defined, migration
# will then be able to use the certificate via migration API flags.
#
#migrate_tls_x509_cert_dir = "/etc/pki/libvirt-migrate"
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index 73c33d6..4eb6f0c 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -440,6 +440,34 @@ virQEMUDriverConfigHugeTLBFSInit(virHugeTLBFSPtr hugetlbfs,
}
+static int
+virQEMUDriverConfigSetCertDir(virConfPtr conf,
+ const char *setting,
+ char **value)
+{
+ char *tlsCertDir = NULL;
+
+ if (virConfGetValueString(conf, setting, &tlsCertDir) < 0)
+ return -1;
+
+ if (!tlsCertDir)
+ return 0;
+
+ if (!virFileExists(tlsCertDir)) {
+ virReportError(VIR_ERR_CONF_SYNTAX,
+ _("directory '%s' does not exist for setting '%s'"),
+ tlsCertDir, setting);
+ VIR_FREE(tlsCertDir);
+ return -1;
+ } else {
+ VIR_FREE(*value);
+ VIR_STEAL_PTR(*value, tlsCertDir);
+ }
+
+ return 0;
+}
+
+
int virQEMUDriverConfigLoadFile(virQEMUDriverConfigPtr cfg,
const char *filename,
bool privileged)
@@ -467,7 +495,7 @@ int virQEMUDriverConfigLoadFile(virQEMUDriverConfigPtr cfg,
if (!(conf = virConfReadFile(filename, 0)))
goto cleanup;
- if (virConfGetValueString(conf, "default_tls_x509_cert_dir", &cfg->defaultTLSx509certdir) < 0)
+ if (virQEMUDriverConfigSetCertDir(conf, "default_tls_x509_cert_dir", &cfg->defaultTLSx509certdir) < 0)
goto cleanup;
if (virConfGetValueBool(conf, "default_tls_x509_verify", &cfg->defaultTLSx509verify) < 0)
goto cleanup;
@@ -483,7 +511,7 @@ int virQEMUDriverConfigLoadFile(virQEMUDriverConfigPtr cfg,
goto cleanup;
if (rv == 0)
cfg->vncTLSx509verify = cfg->defaultTLSx509verify;
- if (virConfGetValueString(conf, "vnc_tls_x509_cert_dir", &cfg->vncTLSx509certdir) < 0)
+ if (virQEMUDriverConfigSetCertDir(conf, "vnc_tls_x509_cert_dir", &cfg->vncTLSx509certdir) < 0)
goto cleanup;
if (virConfGetValueString(conf, "vnc_listen", &cfg->vncListen) < 0)
goto cleanup;
@@ -521,7 +549,7 @@ int virQEMUDriverConfigLoadFile(virQEMUDriverConfigPtr cfg,
if (virConfGetValueBool(conf, "spice_tls", &cfg->spiceTLS) < 0)
goto cleanup;
- if (virConfGetValueString(conf, "spice_tls_x509_cert_dir", &cfg->spiceTLSx509certdir) < 0)
+ if (virQEMUDriverConfigSetCertDir(conf, "spice_tls_x509_cert_dir", &cfg->spiceTLSx509certdir) < 0)
goto cleanup;
if (virConfGetValueBool(conf, "spice_sasl", &cfg->spiceSASL) < 0)
goto cleanup;
@@ -541,8 +569,8 @@ int virQEMUDriverConfigLoadFile(virQEMUDriverConfigPtr cfg,
goto cleanup; \
if (rv == 0) \
cfg->val## TLSx509verify = cfg->defaultTLSx509verify; \
- if (virConfGetValueString(conf, #val "_tls_x509_cert_dir", \
- &cfg->val## TLSx509certdir) < 0) \
+ if (virQEMUDriverConfigSetCertDir(conf, #val "_tls_x509_cert_dir", \
+ &cfg->val## TLSx509certdir) < 0) \
goto cleanup; \
if (virConfGetValueString(conf, \
#val "_tls_x509_secret_uuid", \
--
2.9.4
7 years, 4 months
[libvirt] [PATCH 0/5] qemu: process: Don't try to use NUMA nodes without memory from numad advice
by Peter Krempa
Cgroups code fails if it's instructed to bind memory usage of a qemu process to
a NUMA node which does not have any memory.
First four patches are preliminary cleanups and the fix to keep the autoCpuset
private data entry in the status XML necessary to modify autoNodeset in the
future.
The last patch modifies autoNodeset to be an intersection of the advice from
numad with host NUMA node set containing memory, so that we don't ask for
impossible things when setting up cgroups.
Peter Krempa (5):
util: bitmap: Modify virBitmapSubtract to virBitmapIntersect
qemu: domain: Extract parsing and formatting of priv->autoNodeset
qemu: domain: Store and restore autoCpuset to status XML
qemu: process: Extract gathering of 'numad' placement into a function
qemu: process: Don't put memoryless NUMA nodes into autoNodeset
src/libvirt_private.syms | 2 +-
src/qemu/qemu_domain.c | 102 ++++++++++++++++++++++++++++++++++++-----------
src/qemu/qemu_process.c | 73 +++++++++++++++++++++++----------
src/util/virbitmap.c | 14 +++----
src/util/virbitmap.h | 2 +-
tests/qemuxml2xmltest.c | 2 +-
tests/virbitmaptest.c | 14 +++----
7 files changed, 147 insertions(+), 62 deletions(-)
--
2.12.2
7 years, 4 months
[libvirt] [PATCH v1] numa: compute and set matching vcpus for numa domains
by Wim Ten Have
From: Wim ten Have <wim.ten.have(a)oracle.com>
The QEMU driver can erroneously allocate more vpus to a domain
than there are cpus in the domain if the <numa> element is used
to describe <cpu> element topology.
Wim ten Have (1):
numa: compute and set matching vcpus for numa domains
docs/formatdomain.html.in | 9 ++++++++-
src/conf/domain_conf.c | 14 +++++++++++---
2 files changed, 19 insertions(+), 4 deletions(-)
--
2.9.4
7 years, 4 months
[libvirt] [PATCH 0/2] Handle hotplug change on VLAN configuration using OVS
by Antoine Millet
This patch set allow to change VLAN configuration of running guest using OVS
as networking backend.
Use case here: https://www.redhat.com/archives/libvirt-users/2017-July/msg00043.html
"Refactored OVS VLAN configuration" moves the code building the VLAN configuration
arguments passed to ovs-vsctl into a separated function to be reused by "Handle
hotplug change on VLAN configuration using OVS" which implements the handling of
VLAN change into qemuDomainChangeNet.
Antoine Millet (2):
Refactored OVS VLAN configuration
Handle hotplug change on VLAN configuration using OVS
src/libvirt_private.syms | 1 +
src/qemu/qemu_hotplug.c | 16 ++++-
src/util/virnetdevopenvswitch.c | 145 ++++++++++++++++++++++++++++------------
src/util/virnetdevopenvswitch.h | 9 +++
4 files changed, 127 insertions(+), 44 deletions(-)
--
2.13.2
7 years, 4 months
[libvirt] [PATCH v2 0/6] qemu capabilities cleanup and preparation for virFileCache
by Pavel Hrdina
Pavel Hrdina (6):
util/virhash: add name parameter to virHashSearch
qemu: move libvirt ctime and version into _virQEMUCaps struct
qemu: move virQEMUCapsIsValid before its usage and make it static
qemu: move libvirt ctime and version check into virQEMUCapsIsValid
qemu: don't pass qemuctime into virQEMUCapsIsValid
qemu: separate virQEMUCapsInitCached out of
virQEMUCapsNewForBinaryInternal
src/conf/virdomainobjlist.c | 2 +-
src/conf/virnetworkobj.c | 4 +-
src/conf/virsecretobj.c | 2 +-
src/qemu/qemu_capabilities.c | 282 ++++++++++++++++++++-----------------------
src/qemu/qemu_capabilities.h | 5 -
src/qemu/qemu_capspriv.h | 9 +-
src/util/virhash.c | 11 +-
src/util/virhash.h | 2 +-
src/xen/xm_internal.c | 5 +-
tests/qemucapabilitiestest.c | 4 +-
tests/qemucapsprobe.c | 2 +-
tests/testutilsqemu.c | 5 +-
tests/virhashtest.c | 2 +-
13 files changed, 151 insertions(+), 184 deletions(-)
--
2.13.3
7 years, 4 months