- remote: fix double free of migration params on error
- qemu: avoid deadlock in qemuDomainObjStopWorker We are dropping the only reference here so that the event loop thread is going to be exited synchronously. In order to avoid deadlocks we need to unlock the VM so that any handler being called can finish execution and thus even loop thread be finished too.
- virsh: add tmm main command word Add tmm command word into virsh tool to call get tmm memory info API. It makes virsh can use tmm main commmand to show tmm memory info on console. This command requires specific kernel and a kernel driver to make sure its regular function. If runnning environment missing the above reliance, this command will show error result on console.
- libvirt: add get tmm memory info API and libvirtd RPC Add the get tmm memory info API into libvirt-host. Also should add the RPC calls into libvirtd for API calling.
- libvirt: support the virtCCA feature Add cvm parameter into the type of LaunchSecurity which is a optional filed for libvirt xml. Its purpose is to pass the cvm parameter through to qemu. Also this patch support virsh edit to save cvm parameter into libvirt temporary xml.
- qemu_driver: Add calc_mode for dirtyrate statistics
- virsh: Add mode option to domdirtyrate-calc virsh api
- qemu: Generate command line for dirty-ring-size
- qemu: support dirty ring feature
- conf: Turn virDomainDef.kvm_features into a struct
- qemu_validate: Allow kvm hint-dedicated on non-passthrough VMs
- virDomainFeaturesKVMDefParse: Remove tautological "if"
- virDomainFeaturesKVMDefParse: Remove tautological "switch"
- virxml: Add virXMLPropUInt
- virxml: Add virXMLPropInt
- virxml: Add virXMLPropTristateSwitch
- virxml: Add virXMLPropTristateBool
- virDomainFeaturesKVMDefParse: Remove ctxt
- virDomainFeaturesDefParse: Factor out KVM parsing into separate function
- internal.h: Introduce and use VIR_IS_POW2()
- hotpatch: if hotpatch_path not in qemu.conf,the hotpatch doesn't antoload
Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
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)