diff --git a/libvirt.spec b/libvirt.spec index b4d8d298cd050d0d39913d2a6a5b439cda85d5c2..71a620ccc89416ffbd2ec056b17ac44cfe119ccf 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -101,7 +101,7 @@ Summary: Library providing a simple virtualization API Name: libvirt Version: 6.2.0 -Release: 67 +Release: 68 License: LGPLv2+ URL: https://libvirt.org/ @@ -540,6 +540,7 @@ Patch0427: add-phytium-s5000c-support-on-arm-architecture-for-c.patch Patch0428: cpu-Modify-virCPUarmCompare-to-perform-compare-actio.patch Patch0429: cpu-revert-Modify-virCPUarmCompare-to-perform-compar.patch Patch0430: virt-host-validate-Fix-IOMMU-output-on-aarch64.patch +Patch0431: vdpa-support-vdpa-device-bootindex-config.patch Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-config-network = %{version}-%{release} @@ -2276,6 +2277,9 @@ exit 0 %changelog +* Wed Sep 18 2024 Jiabo Feng - 6.2.0-68 +- vdpa: support vdpa device bootindex config + * Thu Aug 22 2024 Jiabo Feng - 6.2.0-67 - virt-host-validate: Fix IOMMU output on aarch64 - cpu: revert: Modify virCPUarmCompare to perform compare actions diff --git a/vdpa-support-vdpa-device-bootindex-config.patch b/vdpa-support-vdpa-device-bootindex-config.patch new file mode 100644 index 0000000000000000000000000000000000000000..0abb50b855fe0f6a0d84de9c367f7ff42f807b70 --- /dev/null +++ b/vdpa-support-vdpa-device-bootindex-config.patch @@ -0,0 +1,27 @@ +From 0f55546c2e4cf4ba8361196b91ba0deea50f9732 Mon Sep 17 00:00:00 2001 +From: jiangdongxu +Date: Sun, 8 Sep 2024 17:04:02 +0000 +Subject: [PATCH] vdpa: support vdpa device bootindex config vdpa: support vdpa + device bootindex config + +Signed-off-by: jiangdongxu +--- + 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 675a624919..3dd5681a41 100644 +--- a/src/qemu/qemu_command.c ++++ b/src/qemu/qemu_command.c +@@ -5492,6 +5492,8 @@ qemuBuildHostdevVDPAStr(const virDomainDef *def, + virBufferAsprintf(&buf, ",vhostdev=%s", vdpa->devpath); + if (qemuBuildDeviceAddressStr(&buf, def, dev->info, qemuCaps) < 0) + return NULL; ++ if (dev->info->bootIndex) ++ virBufferAsprintf(&buf, ",bootindex=%u", dev->info->bootIndex); + return virBufferContentAndReset(&buf); + } + +-- +2.41.0.windows.1 +