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)
nwfilter: fix crash when counting number of network filters (CVE-2022-0897)
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit abc01259ad25cf3e2647f6aae6e4e8979a4aa9f8)
qemuMonitorJSONSetMigrationParams: Take double pointer for @params
qemuMonitorJSONAddObject: Take double pointer for @props
:qemuMonitorJSONMakeCommandInternal: Clear @arguments when stolen
qemuMonitorAddObject: Fix semantics of @alias
qemuMonitorAddObject: Refactor cleanup
util: json: Replace virJSONValueObjectSteal by virJSONValueObjectRemoveKey
qemu: command: Generate commandline of 'masterKey0' secret via JSON
qemu: command: Generate commandline of 'sev0' sev-guest object via JSON
qemu: command: Generate commandline of iothread objects JSON
qemu: capabilities: Introduce QEMU_CAPS_OBJECT_QAPIFIED
qemu: monitor: Make wrapping of 'props' of 'object-add' optional
qemuMonitorCreateObjectPropsWrap: Open-code in qemuBuildMemoryBackendProps
qemu: monitor: Don't add 'props' wrapper if qemu has QEMU_CAPS_OBJECT_QAPIFIED
qemu: command: Use JSON for QAPIfied -object directly
tests: qemuxml2argv: Validate generation of JSON props for object-add
qemu: capabilities: Enable detection of QEMU_CAPS_OBJECT_QAPIFIED
Signed-off-by: yezengruan <yezengruan@huawei.com>
hotpatch: implement hotpatch virsh api
hotpatch: check vm id and pid before using hotpatch api
domain: add logs for virDomainHotpatchManage
Signed-off-by: AlexChen <alex.chen@huawei.com>
Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: Hao Wang <wanghao232@huawei.com>
conf/domain_conf: pin the retry_interval and retry_timeout parameters to xml
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
(cherry picked from commit 03afa02c3b7da5b4b6ab86a4dc48af4b1fb90d56)
tests: fix stat mocking with Fedora rawhide
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Peng Liang <liangpeng10@huawei.com>
Signed-off-by: imxcc <xingchaochao@huawei.com>
util: Move virIsDevMapperDevice() to virdevmapper.c
virdevmapper: Don't use libdevmapper to obtain dependencies
Signed-off-by: Jiajie Li <lijiajie11@huawei.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
rpc: gendispatch: handle empty flags
rpc: add support for filtering @acls by uint params
rpc: require write acl for guest agent in virDomainInterfaceAddresses
qemu: agent: set ifname to NULL after freeing
Signed-off-by: Jan Tomko <jtomko@redhat.com>
Signed-off-by: Jiajie Li <lijiajie11@huawei.com>
cherry-pick patchs list:
2ab8dba5 qemuDomainGetUnplugTimeout: Add G_GNUC_NO_INLINE
423664a6 virNetDevSwitchdevFeature: Make failure to get 'family_id' non-fatal
ca616274 virNetDevGetFamilyId: Change signature
67b973b5 qemuDomainDefPostParse: Fail if unable to fill machine type
67e19fc9 qemu: Revoke access to mirror on failed blockcopy
93b15ba0 qemu: fix hang in p2p + xbzrle compression + parallel migration
a13ac587 util: fix iteration in virSocketAddrResolveService
88011ed2 libxl: fix crash when initializing driver
Signed-off-by: AlexChen <alex.chen@huawei.com>