169 Commits

Author SHA1 Message Date
Xianglai Li
aaeec40e35 Add loongarch support for libvirt
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
2024-05-20 03:36:26 -04:00
openeuler-ci-bot
35c4e39997
!314 remote_driver: fix the UAF causing "UnicodeDecodeError: 'utf-8' codec can't decode byte XXX".
From: @jjiacheng 
Reviewed-by: @mdsc 
Signed-off-by: @mdsc
2024-05-18 14:48:15 +00: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
openeuler-ci-bot
c0998805f7
!305 修复riscv64上缺少libvirt-daemon-kvm子包导致nbdkit无法编译问题
From: @laokz 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2024-05-11 06:47:57 +00:00
laokz
a3968ea5e3 riscv64: enable libvirt-daemon-kv sub-package
This is for package libguestfs.
2024-05-06 12:36:29 +08:00
openeuler-ci-bot
ef664fecee
!303 libvirt update to version 9.10.0-7
From: @jacob1996 
Reviewed-by: @jjiacheng, @mdsc 
Signed-off-by: @mdsc
2024-05-06 01:24:15 +00: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
openeuler-ci-bot
c6294c3eef
!298 spec: remove libxml2 dependency
From: @JiaboFeng 
Reviewed-by: @imxcc 
Signed-off-by: @imxcc
2024-04-11 08:51:23 +00:00
Jiabo Feng
1b19c8ecc1 spec: remove libxml2 dependency
Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
2024-04-11 12:02:54 +08:00
openeuler-ci-bot
dae1f91425
!295 libvirt update to version 9.10.0-5
From: @JiaboFeng 
Reviewed-by: @mdsc 
Signed-off-by: @mdsc
2024-04-11 01:12:14 +00: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
openeuler-ci-bot
bd62b65f30
!287 libvirt update to version 9.10.0-4:
From: @JiaboFeng 
Reviewed-by: @mdsc 
Signed-off-by: @mdsc
2024-04-10 13:28:22 +00: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
openeuler-ci-bot
0c7c54e0f0
!286 tar包为10.1.0版本 更新到9.10.0版本
From: @Mayunlong541 
Reviewed-by: @jjiacheng, @mdsc 
Signed-off-by: @mdsc
2024-04-02 12:40:00 +00:00
openeuler-ci-bot
7a960907c1
!280 适配openEuler构建,去除mdev依赖
From: @Mayunlong541 
Reviewed-by: @jjiacheng, @mdsc 
Signed-off-by: @mdsc
2024-03-28 09:38:23 +00: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
openeuler-ci-bot
74cef61308
!276 [sync] PR-271: Update to 9.10.0 release, Initial package for openEuler.
From: @openeuler-sync-bot 
Reviewed-by: @mdsc 
Signed-off-by: @mdsc
2024-03-26 03:01:39 +00: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
openeuler-ci-bot
9eddeae9c7
!261 libvirt update to version 6.2.0-60
From: @JiaboFeng 
Reviewed-by: @mdsc 
Signed-off-by: @mdsc
2023-12-05 14:30:42 +00: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
openeuler-ci-bot
c932721f25
!251 [sync] PR-249: libvirt update to version 6.2.0-59
From: @openeuler-sync-bot 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-08-10 01:04:59 +00: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
openeuler-ci-bot
c764433e0e
!221 增加riscv构建支持
From: @laokz 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-05-24 04:18:16 +00:00
laokz
33f5368afd add riscv64 support
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
2023-05-23 18:33:44 +08:00
openeuler-ci-bot
cc56946bc8
!240 cpu_topo: support for cpu_topo "clusters”
From: @omnihorizon 
Reviewed-by: @yezengruan, @Mayunlong541 
Signed-off-by: @yezengruan
2023-05-23 07:02:28 +00: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
openeuler-ci-bot
c4005922b9
!235 libvirt update to version 6.2.0-56
From: @flyking001 
Reviewed-by: @Mayunlong541, @yezengruan 
Signed-off-by: @yezengruan
2023-05-22 03:47:04 +00: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
openeuler-ci-bot
06b09a4694
!233 [sync] PR-231: 修复驱动程序清理过程中的潜在崩溃
From: @openeuler-sync-bot 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-04-26 01:19:09 +00:00
tianwei
bdfe28aafd Fix potential crash during driver cleanup
(cherry picked from commit 250f17e80782b144ef7b485bac8ae2ee94651e71)
2023-04-25 22:14:07 +08:00
openeuler-ci-bot
3ac413363c
!226 llvm平行宇宙计划:修复使用clang构建发现的编译警告
From: @chenxi-mao 
Reviewed-by: @Mayunlong541, @yezengruan 
Signed-off-by: @yezengruan
2023-04-13 03:14:53 +00: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
openeuler-ci-bot
2c001521fb
!222 修复libvirt.spec中loongarch架构虚拟机的固件加载路径
From: @ddjsaiwqq 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-03-30 12:28:42 +00: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
openeuler-ci-bot
4157a39461
!217 libvirt update to version 6.2.0-52
From: @Mayunlong541 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-03-29 06:07:43 +00: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
openeuler-ci-bot
fef85eeebd
!209 libvirt update to version 6.2.0-51
From: @Mayunlong541 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-02-15 01:55:06 +00: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
openeuler-ci-bot
378fc2a283
!203 Backport patches from upstream
From: @jjiacheng 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2023-01-04 06:57:38 +00:00
jiang jiacheng
adddc503d8 Backport patches from upstream
Signed-off-by: jiang jiacheng <jiangjiacheng@huawei.com>
2023-01-04 12:02:07 +08:00
openeuler-ci-bot
3e5cb55b1a
!199 libvirt增加迁移绑核功能
From: @Mayunlong541 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2022-12-17 06:11:48 +00: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
openeuler-ci-bot
b6ca5be2ea
!193 update the Chinese translation of nwfilter
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-12-10 09:56:36 +00:00
yezengruan
7b331ac6eb update the Chinese translation of nwfilter
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-12-10 15:17:36 +08:00
openeuler-ci-bot
4f52cda3de
!189 libvirt update to version 6.2.0-47
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-12-09 10:14:14 +00: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
openeuler-ci-bot
c13ec0ae76
!185 sync some bugfix patches from upstream
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-11-29 08:13:20 +00:00