93 Commits

Author SHA1 Message Date
Adttil
838c3a9aa4 libvirt update to version 9.10.0-13 2024-11-28 20:13:39 +08:00
Xianglai Li
5d41f7e23d add numa support for loongarch64
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
2024-06-16 21:27:19 -04:00
jiangjiacheng
145ea1206d fix CVE-2024-4418
rpc: ensure temporary GSource is removed from client event loop
2024-05-24 17:50:03 +08:00
Xianglai Li
aaeec40e35 Add loongarch support for libvirt
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
2024-05-20 03:36:26 -04:00
caozhongwang
9036a93b64 Bugfix: remote_driver: fix the UAF causing "UnicodeDecodeError: 'uft-8' codec can't decode byte XXX" 2024-05-18 19:07:20 +08:00
laokz
a3968ea5e3 riscv64: enable libvirt-daemon-kv sub-package
This is for package libguestfs.
2024-05-06 12:36:29 +08:00
shenyage
2b5df66bb7 libvirt update to version 9.10.0-7:
remote_driver: Restore special behavior of remoteDomainGetBlockIoTune()

Signed-off-by: shenyage <shenyage1@huawei.com>
2024-04-29 20:58:43 +08:00
Jiabo Feng
1b19c8ecc1 spec: remove libxml2 dependency
Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
2024-04-11 12:02:54 +08:00
Jiabo Feng
f5ca4aa04e libvirt update to version 9.10.0-5:
- hotpatch: if hotpatch_path not in qemu.conf,the hotpatch doesn't antoload
- remote: check for negative array lengths before allocation
- Fix off-by-one error in udevListInterfacesByStatus
- Fix warnings found by clang
- hotpatch: virsh support autoload mode
- domain: add logs for virDomainHotpatchManage
- hotpatch: check vm id and pid before using hotpatch api
- hotpatch: implement hotpatch virsh api
- hotpatch: introduce hotpatch async job flag
- hotpatch: Implement qemuDomainHotpatchManage
- Hotpatch: introduce DomainHotpatchManage API

Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
2024-04-11 08:27:57 +08:00
Jiabo Feng
307ea8abab libvirt update to version 9.10.0-4:
- docs: Document CPU clusters
- docs: Improve documentation for CPU topology
- tests: Verify handling of CPU clusters in QMP data
- qemu: Make monitor aware of CPU clusters
- qemu: Use CPU clusters for guests
- qemu: Introduce QEMU_CAPS_SMP_CLUSTERS
- conf: Allow specifying CPU clusters
- conf: Report CPU clusters in capabilities XML
- tests: Add hostcpudata for machine with CPU clusters
- cpu_map: add kunpeng-920 features to arm features
- cpu/aarch64: enable host-model cpu for AArch64 architecture
- conf/domain_conf: pin the retry_interval and retry_timeout parameters to xml
- nodedev: fix potential heap use after free
- libvirt/conf: Set default values of retry fileds
- qemu: Support 'retry' BLOCK_IO_ERROR event.
- libvirt: Add 'retry' support for error policy
- vdpa: support vdpa device migrate
- vdpa: support vdpa device hot plug/unplug
- hostdev:Introduce vDPA device to hostdev subsystem as a new subtype
- node_device: fix leak of DIR*
- migration/multifd-pin: support migration multifd thread pin
- migration/multifd-pin: add qemu monitor callback functions
- migration/migration-pin: add domainMigrationPid for qemuMonitorCallbacks
- migration/migration-pin: add migrationpin for migration parameters
- migration/migration-pin: add qemu monitor callback functions
- migration/migration-pin:add some migration/multiFd params
- qemu: add pointer check in qemuMonitorLastError
- qemu: fix a concurrent operation situation
- test/commandtest: skip the test4 if the testcase is run in the container env

Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
2024-04-02 20:56:45 +08:00
mayunlong
0bc31490d5 Incorrect tar package, update it 2024-03-28 13:46:22 +08:00
MaYunlong
eeedca1878 spec: isolate the client-qemu using macro
Signed-off-by: mayunlong <mayunlong6@huawei.com>
2024-03-27 08:26:19 +08:00
MaYunlong
b06fd98c80 spec: fix some switch in spec.
Signed-off-by: mayunlong <mayunlong6@huawei.com>
2024-03-27 06:43:37 +08:00
mayunlong
79f2e60eb9 nodedev: delete mdev
mdev is deleted because it has no application scenario.

Signed-off-by: mayunlong <mayunlong6@huawei.com>
2024-03-27 06:43:26 +08:00
MaYunlong
82a74e8298 Update to 9.10.0 release, Initial package for openEuler.
(cherry picked from commit ec5583aea2c0bdf69fb51c5056c2cad677f324a8)
2024-03-20 08:57:23 +08:00
Jiabo Feng
52e9a4d1d4 libvirt update to version 6.2.0-60
- 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>
2023-12-05 21:06:20 +08:00
Jiabo Feng
746410eb7a libvirt update to version 6.2.0-59
- 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)
2023-08-10 08:28:07 +08:00
laokz
33f5368afd add riscv64 support
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
2023-05-23 18:33:44 +08:00
jokenzhang
0d65fed7bb cpu_topo: support for cpu_topo "clusters”
Kunpeng920 support a new structure "cluster" in cpu topology.
Support it in libvirt.

