[PATCH 0/8] network: Add callback for metadata changes
by K Shiva Kiran
This patchset adds support to trigger an event upon changes in the
content of `<title>`, `<description>` or `<metadata>` in the network.
K Shiva Kiran (8):
Define Network Metadata change callback function
Define Network event struct for Metadata change
Add Event ID, Server side dispatcher and virsh print function
Add methods to create Metadata change events
Implement RPC Client for Network Metadata change callbacks
Test driver implementation for Network metadata change callbacks
Add Bridge Driver implementation for Network metadata change callbacks
examples: Add Testing for metadata change callbacks
examples/c/misc/event-test.c | 85 ++++++++++++++++++++++++++---
include/libvirt/libvirt-network.h | 22 ++++++++
src/conf/network_event.c | 84 ++++++++++++++++++++++++++++
src/conf/network_event.h | 11 ++++
src/libvirt_private.syms | 2 +
src/network/bridge_driver.c | 6 ++
src/remote/remote_daemon_dispatch.c | 38 +++++++++++++
src/remote/remote_driver.c | 31 +++++++++++
src/remote/remote_protocol.x | 15 ++++-
src/remote_protocol-structs | 6 ++
src/test/test_driver.c | 7 +++
tools/virsh-network.c | 46 +++++++++++++++-
12 files changed, 342 insertions(+), 11 deletions(-)
--
2.42.0
1 year, 1 month
Plans for 9.8.0 release (freeze on Tuesday 26 Sep)
by Jiri Denemark
We are getting close to 9.8.0 release of libvirt. To aim for the
release on Monday 02 Oct I suggest entering the freeze on Tuesday 26
Sep and tagging RC2 on Friday 29 Sep.
I hope this works for everyone.
Jirka
1 year, 1 month
[PATCH 00/18] RFC: Remove deprecated audio features
by Martin Kletzander
I wanted to deal with https://bugzilla.redhat.com/2043498 and I got a
suggesstion that removing deprecated features could actually make it
easier to propagate the error. In the end (last patch) it turns out the
error is still just reported with error_fatal, so it probably is not
really needed, but I really wanted to dig into QEMU more and learn some
of the internals for quite some time now. So I used the opportunity.
The one-liner ended up being an 18 patch series which was, for someone
who has just one commit in QEMU codebase, a pretty challenging task.
Although I tried my best to do things properly, I am not sure whether I
handled everything correctly, hence the RFC.
Any comments are very much appreciated. Thanks and have a nice day ;)
Martin Kletzander (18):
hw/audio: Remove -soundhw support
hw/input/tsc210x: Extract common init code into new function
hw/audio: Simplify hda audio init
hw/audio/lm4549: Add errp error reporting to init function
tests/qtest: Specify audiodev= and -audiodev
ui/vnc: Require audiodev=
Introduce machine's default-audiodev property
audio: Add easy dummy audio initialiser
hw/display/xlnx_dp.c: Add audiodev property
hw/input/tsc210x.c: Support machine-default audiodev with fallback
hw/arm: Support machine-default audiodev with fallback
hw/ppc: Support machine-default audiodev with fallback
audio: Make AUD_register_card fallible and require audiodev=
audio: Require AudioState in AUD_add_capture
audio: Be more strict during audio backend initialisation
audio: Remove legacy audio environment variables and options
audio: Remove unused can_be_default
audio/spiceaudio: Fail initialisation when not using spice
audio/alsaaudio.c | 1 -
audio/audio.c | 204 +++----
audio/audio.h | 5 +-
audio/audio_int.h | 1 -
audio/audio_legacy.c | 555 ------------------
audio/coreaudio.m | 1 -
audio/dbusaudio.c | 1 -
audio/dsoundaudio.c | 1 -
audio/jackaudio.c | 1 -
audio/meson.build | 1 -
audio/noaudio.c | 1 -
audio/ossaudio.c | 1 -
audio/paaudio.c | 1 -
audio/sdlaudio.c | 1 -
audio/spiceaudio.c | 3 +-
audio/wavaudio.c | 1 -
docs/about/deprecated.rst | 24 -
docs/about/removed-features.rst | 27 +
docs/qdev-device-use.txt | 21 +-
docs/replay.txt | 2 +-
hw/arm/integratorcp.c | 8 +-
hw/arm/musicpal.c | 8 +-
hw/arm/omap2.c | 11 +-
hw/arm/realview.c | 3 +
hw/arm/spitz.c | 10 +-
hw/arm/versatilepb.c | 3 +
hw/arm/vexpress.c | 3 +
hw/arm/xlnx-zcu102.c | 4 +
hw/arm/z2.c | 12 +-
hw/audio/ac97.c | 9 +-
hw/audio/adlib.c | 9 +-
hw/audio/cs4231a.c | 8 +-
hw/audio/es1370.c | 8 +-
hw/audio/gus.c | 6 +-
hw/audio/hda-codec.c | 37 +-
hw/audio/intel-hda.c | 25 +-
hw/audio/intel-hda.h | 2 +-
hw/audio/lm4549.c | 7 +-
hw/audio/lm4549.h | 3 +-
hw/audio/meson.build | 1 -
hw/audio/pcspk.c | 15 +-
hw/audio/pl041.c | 2 +-
hw/audio/sb16.c | 9 +-
hw/audio/soundhw.c | 177 ------
hw/audio/wm8750.c | 5 +-
hw/core/machine.c | 23 +
hw/display/xlnx_dp.c | 12 +-
hw/input/tsc210x.c | 79 ++-
hw/ppc/prep.c | 4 +
hw/usb/dev-audio.c | 5 +-
include/hw/audio/soundhw.h | 15 -
include/hw/boards.h | 1 +
qemu-options.hx | 37 --
.../codeconverter/test_regexps.py | 1 -
softmmu/qdev-monitor.c | 2 -
softmmu/vl.c | 10 -
tests/qtest/ac97-test.c | 3 +-
tests/qtest/es1370-test.c | 3 +-
tests/qtest/fuzz/generic_fuzz_configs.h | 6 +-
tests/qtest/intel-hda-test.c | 15 +-
ui/vnc.c | 15 +-
61 files changed, 329 insertions(+), 1140 deletions(-)
delete mode 100644 audio/audio_legacy.c
delete mode 100644 hw/audio/soundhw.c
delete mode 100644 include/hw/audio/soundhw.h
--
2.35.1
1 year, 1 month
[PATCH merged] bhyveBuildControllerArgStr: Fill in missing cases to switch() statement
by Michal Privoznik
When making 'type' member of virDomainControllerDef to be of
virDomainControllerType rather than an int I forgot to update
bhyve_command.c.
Fixes: 27a653b8931051991d44b8776a8cdc08c666b729
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Pushed as build breaker fix.
src/bhyve/bhyve_command.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/bhyve/bhyve_command.c b/src/bhyve/bhyve_command.c
index 82e7e96816..bcef836eca 100644
--- a/src/bhyve/bhyve_command.c
+++ b/src/bhyve/bhyve_command.c
@@ -367,6 +367,18 @@ bhyveBuildControllerArgStr(const virDomainDef *def,
virCommandAddArgFormat(cmd, "%d:0,lpc",
controller->info.addr.pci.slot);
break;
+ case VIR_DOMAIN_CONTROLLER_TYPE_IDE:
+ case VIR_DOMAIN_CONTROLLER_TYPE_FDC:
+ case VIR_DOMAIN_CONTROLLER_TYPE_SCSI:
+ case VIR_DOMAIN_CONTROLLER_TYPE_VIRTIO_SERIAL:
+ case VIR_DOMAIN_CONTROLLER_TYPE_CCID:
+ case VIR_DOMAIN_CONTROLLER_TYPE_XENBUS:
+ case VIR_DOMAIN_CONTROLLER_TYPE_LAST:
+ default:
+ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
+ _("unsupported controller device"));
+ return -1;
+
}
return 0;
}
--
2.41.0
1 year, 1 month
[PATCH v1 0/9] query & cache host-recommended CPU model
by Collin Walling
Notes:
https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg02518.html
- For information regarding the QEMU "static-recommended" (aka host-recommended)
CPU model, please see the analogous QEMU patches:
https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg02518.html
- Patches include caps added to QEMU 8.1 test files. This is a stand-in for the
interim and the appropriate caps files will be updated in the future pending
QEMU acceptance.
Description:
Allow libvirt to query, cache, and report the "host-recommended" CPU model, which
reports CPU features the hypervisor recommends older CPU models to disable in order
to ensure migration to new-generation machines that will no longer support said
features.
The host-recommended CPU is a retrieved via a query to QEMU that is a combination
of two parameters: the standard model name "host" and a new model type
"static-recommended". The resulting CPU is similar to the host-model which now
reports deprecated CPU features disabled (e.g. featurex=off). Once this model has
been queried, the libvirt ABI will parse the feature on|off parameter and set the
feature policy as appropriate. The resulting model is cached in the respective QEMU
capabilities file. It can be reported via the virsh domcapabilities command
Two "host models" are now represented: the original "host-model" that reports the
hypervisor-supported features as-is, and the new "host-recommended" that reports
the hypervisor-supported features with any deprecated features paired with the
disabled policy.
Additionally, hypervisor-cpu-baseline has been modified to output the feature
policy and report disabled features. Baseline will also expand the resulting
model with the host-recommended parameters if possible.
The following s390x features are flagged as deprecated and will be dropped
outright on future models: csske, te, cte, bpb.
Examples:
To enable this CPU model, define a guest with the following <cpu> element:
<cpu mode='host-recommended' match='exact' check='partial'/>
A guest will be generated with a CPU e.g.:
<cpu mode='custom' match='exact' check='partial'>
<model fallback='forbid'>gen16a-base</model>
<feature policy='require' name='nnpa'/>
<feature policy='require' name='aen'/>
<feature policy='require' name='cmmnt'/>
<feature policy='require' name='vxpdeh'/>
<feature policy='require' name='aefsi'/>
<feature policy='require' name='diag318'/>
<feature policy='disable' name='csske'/>
<feature policy='require' name='mepoch'/>
<feature policy='require' name='msa9'/>
<feature policy='require' name='msa8'/>
<feature policy='require' name='msa7'/>
<feature policy='require' name='msa6'/>
<feature policy='require' name='msa5'/>
<feature policy='require' name='msa4'/>
<feature policy='require' name='msa3'/>
<feature policy='require' name='msa2'/>
<feature policy='require' name='msa1'/>
<feature policy='require' name='sthyi'/>
<feature policy='require' name='edat'/>
<feature policy='require' name='ri'/>
<feature policy='require' name='deflate'/>
<feature policy='require' name='edat2'/>
<feature policy='require' name='etoken'/>
<feature policy='require' name='vx'/>
<feature policy='require' name='ipter'/>
<feature policy='require' name='pai'/>
<feature policy='require' name='paie'/>
<feature policy='require' name='mepochptff'/>
<feature policy='require' name='ap'/>
<feature policy='require' name='vxeh'/>
<feature policy='require' name='vxpd'/>
<feature policy='require' name='esop'/>
<feature policy='require' name='msa9_pckmo'/>
<feature policy='require' name='vxeh2'/>
<feature policy='require' name='esort'/>
<feature policy='require' name='apqi'/>
<feature policy='require' name='apft'/>
<feature policy='require' name='els'/>
<feature policy='require' name='iep'/>
<feature policy='require' name='apqci'/>
<feature policy='disable' name='cte'/>
<feature policy='require' name='ais'/>
<feature policy='disable' name='bpb'/>
<feature policy='require' name='gs'/>
<feature policy='require' name='ppa15'/>
<feature policy='require' name='zpci'/>
<feature policy='require' name='rdp'/>
<feature policy='require' name='sea_esop2'/>
<feature policy='require' name='beareh'/>
<feature policy='disable' name='te'/>
<feature policy='require' name='cmm'/>
<feature policy='require' name='vxpdeh2'/>
</cpu>
An example of the hypervisor-cpu-baseline command which will now
invoke a CPU model expansion with the host-recommended parameters:
# virsh hypervisor-cpu-baseline host-model.xml
<cpu mode='custom' match='exact'>
<model fallback='forbid'>z14.2-base</model>
<feature policy='require' name='aen'/>
<feature policy='require' name='cmmnt'/>
<feature policy='require' name='aefsi'/>
<feature policy='require' name='diag318'/>
<feature policy='disable' name='csske'/>
<feature policy='require' name='mepoch'/>
<feature policy='require' name='msa8'/>
<feature policy='require' name='msa7'/>
<feature policy='require' name='msa6'/>
<feature policy='require' name='msa5'/>
<feature policy='require' name='msa4'/>
<feature policy='require' name='msa3'/>
<feature policy='require' name='msa2'/>
<feature policy='require' name='msa1'/>
<feature policy='require' name='sthyi'/>
<feature policy='require' name='edat'/>
<feature policy='require' name='ri'/>
<feature policy='require' name='edat2'/>
<feature policy='require' name='etoken'/>
<feature policy='require' name='vx'/>
<feature policy='require' name='ipter'/>
<feature policy='require' name='mepochptff'/>
<feature policy='require' name='ap'/>
<feature policy='require' name='vxeh'/>
<feature policy='require' name='vxpd'/>
<feature policy='require' name='esop'/>
<feature policy='require' name='apqi'/>
<feature policy='require' name='apft'/>
<feature policy='require' name='els'/>
<feature policy='require' name='iep'/>
<feature policy='require' name='apqci'/>
<feature policy='disable' name='cte'/>
<feature policy='require' name='ais'/>
<feature policy='disable' name='bpb'/>
<feature policy='require' name='gs'/>
<feature policy='require' name='ppa15'/>
<feature policy='require' name='zpci'/>
<feature policy='require' name='sea_esop2'/>
<feature policy='disable' name='te'/>
<feature policy='require' name='cmm'/>
</cpu>
Collin Walling (9):
qemu: monitor: enable query for static-recommended CPU model
qemu: capabilities: add static-recommended capability
qemu: capabilities: refactor virQEMUCapsLoadHostCPUModelInfo
qemu: capabilities: query and cache host-recommended CPU model
cpu: conf: add cpu mode for host-recommended
domain: capabilities: report host-recommended CPU model
qemu: process: allow guest to use host-recommended CPU model
qemu_driver: report feature policy when baselining
qemu_driver: expand baselined model to static_recommended for s390x
src/conf/cpu_conf.c | 1 +
src/conf/cpu_conf.h | 1 +
src/conf/domain_capabilities.c | 16 ++
src/conf/domain_capabilities.h | 1 +
src/conf/schemas/cputypes.rng | 1 +
src/conf/schemas/domaincaps.rng | 24 +++
src/cpu/cpu.c | 2 +
src/cpu/cpu_ppc64.c | 2 +
src/qemu/qemu_capabilities.c | 144 +++++++++++++++---
src/qemu/qemu_capabilities.h | 4 +
src/qemu/qemu_capspriv.h | 6 +-
src/qemu/qemu_command.c | 5 +
src/qemu/qemu_domain.c | 2 +
src/qemu/qemu_driver.c | 18 ++-
src/qemu/qemu_monitor.h | 1 +
src/qemu/qemu_monitor_json.c | 4 +-
src/qemu/qemu_process.c | 9 +-
src/qemu/qemu_validate.c | 8 +
tests/cputest.c | 4 +-
tests/domaincapsdata/qemu_8.1.0.s390x.xml | 55 +++++++
.../caps_8.1.0_s390x.replies | 80 +++++++++-
.../qemucapabilitiesdata/caps_8.1.0_s390x.xml | 55 +++++++
...c-cpu-kvm-ccw-virtio-8.1.s390x-latest.args | 32 ++++
.../s390-host-rec-cpu-kvm-ccw-virtio-8.1.xml | 17 +++
tests/qemuxml2argvtest.c | 2 +
...ec-cpu-kvm-ccw-virtio-8.1.s390x-latest.xml | 25 +++
tests/qemuxml2xmltest.c | 1 +
27 files changed, 486 insertions(+), 34 deletions(-)
create mode 100644 tests/qemuxml2argvdata/s390-host-rec-cpu-kvm-ccw-virtio-8.1.s390x-latest.args
create mode 100644 tests/qemuxml2argvdata/s390-host-rec-cpu-kvm-ccw-virtio-8.1.xml
create mode 100644 tests/qemuxml2xmloutdata/s390-host-rec-cpu-kvm-ccw-virtio-8.1.s390x-latest.xml
--
2.41.0
1 year, 1 month
[sdl-qemu] [PATCH 1/1] No checks, dereferencing possible
by Миронов Сергей Владимирович
No checks, dereferencing possible.
Return value of a function 'virDomainChrSourceDefNew'
is dereferenced at qemu_command.c without checking
for NULL, but it is usually checked for this function.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 1f85f0967b ("ci: jobs.sh: Add back '--no-suite syntax-check --print-errorlogs'")
Signed-off-by: Sergey Mironov <mironov(a)fintech.ru>
---
src/qemu/qemu_command.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index e84374b4cf..8d11972c88 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -4698,6 +4698,8 @@ qemuBuildVideoCommandLine(virCommand *cmd,
g_autofree char *name = g_strdup_printf("%s-vhost-user", video->info.alias);
qemuDomainChrSourcePrivate *chrsrcpriv = QEMU_DOMAIN_CHR_SOURCE_PRIVATE(chrsrc);
+ if (chrsrc == NULL)
+ return -1;
chrsrc->type = VIR_DOMAIN_CHR_TYPE_UNIX;
chrsrcpriv->directfd = qemuFDPassDirectNew(name, &videopriv->vhost_user_fd);
--
2.31.1
1 year, 1 month
[sdl-qemu] [PATCH 0/1] There are no checks, virDomainChrSourceDefNew can return 0
by Миронов Сергей Владимирович
There are no checks, virDomainChrSourceDefNew can return 0.
Return value of a function 'virDomainChrSourceDefNew'
is dereferenced at qemu_hotplug.c without checking for NULL,
but it is usually checked for this function.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 1f85f0967b ("ci: jobs.sh: Add back '--no-suite syntax-check --print-errorlogs'")
Signed-off-by: Sergey Mironov <mironov(a)fintech.ru>
---
src/qemu/qemu_hotplug.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 177ca87d11..09e16c2c7e 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@ -3207,6 +3207,8 @@ qemuDomainAttachFSDevice(virQEMUDriver *driver,
qemuAssignDeviceFSAlias(vm->def, fs);
chardev = virDomainChrSourceDefNew(priv->driver->xmlopt);
+ if (chardev == NULL)
+ goto cleanup;
chardev->type = VIR_DOMAIN_CHR_TYPE_UNIX;
chardev->data.nix.path = qemuDomainGetVHostUserFSSocketPath(priv, fs);
--
2.31.1
1 year, 1 month
[PATCH] qemuxml2argvtest: Fix tests failing on none x86 host CPUs
by Boris Fiuczynski
Since commit 54257ed51b51 on S390x qemuxml2argvtest fails with the following errors:
144) QEMU XML-2-ARGV cpu-kvmclock.x86_64-latest ... libvirt: CPU Driver error : the CPU is incompatible with host CPU: Host CPU does not provide required features: monitor
FAILED
2023-09-14 13:01:23.883+0000: 4113077: info : libvirt version: 9.8.0
2023-09-14 13:01:23.883+0000: 4113077: info : hostname: a46lp61.lnxne.boe
2023-09-14 13:01:23.883+0000: 4113077: error : virCPUx86Compare:1954 : the CPU is incompatible with host CPU: Host CPU does not provide required features: monitor
1059) QEMU XML-2-ARGV cpu-check-partial.x86_64-latest ... libvirt: CPU Driver error : the CPU is incompatible with host CPU: Host CPU does not provide required features: monitor
FAILED
2023-09-14 13:01:23.885+0000: 4113077: error : virCPUx86Compare:1954 : the CPU is incompatible with host CPU: Host CPU does not provide required features: monitor
1064) QEMU XML-2-ARGV cpu-check-default-partial2.x86_64-latest ... libvirt: CPU Driver error : the CPU is incompatible with host CPU: Host CPU does not provide required features: monitor
FAILED
2023-09-14 13:01:23.885+0000: 4113077: error : virCPUx86Compare:1954 : the CPU is incompatible with host CPU: Host CPU does not provide required features: monitor
3 tests failed.
Fixes: 54257ed51b5132032cedb7e1e7b8c34b9ae52115
Signed-off-by: Boris Fiuczynski <fiuczy(a)linux.ibm.com>
---
tests/qemuxml2argvtest.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 0dd10f1fab..c3f05e83b9 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -1035,7 +1035,7 @@ mymain(void)
DO_TEST_CAPS_VER("clock-hpet-off", "7.2.0");
DO_TEST_CAPS_LATEST("clock-hpet-off");
DO_TEST_CAPS_LATEST("clock-catchup");
- DO_TEST_CAPS_LATEST("cpu-kvmclock");
+ DO_TEST_CAPS_ARCH_LATEST_FULL("cpu-kvmclock", "x86_64", ARG_CAPS_HOST_CPU_MODEL, QEMU_CPU_DEF_HASWELL);
DO_TEST_CAPS_LATEST("cpu-host-kvmclock");
DO_TEST_CAPS_LATEST("kvmclock");
DO_TEST_CAPS_LATEST("clock-timer-hyperv-rtc");
@@ -2201,13 +2201,13 @@ mymain(void)
DO_TEST_CAPS_LATEST("memfd-memory-default-hugepage");
DO_TEST_CAPS_LATEST("cpu-check-none");
- DO_TEST_CAPS_LATEST("cpu-check-partial");
+ DO_TEST_CAPS_ARCH_LATEST_FULL("cpu-check-partial", "x86_64", ARG_CAPS_HOST_CPU_MODEL, QEMU_CPU_DEF_HASWELL);
DO_TEST_CAPS_LATEST("cpu-check-full");
DO_TEST_CAPS_LATEST("cpu-check-default-none");
DO_TEST_CAPS_LATEST("cpu-check-default-none2");
/* this test case uses 'cpu="host-model"', run it with Haswell host cpu to prevent test case churn */
DO_TEST_CAPS_ARCH_LATEST_FULL("cpu-check-default-partial", "x86_64", ARG_CAPS_HOST_CPU_MODEL, QEMU_CPU_DEF_HASWELL);
- DO_TEST_CAPS_LATEST("cpu-check-default-partial2");
+ DO_TEST_CAPS_ARCH_LATEST_FULL("cpu-check-default-partial2", "x86_64", ARG_CAPS_HOST_CPU_MODEL, QEMU_CPU_DEF_HASWELL);
DO_TEST_CAPS_LATEST("cpu-cache-disable");
/* this test case uses 'cpu="host-model"', run it with Haswell host cpu to prevent test case churn */
--
2.41.0
1 year, 1 month
[PATCH 00/20] Misc cleanups (pt. 1)
by Michal Privoznik
I had these sitting on a local branch for a while. My initial plan was
to use virXMLPropEnum() more and while working on that I found one bug
(patch 01/20), one improvement (patch 02/20) and a couple of useless
typecats.
Michal Prívozník (20):
lxc_controller: Access correct union member in
virLXCControllerSetupHostdevCaps()
src: Access hostdev->source.subsys iff VIR_DOMAIN_HOSTDEV_MODE_SUBSYS
qemu_domain_address: Drop needless typecast in
qemuDomainDeviceCalculatePCIConnectFlags()
qemu: Drop needless typecast to virDomainFSDriverType
src: Drop needless typecast to virDomainDeviceType
qemu_domain_address: Drop needless typecast to virDomainDiskModel
src: Drop needless typecast to virDomainDiskBus
virDomainHostdevSubsysSCSI: Convert 'protocol' field to proper enum
type
virDomainHostdevSubsysSCSIVHost: Convert 'protocol' field to proper
enum type
virDomainHostdevDef: Convert 'mode' field to proper enum type
virDomainHostdevCaps: Convert 'type' field to proper enum type
virDomainHostdevSubsys: Convert 'type' field to proper enum type
virDomainControllerDef: Convert 'type' field to proper enum type
virDomainRNGDef: Convert 'model' field to proper enum type
virDomainRNGDef: Convert 'backend' field to proper enum type
virDomainWatchdogDef: Convert 'model' field to proper enum type
virDomainWatchdogDef: Convert 'action' field to proper enum type
virDomainDeviceInfo: Convert 'type' field to proper enum type
virStorageNetHostDef: Convert 'transport' field to proper enum type
virDomainDiskSourceNVMeParse: Use virXMLPropULongLong()
src/ch/ch_domain.c | 2 +-
src/conf/device_conf.c | 12 +-
src/conf/device_conf.h | 4 +-
src/conf/domain_audit.c | 10 +-
src/conf/domain_conf.c | 291 ++++++++----------
src/conf/domain_conf.h | 29 +-
src/conf/domain_postparse.c | 2 +-
src/conf/domain_validate.c | 9 +-
src/conf/storage_source_conf.h | 2 +-
src/libxl/libxl_driver.c | 12 +
src/lxc/lxc_cgroup.c | 3 +
src/lxc/lxc_controller.c | 9 +-
src/lxc/lxc_driver.c | 16 +
src/lxc/lxc_hostdev.c | 7 +
src/qemu/qemu_alias.c | 2 +-
src/qemu/qemu_backup.c | 2 +-
src/qemu/qemu_block.c | 2 +-
src/qemu/qemu_command.c | 26 +-
src/qemu/qemu_domain.c | 18 +-
src/qemu/qemu_domain_address.c | 28 +-
src/qemu/qemu_driver.c | 6 +-
src/qemu/qemu_hotplug.c | 22 +-
src/qemu/qemu_migration.c | 4 +-
src/qemu/qemu_monitor.c | 12 +
src/qemu/qemu_monitor_json.c | 2 +-
src/qemu/qemu_namespace.c | 2 +-
src/qemu/qemu_validate.c | 18 +-
src/security/security_apparmor.c | 2 +-
src/security/security_dac.c | 4 +-
src/security/security_selinux.c | 10 +-
src/security/virt-aa-helper.c | 7 +
.../storage_file_backend_gluster.c | 2 +-
.../storage_source_backingstore.c | 15 +-
src/vbox/vbox_common.c | 4 +-
34 files changed, 333 insertions(+), 263 deletions(-)
--
2.41.0
1 year, 1 month