diff --git a/0001-Huawei-skip-function-virDomainQemuMonitorCommandAsyn.patch b/0001-Huawei-skip-function-virDomainQemuMonitorCommandAsyn.patch new file mode 100644 index 0000000000000000000000000000000000000000..2b7cdd3672d4bd18b5cfc588bcdc44abb9d789e6 --- /dev/null +++ b/0001-Huawei-skip-function-virDomainQemuMonitorCommandAsyn.patch @@ -0,0 +1,35 @@ +From 387e65736def368d9aa91106995498611ae055d4 Mon Sep 17 00:00:00 2001 +From: Xie Tongchen +Date: Tue, 5 Aug 2025 19:17:04 +0800 +Subject: [PATCH] [Huawei] skip function virDomainQemuMonitorCommandAsync + generation + +Offering: NA +CVE: +Reference: NA +DTS/AR: xxx +Contribute to Upstream(Y/N): N +Description: +Skip function virDomainQemuMonitorCommandAsync generation + +Signed-off-by: Xie Tongchen +--- + generator.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/generator.py b/generator.py +index 7727679..2cced10 100755 +--- a/generator.py ++++ b/generator.py +@@ -572,6 +572,8 @@ skip_function = { + 'virConnectDomainQemuMonitorEventRegister', # overridden in -qemu.py + 'virConnectDomainQemuMonitorEventDeregister', # overridden in -qemu.py + 'virDomainQemuMonitorCommandWithFiles', # overridden in -qemu.py ++ ++ 'virDomainQemuMonitorCommandAsync', # only useful in C for ham migration + } + + # Generate C code, but skip python impl +-- +2.43.0 + diff --git a/libvirt-python.spec b/libvirt-python.spec index 4dddf4b57c02f8bbf1f4e41d426d8a24a209f47b..20c7f26699c2bbf8502fd6dc6529a2bf186dc429 100644 --- a/libvirt-python.spec +++ b/libvirt-python.spec @@ -3,7 +3,7 @@ Summary: The libvirt virtualization API python3 binding Name: libvirt-python Version: 9.10.0 -Release: 3 +Release: 4 Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz Url: https://libvirt.org License: LGPL-2.1-or-later @@ -13,6 +13,8 @@ BuildRequires: python3-pytest BuildRequires: python3-lxml BuildRequires: gcc +Patch0001: 0001-Huawei-skip-function-virDomainQemuMonitorCommandAsyn.patch + %global __provides_exclude_from ^(%{python3_sitearch}/.*\.so)$ %description @@ -65,6 +67,9 @@ find examples -type f -exec chmod 0644 \{\} \; %{python3_sitearch}/*egg-info %changelog +* Tue Aug 5 2025 Xie Tongchen - 9.10.0-4 +- skip function virDomainQemuMonitorCommandAsync generation + * Mon Jul 14 2025 Funda Wang - 9.10.0-3 - fix test usage