Fix the exception of adding TPM devices via virt-manager
by synchronizing upstream patches.
Signed-off-by: lixianglai <lixianglai@loongson.cn>
(cherry picked from commit 7e0d98bb1b1b0719ac595124afbd135781bb4115)
Fixed an issue where qxl devices could not be displayed in bios and grub
stages due to a loongarch architecture string comparison error.
Signed-off-by: lixianglai <lixianglai@loongson.cn>
(cherry picked from commit 3ec9f99b9e3286a298053975ed837c7a81f8bbe2)
- util: keep track of full GSource object not source ID number
- rpc: mark source returned by virEventGLibAddSocketWatch as unused
- rpc: ensure temporary GSource is removed from client event loop (CVE-2024-4418)
- vdpa: support vdpa device migrate
- vdpa: support vdpa device hot plug/unplug
- vdpa: Introduce the new device type vdpa to hostdev
- node_device: fix leak of DIR*
- Include vdpa devices in node device list
- lxc: fix lxcContainerMountAllFS() DEREF_BEFORE_CHECK
- qemu: Return perf status that affect next boot for shutoff domains While we set up perf events for a shutoff domain and check the settings, All of perf events are reported as 'disabled', unless we add --config, This is redundant for a shutoff domain.
- tests: upstream Fixing compiler warning in cputest
- qemu_migration_cookie: Rename ret in qemuDomainExtractTLSSubject
- virrandom: Fix printf format string in virRandomGenerateWWN()
- fix the issue of errors when saving after 'virsh edit'
- Use (un)signed printf specifiers correctly
- admin: fix leak of typed parameters on error
- esx: call freeaddrinfo earlier in esxUtil_ResolveHostname Call freeaddrinfo() as soon as @result is not needed anymore, i.e. right after getnameinfo(); this avoids calling freeaddrinfo() in two branches.
- qemu: Fix incorrect command name in error messages
Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
(cherry picked from commit 52e9a4d1d4018ba4555f5c91dd39c82ec0ec6337)
- virnetsshsession: Adapt to change libssh2 API
- selinux: Reflect context_str() type change
- Revert "selinux: adapt to libselinux"
- selinux: adapt to libselinux
- fix error in printf format string
Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
(cherry picked from commit 3c976f792656d514ef5ba649989144148b47f440)
Kunpeng920 support a new structure "cluster" in cpu topology.
Support it in libvirt.
Signed-off-by: zhangxinhao <zhangxinhao1@huawei.com>
(cherry picked from commit 0d65fed7bbadc46a7036c37e8aaaa96a7b3a7e1f)
1.bugfix: move qemuDomainDiskBlockIoTunelsSupported to currect place
2.Add loongarch support
Signed-off-by: zhaotianrui <zhaotianrui@loongson.cn>
Signed-off-by: mayunlong<mayunlong6@huawei.com>
(cherry picked from commit afda7f3dc8b6030f2d6092663f667789207ab2d4)
live_migrate: virsh migrate command supports the zstd compression
algorithm
glibcompat: Provide implementation for G_GNUC_NO_INLINE
Signed-off-by:mayunlong<mayunlong6@huawei.com>
(cherry picked from commit c952820128195c96f548160bd830e10ec8a9c9be)
- sync some bugfix patches from upstream
- support vhostuser disk
- libvirt: support dirtyrate (calc-dirty-rate, dirtyrate-param.mode)
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit 6291e25165891a96b7cfcffb7bd612c675810b95)