71 Commits

Author SHA1 Message Date
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
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
imxcc
389e114ac8 fix cve-2021-3667 cve-2021-3631
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-09-26 16:32:28 +08:00
Chen Qun
afd6dce36b spec: Update release version with !38
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-09-24 11:28:33 +08:00
Chen Qun
03afa02c3b spec: Update patch and changelog with !38 conf/domain_conf: pin the retry_interval and retry_timeout parameters to xml !38
conf/domain_conf: pin the retry_interval and retry_timeout parameters to xml

Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
2021-09-24 11:28:31 +08:00
imxcc
8ac929cbee virDevMapperGetTargets: Don't ignore EBADF
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-09-14 22:34:03 +08:00
imxcc
e4337e3bb0 Modify some different patch files
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-09-14 22:25:39 +08:00
heyitao
8f54669cbd Handle kernel without device-mapper support
Signed-off-by: heyitao <heyitao@uniontech.com>
2021-09-02 03:20:31 -04:00
chenyanpanHW
f08580e7a4
delete -S git_am from %autosetup, and delete BuildRequires git 2021-07-30 23:04:34 +08:00
Jingyi Wang
909e0586cd Add new CPU model Cooperlake
Signed-off-by: Jingyi Wang <wangjingyi11@huawei.com>
2021-07-27 15:19:45 +08:00
Chen Qun
24ad023f15 spec: Update release version with !30
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-13 21:28:00 +08:00
Chen Qun
e51f6bf7a4 spec: Update patch and changelog with !30 tests: fix stat mocking with Fedora rawhide(for glibc 2.33) !30
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>
2021-07-13 21:28:00 +08:00
Jiajie Li
fd0efbf8ec libvirt.spec: remove dtrace for aarch64 OS
Signed-off-by: Jiajie Li <lijiajie11@huawei.com>
2021-03-19 20:17:44 +08:00
Chen Qun
d9f0a0d97f spec: Update release version with !26
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-03-18 20:10:46 +08:00
Chen Qun
970f1f9ae0 spec: Update patch and changelog with !26 libvirt/conf: Set default values of retry fileds !26
libvirt/conf: Set default values of retry fileds

Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
2021-03-18 20:10:45 +08:00
Euler Robot
a5975800f4 spec: Update release version with !25 !24
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2021-02-27 21:29:08 +08:00
Euler Robot
9d720c6958 spec: Update patch and changelog with !24
add phytium 2000plus and s2500 support on arm architecture for capability
2021-02-27 21:29:08 +08:00
Euler Robot
d250526da2 spec: Update patch and changelog with !25
libvirt: Add 'retry' support for error policy
qemu: Support 'retry' BLOCK_IO_ERROR event.

Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Signed-off-by: Ying Fang <fangying1@huawei.com>
2021-02-27 21:29:06 +08:00
Euler Robot
6a684f06d7 spec: Update release version with !19 !20
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2021-01-20 10:54:01 +08:00
Euler Robot
bcedf758ec spec: Update patch and changelog with !19
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>
2021-01-20 10:54:01 +08:00
Euler Robot
e60b829457 spec: Update release version with !14
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2020-10-26 20:59:55 +08:00
Euler Robot
16330ca79d spec: Update patch and changelog with !14
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>
2020-10-26 20:59:55 +08:00
AlexChen
b4fd5d3833 libvirt: add the prefix 'libvirt' for some patches
Signed-off-by: AlexChen <alex.chen@huawei.com>
2020-09-29 17:07:13 +08:00