129 Commits

Author SHA1 Message Date
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
yezengruan
bab57abd85 sync some bugfix patches from upstream
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-11-25 19:41:00 +08:00
openeuler-ci-bot
9cf5717ced
!181 [sync] PR-180: docs: Fix template matching in page.xsl
From: @openeuler-sync-bot 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2022-11-11 04:24:40 +00: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
openeuler-ci-bot
69caf4ef41
!177 libvirt: support migration dirtyrate
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-11-03 13:16:12 +00:00
yezengruan
81e3aa2975 libvirt: support migration dirtyrate
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-11-03 20:05:39 +08:00
openeuler-ci-bot
6e543ea6c2
!174 Synchronize upstream patches
From: @wengyu1 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2022-10-12 01:03:48 +00:00
wengyu1
8240a6481c libvirt: Synchronize upstream patches according to issue I5OLYY 2022-10-11 21:50:40 +08:00
openeuler-ci-bot
271386701a
!164 qemu: Add missing lock in qemuProcessHandleMonitorEOF (CVE-2021-3975)
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-08-25 09:31:37 +00: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
openeuler-ci-bot
1dd8bdc017
!158 apibuild: Fix self.waring method call
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-08-11 12:33:48 +00:00
yezengruan
a840bbd208 apibuild: Fix self.waring method call
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-08-11 19:26:42 +08:00
openeuler-ci-bot
b20e825847
!151 fix CVE-2022-0897 (openeuler !64)
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-06-20 09:23:33 +00: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
openeuler-ci-bot
9ae2f97046
!143 update patch with openeuler !62!63
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-06-13 07:23:17 +00: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
openeuler-ci-bot
44e37dab60
!140 Update some inconsistent patches
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-05-11 09:13:58 +00:00
yezengruan
43c328da80 update some inconsistent patches
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-05-10 20:15:17 +08:00
openeuler-ci-bot
e678aefa1d
!137 spec文件changelog格式更新
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-05-05 07:32:04 +00:00
yezengruan
0af0122a56 update the format of changelog
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-04-27 19:49:16 +08:00
openeuler-ci-bot
bddd51893e
!136 [sync] PR-135: [sync] PR-134: update patch with openeuler !59
From: @openeuler-sync-bot 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-04-06 02:13:08 +00: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
openeuler-ci-bot
47c9ccba09
!132 [sync] PR-131: update patch with openeuler !58
From: @openeuler-sync-bot 
Reviewed-by: @imxcc 
Signed-off-by: @imxcc
2022-03-30 04:06:05 +00: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
openeuler-ci-bot
6ef66ee85e
!129 sync the last 16 commits of 22.03 branch
From: @yezengruan 
Reviewed-by: @imxcc 
Signed-off-by: @imxcc
2022-03-19 04:24:54 +00: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
Euler Robot
e1bddd724d domain: add logs for virDomainHotpatchManage
Add logs for virDomainHotpatchManage to facilitate the location of
issues related to subsequent hotpatch.

Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
2022-03-18 20:53:54 +08:00
Euler Robot
c119db64e8 hotpatch: check vm id and pid before using hotpatch api
Check if the vm is alive before using hotpatch api by calling
virDomainObjCheckActive() to check vm id and calling
qemuDomainHotpatchCheckPid() to check vm pid.

Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
2022-03-18 20:53:44 +08:00
Euler Robot
70e1f0d59d hotpatch: implement hotpatch virsh api
Signed-off-by: Hao Wang <wanghao232@huawei.com>
Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
2022-03-18 20:53:33 +08:00
Chen Qun
b2c18c4b1a spec: Update patch and changelog with !44 hotpatch: introduce hotpatch async job flag and Implement qemuDomainHotpatchManage !44
Hotpatch: introduce DomainHotpatchManage API
hotpatch: Implement qemuDomainHotpatchManage
hotpatch: introduce hotpatch async job flag

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:53:19 +08:00
Euler Robot
7c0019006d hotpatch: introduce hotpatch async job flag
Signed-off-by: Hao Wang <wanghao232@huawei.com>
Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
2022-03-18 20:53:08 +08:00
Euler Robot
46685efb6b hotpatch: Implement qemuDomainHotpatchManage
Signed-off-by: Hao Wang <wanghao232@huawei.com>
Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
2022-03-18 20:52:59 +08:00
Euler Robot
eb02e33f40 Hotpatch: introduce DomainHotpatchManage API
Signed-off-by: Hao Wang <wanghao232@huawei.com>
Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
2022-03-18 20:52:48 +08:00