imxcc
569b732a2a
Update patch with openeuler !53
...
hotpatch:virsh support autoload mode
Signed-off-by: imxcc <xingchaochao@huawei.com>
(cherry picked from commit a208cbfa480855e6c2ed5922588f293938f93cf9)
2022-02-12 20:23:48 +08:00
openeuler-ci-bot
2536268319
!113 Revert test disbale storage tests
...
Merge pull request !113 from imxcc/openEuler-22.03-LTS-Next
2022-01-29 10:10:02 +00:00
imxcc
d3cec4fede
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-01-29 17:21:18 +08:00
openeuler-ci-bot
048574a841
!112 tests: disabale storage tests
...
Merge pull request !112 from imxcc/openEuler-22.03-LTS-Next
2022-01-14 08:00:46 +00:00
imxcc
6aa65dff38
tests: disabale storage tests
...
The storagetest in obs cannot be, and related tests are temporarily
disabled
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-01-14 14:18:19 +08:00
openeuler-ci-bot
f5f9b88890
!110 backport: fix rst2html and ASN1 compiler failure
...
Merge pull request !110 from imxcc/openEuler-22.03-LTS-Next
2022-01-13 06:42:01 +00:00
imxcc
362c27d4ba
backport: fix rst2html and ASN1 compiler failure
...
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-01-12 20:06:59 +08:00
openeuler-ci-bot
ec6f318b70
!101 Automatically generate code patches with openeuler !44 !45
...
From: @kuhnchen18
Reviewed-by: @imxcc
Signed-off-by: @imxcc
2021-12-08 06:49:58 +00:00
Chen Qun
3c82da0471
spec: Update release version with !44 !45
...
increase release verison by one
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-12-06 16:28:37 +08:00
Chen Qun
70b0d58f55
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>
2021-12-06 16:28:27 +08:00
Euler Robot
5265000be0
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>
2021-12-06 16:28:27 +08:00
Euler Robot
18b0269877
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>
2021-12-06 16:28:27 +08:00
Euler Robot
82c220ec92
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>
2021-12-06 16:28:27 +08:00
Chen Qun
81d7397068
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>
2021-12-06 16:28:24 +08:00
Euler Robot
25c766d14d
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>
2021-12-06 16:28:24 +08:00
Euler Robot
a5a94b0374
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>
2021-12-06 16:28:24 +08:00
Euler Robot
bb41606f5b
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>
2021-12-06 16:28:24 +08:00
openeuler-ci-bot
06146b7385
!92 fix cve-2021-3667 cve-2021-3631
...
From: @imxcc
Reviewed-by: @kevinzhu1
Signed-off-by: @kevinzhu1
2021-09-26 09:07:52 +00:00
imxcc
3ad5fb8a7b
fix cve-2021-3667 cve-2021-3631
...
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-09-26 16:33:22 +08:00
openeuler-ci-bot
d1bdac9f3a
!90 [sync] PR-87: Automatically generate code patches with openeuler !38
...
From: @openeuler-sync-bot
Reviewed-by: @imxcc
Signed-off-by: @imxcc
2021-09-26 03:43:37 +00:00
Chen Qun
c79487f070
spec: Update release version with !38
...
increase release verison by one
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
(cherry picked from commit afd6dce36b5ee23ec4eb9cd91a51a8148aeeb19e)
2021-09-24 14:48:50 +08:00
Chen Qun
069d53def0
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>
(cherry picked from commit 03afa02c3b7da5b4b6ab86a4dc48af4b1fb90d56)
2021-09-24 14:48:50 +08:00
Euler Robot
8f2ddb9138
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 34896f104c78c816e38096a5692d9487fc7d33a2)
2021-09-24 14:48:50 +08:00
openeuler-ci-bot
ecfc8975c1
!84 bugfix:virDevMapperGetTargets: Don't ingore EBADF
...
From: @imxcc
Reviewed-by: @kevinzhu1
Signed-off-by: @kevinzhu1
2021-09-14 14:49:12 +00:00
imxcc
1802692fb3
virDevMapperGetTargets: Don't ignore EBADF
...
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-09-14 22:34:50 +08:00
imxcc
fbaeef0a4a
Modify some different patch files
...
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-09-14 22:20:24 +08:00
openeuler-ci-bot
2f47359255
!83 [sync] PR-82: when dm-mod not load , libvirt create vm error
...
From: @openeuler-sync-bot
Reviewed-by: @imxcc
Signed-off-by: @imxcc
2021-09-14 02:22:36 +00:00
heyitao
41ba3b8ed0
Handle kernel without device-mapper support
...
Signed-off-by: heyitao <heyitao@uniontech.com>
(cherry picked from commit 8f54669cbdaa2e8fd2107c606ee94f8845c1f608)
2021-09-14 09:09:49 +08:00
openeuler-ci-bot
6768e48a78
!81 libvirt delete -S git_am from %autosetup, and delete BuildRequires git
...
From: @chenyanpanHW
Reviewed-by: @imxcc
Signed-off-by: @imxcc
2021-07-31 12:39:38 +00:00
chenyanpanHW
f08580e7a4
delete -S git_am from %autosetup, and delete BuildRequires git
2021-07-30 23:04:34 +08:00
openeuler-ci-bot
17a3e364f5
!78 [feature]add new CPU model Cooperlake
...
From: @jingyi_wang
Reviewed-by: @imxcc
Signed-off-by: @imxcc
2021-07-27 07:59:24 +00: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
openeuler-ci-bot
269ef91758
!75 Automatically generate code patches with openeuler !30
...
From: @kuhnchen18
Reviewed-by: @imxcc
Signed-off-by: @imxcc
2021-07-14 02:20:28 +00: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
imxcc
389035428c
tests: fix stat mocking with Fedora rawhide
...
GLibC has a really complicated way of dealing with the 'stat' function
historically, which means our mocks in turn have to look at four
different possible functions to replace, stat, stat64, __xstat,
__xstat64.
In Fedora 33 and earlier:
- libvirt.so links to __xstat64
- libc.so library exports stat, stat64, __xstat, __xstat64
- sys/stat.h header exposes stat and __xstat
In Fedora 34 rawhide:
- libvirt.so links to stat64
- libc.so library exports stat, stat64, __xstat, __xstat64
- sys/stat.h header exposes stat
Historically we only looked at the exported symbols from libc.so to
decide which to mock.
In F34 though we must not consider __xstat / __xstat64 though because
they only existance for binary compatibility. Newly built binaries
won't reference them.
Thus we must introduce a header file check into our logic for deciding
which symbol to mock. We must ignore the __xstat / __xstat64 symbols
if they don't appear in the sys/stat.h header, even if they appear
in libc.so
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@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
openeuler-ci-bot
7359780d1e
!66 libvirt.spec: remove dtrace for aarch64 OS
...
From: @lijiajie128
Reviewed-by: @xydong
Signed-off-by: @xydong
2021-03-19 21:39:58 +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
openeuler-ci-bot
7557fcf394
!64 Automatically generate code patches with openeuler !26
...
From: @kuhnchen18
Reviewed-by: @cellfaint
Signed-off-by: @cellfaint
2021-03-18 21:12:25 +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
Chen Qun
9310f12cbc
libvirt/conf: Set default values of retry fileds
...
Currently the default values of retry_interval and retry_timeout are set
to -1, when 'driver' option exists without retry fileds. It conflicts
with the default values when the 'driver' option does not exist.
So let's set default values of retry_interval and retry_timeout to 0 when
retry policy is not enabled.
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
2021-03-18 20:10:45 +08:00
openeuler-ci-bot
d4073186bb
!62 Automatically generate code patches with openeuler !25 !24
...
From: @zhendongchen
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2021-03-09 10:37:26 +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
Huawei Technologies Co., Ltd
f41320e694
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
Huawei Technologies Co., Ltd
d7ff1f4b63
qemu: Support 'retry' BLOCK_IO_ERROR event.
...
Accept BLOCK_IO_ERROR event with action='retry' from qemu.
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Signed-off-by: Ying Fang <fangying1@huawei.com>
2021-02-27 21:29:06 +08:00
Huawei Technologies Co., Ltd
d5ed21e52d
libvirt: Add 'retry' support for error policy
...
Introduce error_policy=/rerror_policy='retry' to support
werror=/rerror=retry mechanism in qemu.
Add retry_interval parameter to control the interval between retries.
Add retry_timeout parameter to control the total retry times.
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Signed-off-by: Ying Fang <fangying1@huawei.com>
2021-02-27 21:29:06 +08:00
openeuler-ci-bot
bf58106e5b
!54 Automatically generate code patches with openeuler
...
From: @zhendongchen
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2021-01-21 09:34:39 +08:00