Signed-off-by: zhangxinhao <zhangxinhao1@huawei.com>
2023-05-23 09:38:24 +08:00
Fei Xu
5ca30552d7 libvirt update to version 6.2.0-56
- nodedev: ignore EINVAL from libudev in udevEventHandleThread
- qemu: tpm: Pass --logfile to swtpm_setup for incoming migration

Signed-off-by: Fei Xu <xufei30@huawei.com>
2023-05-21 20:44:06 +08:00
tianwei
bdfe28aafd Fix potential crash during driver cleanup
(cherry picked from commit 250f17e80782b144ef7b485bac8ae2ee94651e71)
2023-04-25 22:14:07 +08:00
Chenxi Mao
0363135865 Fix build error if compiler switch to clang
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2023-04-11 15:43:43 +08:00
zhaotianrui
f6976434f5 bugfix: correct the firmware path of loongarch virt machine
Signed-off-by: zhaotianrui <zhaotianrui@loongson.cn>
2023-03-30 19:34:25 +08:00
zhaotianrui
afda7f3dc8 libvirt update to version 6.2.0-52
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>
2023-03-29 10:54:24 +08:00
mayunlong
c952820128 libvirt update to version 6.2.0-51
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>
2023-02-15 09:10:27 +08:00
jiang jiacheng
adddc503d8 Backport patches from upstream
Signed-off-by: jiang jiacheng <jiangjiacheng@huawei.com>
2023-01-04 12:02:07 +08:00
zhengchuan
f0dec67048 add function of set migration thread affinity during migration
Signed-off-by:zhengchuan<zhengchuan@huawei.com>
2022-12-17 11:03:35 +08:00
yezengruan
7b331ac6eb update the Chinese translation of nwfilter
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-12-10 15:17:36 +08:00
yezengruan
6291e25165 libvirt update to version 6.2.0-47
- 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>
2022-12-06 20:57:09 +08:00
yezengruan
bab57abd85 sync some bugfix patches from upstream
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-11-25 19:41:00 +08:00
yezengruan
950d95bd69 docs: Fix template matching in page.xsl
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit 2d02e27829e0f2d17df0cb97b8603fe04b343f0e)
2022-11-11 11:50:24 +08:00
yezengruan
81e3aa2975 libvirt: support migration dirtyrate
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-11-03 20:05:39 +08:00
wengyu1
8240a6481c libvirt: Synchronize upstream patches according to issue I5OLYY 2022-10-11 21:50:40 +08:00
yezengruan
916bc9fda6 fix CVE-2021-3975 (openeuler !76)
qemu: Add missing lock in qemuProcessHandleMonitorEOF (CVE-2021-3975)

Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-08-25 16:27:50 +08:00
yezengruan
a840bbd208 apibuild: Fix self.waring method call
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-08-11 19:26:42 +08:00
yezengruan
abc01259ad fix CVE-2022-0897 (openeuler !66)
nwfilter: fix crash when counting number of network filters (CVE-2022-0897)

Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-06-20 09:42:33 +08:00
yezengruan
3490d0f629 update patch with openeuler !62!63
sw_64: Add sw64 architecture support
src: workaround warning triggered in glib 2.69
2022-06-13 14:54:44 +08:00
yezengruan
43c328da80 update some inconsistent patches
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-05-10 20:15:17 +08:00
yezengruan
0af0122a56 update the format of changelog
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-04-27 19:49:16 +08:00
yezengruan
2426dfd595 update patch with openeuler !59
apparmor: Permit new capabilities required by libvirtd

Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit cc7a0d106087d7f1e1b09b4100ebd0051a9b2186)
(cherry picked from commit 36fc806da3aedf0f608d343d803efe8ed9d21905)
2022-03-30 14:11:38 +08:00
yezengruan
ab887478b0 update patch with openeuler !58
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>
(cherry picked from commit da25da87c49d1b576b48fd58614ff43833a04f37)
2022-03-24 16:20:58 +08:00
yezengruan
d5507264fd update patch with openeuler !57
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-03-18 20:55:23 +08:00
yezengruan
4d80e9430b update patch with openeuler !55
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-03-18 20:55:13 +08:00
imxcc
d5dde37654 update patch with openeuler !54
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-18 20:55:01 +08:00
imxcc
3b3e670760 Update patch with openeuler !53
hotpatch:virsh support autoload mode

Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-18 20:54:50 +08:00
imxcc
8125920b1b Revert "tests: disabale storage tests"
glusterfs bug about "tcmalloc" has fixed, details in
https://gitee.com/src-openeuler/gluterfs/pulls/26

Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-18 20:54:44 +08:00
imxcc
ca082a53da tests: disabale storage tests
The storagetest in obs cannot be, and related tests are temporarily
disabled

Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-18 20:54:38 +08:00
imxcc
823729a5f2 backport: fix rst2html and ASN1 compiler failure
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-18 20:54:23 +08:00
Chen Qun
49be1710c5 spec: Update release version with !44 !45
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2022-03-18 20:54:15 +08:00
Chen Qun
90cd8115bb spec: Update patch and changelog with !45 hotpatch: implement hotpatch virsh api and add logs for virDomainHotpatchManage !45
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>
2022-03-18 20:54:02 +08:00