From 8ba05cf1f9f36e6d2feb3fc331e352708b04323e Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 24 Aug 2026 09:19:48 -0400 Subject: [PATCH] import CS libvirt-11.10.0-16.el9 --- ...AIN_CAPABILITIES_EXPAND_CPU_FEATURES.patch | 73 + ...EATURES-flag-for-domain-capabilities.patch | 54 + ...BILITIES_SUPPORTED_CPU_FEATURES-flag.patch | 59 + ...ctually-selected-virtio-video-device.patch | 211 + ...irt-conf-Add-iommufd-fdgroup-support.patch | 160 + ...onf-Introduce-domain-iommufd-element.patch | 218 + ...ename-virStorageSourceFDTuple-object.patch | 330 + ...-hyperv-features-even-for-host-model.patch | 113 + ...-conf-Refactor-virHostdevIsPCIDevice.patch | 80 + ...t-cpu-Introduce-virCPUUpdateFeatures.patch | 158 + ...conf-Introduce-virCPUDefSortFeatures.patch | 109 + ...pu_x86-Introduce-virCPUx86DataAddMSR.patch | 109 + ...l-description-in-domain-capabilities.patch | 34 + ...pstest-Test-EXPAND_CPU_FEATURES-flag.patch | 24245 ++++++++++++++++ ...est-Test-SUPPORTED_CPU_FEATURES-flag.patch | 22680 +++++++++++++++ ...Devices-after-detaching-host-devices.patch | 45 + ...or-Fix-virHostdevNeedsVFIO-detection.patch | 98 + ...-of-qemuProcessStartUpdateCustomCaps.patch | 194 + ...dering-of-virtlockd-virtlogd-daemons.patch | 119 + ...u-Expand-call-to-qemuDomainNeedsVFIO.patch | 51 + ...Fix-IOMMUFD-and-VFIO-security-labels.patch | 245 + ...n-domain-dies-in-post-copy-migration.patch | 60 + ...AIN_CAPABILITIES_EXPAND_CPU_FEATURES.patch | 47 + ...bvirt-qemu-Implement-iommufd-fdgroup.patch | 127 + SOURCES/libvirt-qemu-Implement-iommufd.patch | 119 + ...to-virQEMUCapsFillDomainCPUHostModel.patch | 196 + ...mu-Remove-qemuDomainSupportsVideoVga.patch | 64 + ...O-to-ignore-PCI-hostdev-with-IOMMUFD.patch | 107 + ...-new-hyperv-host-model-mode-behavior.patch | 59 + ...figration-option-on-all-capabilities.patch | 247 + ...CapsNewCopy-outside-of-qemu_capspriv.patch | 66 + ...tio-video-frondend-device-in-the-XML.patch | 931 + ...Caps-influenced-by-qemu-capabilities.patch | 50 + ...Caps-influenced-by-qemu-capabilities.patch | 81 + ...etModel-Directly-return-picked-model.patch | 212 + ...e-logic-for-selecting-virtio-devices.patch | 210 + ...rom-qemuValidateDomainDeviceDefVideo.patch | 140 + ...ockNodesEnsureActive-with-offline-VM.patch | 46 + ...aseBlockDirtyBitmaps-with-offline-VM.patch | 45 + ...o-Fix-checks-of-virtio-video-devices.patch | 272 + ...ways-sort-features-in-host-model-CPU.patch | 3806 +++ ...qemu_capabilities-Cache-expanded-CPU.patch | 158 + ...-Fix-domain-capabilities-on-AMD-CPUs.patch | 156 + ...tions-in-virQEMUCapsInitHostCPUModel.patch | 71 + ...s-Split-virQEMUCapsFillDomainCPUCaps.patch | 150 + ...toptr-in-virQEMUCapsInitHostCPUModel.patch | 65 + ...t-case-capturing-virtio-video-device.patch | 1908 ++ ...mlink-video-virtio-vga-gpu-gl-output.patch | 84 + ...-and-VIR_DOMAIN_DEF_PARSE_ABI_UPDATE.patch | 255 + ...gpu-where-virtio-vga-would-be-picked.patch | 177 + ...virtio-vga-gl-without-the-capability.patch | 256 + ...QEMU_CAPS_DEVICE_VIRTIO_VGA-disabled.patch | 149 + ...ty-Cleanup-hostdev-label-error-logic.patch | 611 + ...o-in-AppArmorSetSecurityHostdevLabel.patch | 118 + ...IsPCIDeviceWith-to-check-for-IOMMUFD.patch | 152 + ...bvirt-tests-Add-iommufd-fdgroup-test.patch | 266 + ...ish-and-mock-virHostCPUGetMSRFromKVM.patch | 127 + ...-virGetSubIDs-do-not-limit-file-size.patch | 43 + ...tElement-instead-of-custom-formatter.patch | 145 + ...sage-when-no-emulators-are-installed.patch | 46 + ...IT_MODE-only-when-running-privileged.patch | 79 + ...-features-option-for-domcapabilities.patch | 68 + ...-features-option-for-domcapabilities.patch | 75 + SPECS/libvirt.spec | 139 +- 64 files changed, 61567 insertions(+), 1 deletion(-) create mode 100644 SOURCES/libvirt-Fix-documentation-of-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES.patch create mode 100644 SOURCES/libvirt-Introduce-EXPAND_CPU_FEATURES-flag-for-domain-capabilities.patch create mode 100644 SOURCES/libvirt-Introduce-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES-flag.patch create mode 100644 SOURCES/libvirt-conf-Add-fields-for-recording-actually-selected-virtio-video-device.patch create mode 100644 SOURCES/libvirt-conf-Add-iommufd-fdgroup-support.patch create mode 100644 SOURCES/libvirt-conf-Introduce-domain-iommufd-element.patch create mode 100644 SOURCES/libvirt-conf-Move-and-rename-virStorageSourceFDTuple-object.patch create mode 100644 SOURCES/libvirt-conf-Parse-hyperv-features-even-for-host-model.patch create mode 100644 SOURCES/libvirt-conf-Refactor-virHostdevIsPCIDevice.patch create mode 100644 SOURCES/libvirt-cpu-Introduce-virCPUUpdateFeatures.patch create mode 100644 SOURCES/libvirt-cpu_conf-Introduce-virCPUDefSortFeatures.patch create mode 100644 SOURCES/libvirt-cpu_x86-Introduce-virCPUx86DataAddMSR.patch create mode 100644 SOURCES/libvirt-docs-Clarify-host-model-description-in-domain-capabilities.patch create mode 100644 SOURCES/libvirt-domaincapstest-Test-EXPAND_CPU_FEATURES-flag.patch create mode 100644 SOURCES/libvirt-domaincapstest-Test-SUPPORTED_CPU_FEATURES-flag.patch create mode 100644 SOURCES/libvirt-hypervisor-Call-virWaitForDevices-after-detaching-host-devices.patch create mode 100644 SOURCES/libvirt-hypervisor-Fix-virHostdevNeedsVFIO-detection.patch create mode 100644 SOURCES/libvirt-qemu-Allow-reuse-of-qemuProcessStartUpdateCustomCaps.patch create mode 100644 SOURCES/libvirt-qemu-Ensure-proper-shutdown-ordering-of-virtlockd-virtlogd-daemons.patch create mode 100644 SOURCES/libvirt-qemu-Expand-call-to-qemuDomainNeedsVFIO.patch create mode 100644 SOURCES/libvirt-qemu-Fix-IOMMUFD-and-VFIO-security-labels.patch create mode 100644 SOURCES/libvirt-qemu-Fix-job-handling-when-domain-dies-in-post-copy-migration.patch create mode 100644 SOURCES/libvirt-qemu-Implement-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES.patch create mode 100644 SOURCES/libvirt-qemu-Implement-iommufd-fdgroup.patch create mode 100644 SOURCES/libvirt-qemu-Implement-iommufd.patch create mode 100644 SOURCES/libvirt-qemu-Move-domain-caps-flags-handling-to-virQEMUCapsFillDomainCPUHostModel.patch create mode 100644 SOURCES/libvirt-qemu-Remove-qemuDomainSupportsVideoVga.patch create mode 100644 SOURCES/libvirt-qemu-Update-qemuDomainNeedsVFIO-to-ignore-PCI-hostdev-with-IOMMUFD.patch create mode 100644 SOURCES/libvirt-qemu-Wire-up-new-hyperv-host-model-mode-behavior.patch create mode 100644 SOURCES/libvirt-qemu-capabilities-Apply-capability_filters-configration-option-on-all-capabilities.patch create mode 100644 SOURCES/libvirt-qemu-capabilities-Export-virQEMUCapsNewCopy-outside-of-qemu_capspriv.patch create mode 100644 SOURCES/libvirt-qemu-postparse-Fill-in-selected-virtio-video-frondend-device-in-the-XML.patch create mode 100644 SOURCES/libvirt-qemu-postparse-Process-VM-config-with-qemuCaps-influenced-by-qemu-capabilities.patch create mode 100644 SOURCES/libvirt-qemu-validate-Validate-VM-config-with-qemuCaps-influenced-by-qemu-capabilities.patch create mode 100644 SOURCES/libvirt-qemuDeviceVideoGetModel-Directly-return-picked-model.patch create mode 100644 SOURCES/libvirt-qemuDeviceVideoGetModel-Remove-logic-for-selecting-virtio-devices.patch create mode 100644 SOURCES/libvirt-qemuDeviceVideoGetModel-Simplify-by-relying-on-checks-from-qemuValidateDomainDeviceDefVideo.patch create mode 100644 SOURCES/libvirt-qemuMigrationSrcBeginPhase-Don-t-call-qemuBlockNodesEnsureActive-with-offline-VM.patch create mode 100644 SOURCES/libvirt-qemuMigrationSrcBeginXML-Don-t-call-qemuMigrationSrcBeginPhaseBlockDirtyBitmaps-with-offline-VM.patch create mode 100644 SOURCES/libvirt-qemuValidateDomainDeviceDefVideo-Fix-checks-of-virtio-video-devices.patch create mode 100644 SOURCES/libvirt-qemu_capabilities-Always-sort-features-in-host-model-CPU.patch create mode 100644 SOURCES/libvirt-qemu_capabilities-Cache-expanded-CPU.patch create mode 100644 SOURCES/libvirt-qemu_capabilities-Fix-domain-capabilities-on-AMD-CPUs.patch create mode 100644 SOURCES/libvirt-qemu_capabilities-Split-conditions-in-virQEMUCapsInitHostCPUModel.patch create mode 100644 SOURCES/libvirt-qemu_capabilities-Split-virQEMUCapsFillDomainCPUCaps.patch create mode 100644 SOURCES/libvirt-qemu_capabilities-Use-g_autoptr-in-virQEMUCapsInitHostCPUModel.patch create mode 100644 SOURCES/libvirt-qemustatusxml2xml-Add-test-case-capturing-virtio-video-device.patch create mode 100644 SOURCES/libvirt-qemuxmlconfdata-un-symlink-video-virtio-vga-gpu-gl-output.patch create mode 100644 SOURCES/libvirt-qemuxmlconftest-Add-invocation-of-video-virtio-vga-gpu-gl-with-missing-caps-and-VIR_DOMAIN_DEF_PARSE_ABI_UPDATE.patch create mode 100644 SOURCES/libvirt-qemuxmlconftest-Add-test-case-for-specifying-virtio-gpu-where-virtio-vga-would-be-picked.patch create mode 100644 SOURCES/libvirt-qemuxmlconftest-Add-test-cases-for-configs-asking-for-virtio-gpu-gl-or-virtio-vga-gl-without-the-capability.patch create mode 100644 SOURCES/libvirt-qemuxmlconftest-Add-video-virtio-vga-invocation-with-QEMU_CAPS_DEVICE_VIRTIO_VGA-disabled.patch create mode 100644 SOURCES/libvirt-security-Cleanup-hostdev-label-error-logic.patch create mode 100644 SOURCES/libvirt-security_apparmor-Use-g_auto-in-AppArmorSetSecurityHostdevLabel.patch create mode 100644 SOURCES/libvirt-src-Use-virHostdevIsPCIDeviceWith-to-check-for-IOMMUFD.patch create mode 100644 SOURCES/libvirt-tests-Add-iommufd-fdgroup-test.patch create mode 100644 SOURCES/libvirt-util-Publish-and-mock-virHostCPUGetMSRFromKVM.patch create mode 100644 SOURCES/libvirt-util-virGetSubIDs-do-not-limit-file-size.patch create mode 100644 SOURCES/libvirt-virDomainVideoDefFormat-Use-virXMLFormatElement-instead-of-custom-formatter.patch create mode 100644 SOURCES/libvirt-virQEMUCapsCacheLookupDefault-Fix-error-message-when-no-emulators-are-installed.patch create mode 100644 SOURCES/libvirt-viriommufd-Set-IOMMU_OPTION_RLIMIT_MODE-only-when-running-privileged.patch create mode 100644 SOURCES/libvirt-virsh-Add-expand-cpu-features-option-for-domcapabilities.patch create mode 100644 SOURCES/libvirt-virsh-Add-supported-cpu-features-option-for-domcapabilities.patch diff --git a/SOURCES/libvirt-Fix-documentation-of-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES.patch b/SOURCES/libvirt-Fix-documentation-of-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES.patch new file mode 100644 index 0000000..335895b --- /dev/null +++ b/SOURCES/libvirt-Fix-documentation-of-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES.patch @@ -0,0 +1,73 @@ +From 7a8f13f443843e8903ab18d5917f6f8bc4192dd6 Mon Sep 17 00:00:00 2001 +Message-ID: <7a8f13f443843e8903ab18d5917f6f8bc4192dd6.1780571167.git.jdenemar@redhat.com> +From: Jiri Denemark +Date: Tue, 26 May 2026 15:38:59 +0200 +Subject: [PATCH] Fix documentation of + VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES + +The flag is designed for expanding the CPU model used by host-model. But +the documentation was sometimes describing it as showing all CPU +features supported on the host, which is wrong as the host may support +features that would not be enabled in host-model. + +Signed-off-by: Jiri Denemark +Reviewed-by: Peter Krempa +(cherry picked from commit 090183a7dc4a64cca83937eff9a4e93a45b4d712) + +https://redhat.atlassian.net/browse/RHEL-177364 + +Signed-off-by: Jiri Denemark +--- + docs/manpages/virsh.rst | 5 +++-- + src/libvirt-domain.c | 6 +++--- + tools/virsh-host.c | 2 +- + 3 files changed, 7 insertions(+), 6 deletions(-) + +diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst +index 85fa6ab011..7169b6bc05 100644 +--- a/docs/manpages/virsh.rst ++++ b/docs/manpages/virsh.rst +@@ -640,8 +640,9 @@ flagged as deprecated for the CPU model by the hypervisor. These + features will be paired with the "disable" policy. + + The **--expand-cpu-features** option will cause the host-model CPU definition +-to contain all CPU features supported on the host including those implicitly +-enabled by the selected CPU model. ++to contain all required CPU features including those implicitly enabled by the ++selected CPU model. Without this flag features that are part of the CPU model ++itself will not be listed. + + + pool-capabilities +diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c +index 034f126dd5..e146fa7e82 100644 +--- a/src/libvirt-domain.c ++++ b/src/libvirt-domain.c +@@ -12331,9 +12331,9 @@ virDomainSetUserPassword(virDomainPtr dom, + * passthrough and so on. + * + * If @flags includes VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES, +- * libvirt will explicitly list all CPU features (in host-model CPU definition) +- * that are supported on the host. Without this flag features that are part of +- * the CPU model itself will not be listed. ++ * libvirt will explicitly list all CPU features that will be enabled for ++ * host-model CPU mode. Without this flag features that are part of the CPU ++ * model itself will not be listed. + * + * Returns NULL in case of error or an XML string + * defining the capabilities. +diff --git a/tools/virsh-host.c b/tools/virsh-host.c +index dd98917fa8..5dbeb54ae5 100644 +--- a/tools/virsh-host.c ++++ b/tools/virsh-host.c +@@ -120,7 +120,7 @@ static const vshCmdOptDef opts_domcapabilities[] = { + }, + {.name = "expand-cpu-features", + .type = VSH_OT_BOOL, +- .help = N_("show all features in host CPU model"), ++ .help = N_("expand 'host-model' CPU to also show features enabled by the CPU model"), + }, + {.name = NULL} + }; +-- +2.54.0 diff --git a/SOURCES/libvirt-Introduce-EXPAND_CPU_FEATURES-flag-for-domain-capabilities.patch b/SOURCES/libvirt-Introduce-EXPAND_CPU_FEATURES-flag-for-domain-capabilities.patch new file mode 100644 index 0000000..e9a7c04 --- /dev/null +++ b/SOURCES/libvirt-Introduce-EXPAND_CPU_FEATURES-flag-for-domain-capabilities.patch @@ -0,0 +1,54 @@ +From 9644e7aceda1ca2b88d9eb699a274c5b4eafbda1 Mon Sep 17 00:00:00 2001 +Message-ID: <9644e7aceda1ca2b88d9eb699a274c5b4eafbda1.1780571166.git.jdenemar@redhat.com> +From: Jiri Denemark +Date: Wed, 11 Mar 2026 11:31:06 +0100 +Subject: [PATCH] Introduce EXPAND_CPU_FEATURES flag for domain capabilities + +The new VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES flag for +virConnectGetDomainCapabilities can be used to request the host-model +CPU definition to include all supported features (normally only extra +features relative to the selected CPU model are listed). + +Signed-off-by: Jiri Denemark +Reviewed-by: Peter Krempa +(cherry picked from commit 8aa13d1b16b08feea37ecacc85540671e7995bb8) + +https://issues.redhat.com/browse/RHEL-153653 + +Signed-off-by: Jiri Denemark +--- + include/libvirt/libvirt-domain.h | 2 ++ + src/libvirt-domain.c | 5 +++++ + 2 files changed, 7 insertions(+) + +diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h +index 8e62bd23d4..1c5dbdc26e 100644 +--- a/include/libvirt/libvirt-domain.h ++++ b/include/libvirt/libvirt-domain.h +@@ -1517,6 +1517,8 @@ int virDomainMigrateStartPostCopy(virDomainPtr domain, + typedef enum { + /* Report host model with deprecated features disabled. (Since: 11.0.0) */ + VIR_CONNECT_GET_DOMAIN_CAPABILITIES_DISABLE_DEPRECATED_FEATURES = (1 << 0), ++ /* Report all host model CPU features. (Since: 12.2.0) */ ++ VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES = (1 << 1), + } virConnectGetDomainCapabilitiesFlags; + + char * virConnectGetDomainCapabilities(virConnectPtr conn, +diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c +index c7451fee05..034f126dd5 100644 +--- a/src/libvirt-domain.c ++++ b/src/libvirt-domain.c +@@ -12330,6 +12330,11 @@ virDomainSetUserPassword(virDomainPtr dom, + * instance, if host, libvirt and qemu is capable of VFIO + * passthrough and so on. + * ++ * If @flags includes VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES, ++ * libvirt will explicitly list all CPU features (in host-model CPU definition) ++ * that are supported on the host. Without this flag features that are part of ++ * the CPU model itself will not be listed. ++ * + * Returns NULL in case of error or an XML string + * defining the capabilities. + * +-- +2.54.0 diff --git a/SOURCES/libvirt-Introduce-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES-flag.patch b/SOURCES/libvirt-Introduce-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES-flag.patch new file mode 100644 index 0000000..16c6f06 --- /dev/null +++ b/SOURCES/libvirt-Introduce-VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES-flag.patch @@ -0,0 +1,59 @@ +From f4588f45d48037050c88624e37f7b13e15138b0e Mon Sep 17 00:00:00 2001 +Message-ID: +From: Jiri Denemark +Date: Fri, 29 May 2026 12:52:39 +0200 +Subject: [PATCH] Introduce + VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES flag + +Some CPU features may be enabled explicitly, but should not +automatically become part of a host-model CPU. Users can now request +such features to be shown in the host-model CPU in domain capabilities +by VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES flag. + +Signed-off-by: Jiri Denemark +Reviewed-by: Peter Krempa +(cherry picked from commit e1efd79e837456d209115c536fc7e5f14abcbc63) + +https://redhat.atlassian.net/browse/RHEL-177364 + +Signed-off-by: Jiri Denemark +--- + include/libvirt/libvirt-domain.h | 3 +++ + src/libvirt-domain.c | 8 ++++++++ + 2 files changed, 11 insertions(+) + +diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h +index 1c5dbdc26e..4d7c0099ef 100644 +--- a/include/libvirt/libvirt-domain.h ++++ b/include/libvirt/libvirt-domain.h +@@ -1519,6 +1519,9 @@ typedef enum { + VIR_CONNECT_GET_DOMAIN_CAPABILITIES_DISABLE_DEPRECATED_FEATURES = (1 << 0), + /* Report all host model CPU features. (Since: 12.2.0) */ + VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES = (1 << 1), ++ /* Report all CPU features supported on the host, even those that will not ++ * be enabled by host-model CPU mode. (Since: 12.5.0) */ ++ VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES = (1 << 2), + } virConnectGetDomainCapabilitiesFlags; + + char * virConnectGetDomainCapabilities(virConnectPtr conn, +diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c +index e146fa7e82..0ae48654df 100644 +--- a/src/libvirt-domain.c ++++ b/src/libvirt-domain.c +@@ -12335,6 +12335,14 @@ virDomainSetUserPassword(virDomainPtr dom, + * host-model CPU mode. Without this flag features that are part of the CPU + * model itself will not be listed. + * ++ * Adding VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES to @flags ++ * tells libvirt to update the host-model CPU definition with features that are ++ * supported on the host, but will not be enabled by default when starting a ++ * domain with host-model CPU. Use both ++ * VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES and ++ * VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES flags to get a ++ * complete list of features that can be enabled on the host. ++ * + * Returns NULL in case of error or an XML string + * defining the capabilities. + * +-- +2.54.0 diff --git a/SOURCES/libvirt-conf-Add-fields-for-recording-actually-selected-virtio-video-device.patch b/SOURCES/libvirt-conf-Add-fields-for-recording-actually-selected-virtio-video-device.patch new file mode 100644 index 0000000..2e5abdb --- /dev/null +++ b/SOURCES/libvirt-conf-Add-fields-for-recording-actually-selected-virtio-video-device.patch @@ -0,0 +1,211 @@ +From ef0dfcf0dea53cc1d8aabc08942a7091c9dbf30c Mon Sep 17 00:00:00 2001 +Message-ID: +From: Peter Krempa +Date: Mon, 8 Jun 2026 16:55:05 +0200 +Subject: [PATCH] conf: Add fields for recording actually-selected virtio video + device + +QEMU's commandline generator picks for virtio video between various +actual device models not only based on the XML definition but also +capabilities present. Since none of the devices is actually ABI +compatible we need to record the actually selected device in the XML. + +Introduce 'device' attribute: + +