52 Commits

Author SHA1 Message Date
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
AlexChen
811898dff8 cherry-pick some bugfix patches from open source community
cherry-pick patchs list:
2ab8dba5    qemuDomainGetUnplugTimeout: Add G_GNUC_NO_INLINE 
423664a6    virNetDevSwitchdevFeature: Make failure to get 'family_id' non-fatal 
ca616274    virNetDevGetFamilyId: Change signature 
67b973b5    qemuDomainDefPostParse: Fail if unable to fill machine type 
67e19fc9    qemu: Revoke access to mirror on failed blockcopy 
93b15ba0    qemu: fix hang in p2p + xbzrle compression + parallel migration 
a13ac587    util: fix iteration in virSocketAddrResolveService 
88011ed2    libxl: fix crash when initializing driver

Signed-off-by: AlexChen <alex.chen@huawei.com>
2020-09-29 16:59:08 +08:00
hao__wangh
f25125ef95 backport upstream patches 2020-09-29 16:43:19 +08:00
Zeyu Jin
25f331e848 bugfix: backport an upstream patch to fix '/run/libvirt/qemu/dbus' racing bug
There are races condiction to make '/run/libvirt/qemu/dbus' directory in
virDirCreateNoFork() while concurrent start VMs, and get "failed to create
directory '/run/libvirt/qemu/dbus': File exists" error message. pre-create the
dbus directory in qemuStateInitialize.

Signed-off-by: Bihong Yu <yubihong@huawei.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2020-09-29 16:40:36 +08:00
Jin Yan
676ca2f0f6 bugfix: cherry-pick some bugfix patches from open source community
bugfix patches list:
d677de  remote: fix driver name check for libxl driver
075641  systemd: start libvirtd after firewalld iptables services
06fc99  qemuDomainCleanupRun: Actually run cleanup callbacks in reverse order
01626c  virDevMapperGetTargetsImpl: quit early if device is not a devmapper target
006782  qemu: only stop external devices after the domain
42a415  qemuDomainStorageSourcePrivateDispose: Free httpcookie
cc8c29  Don't require secdrivers to implement .domainMoveImageMetadata
0230e3  qemuProcessStop: Use XATTRs to restore seclabels on disks a domain is mirroring into
8fd274  qemuProcessStop: Reattach NVMe disks a domain is mirroring into
55029d  security: don't fail if built without attr support
a5a297  qemu: Skip pre creation of NVMe disks
2a372  Fix some wrong usage of ATTRIBUTE_NONNULL
e728ff  conf: Increase cpuset length limit for CPU pinning
8f58a4  virQEMUDriverConfigNew: Add slash to cfg defaultTLSx509certdir for non-embeded driver
1b22dd  qemuDomainSetNumaParamsLive: set nodeset for root cgroup
bdb8f2  qemu: do not add model when actual iface type is hostdev

Signed-off-by: Jin Yan <jinyan12@huawei.com>
2020-09-29 16:39:38 +08:00
AlexChen
c6f0aa1103 tests/commandtest: skip the test4 and test18 if the testcase is run in the container env
Signed-off-by: AlexChen <alex.chen@huawei.com>
2020-09-29 16:38:35 +08:00
jiangfangjie
6270529d77 Libvirt : support aarch64 vtpm with parameter tpm-tis-device
Signed-off-by: jiangfangjie <jiangfangjie@huawei.com>
2020-08-05 14:07:13 +08:00
Xu Yandong
2a2765c143 Substitute security_context_t with char *
Replace deprecated security_context_t with char

Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-08-04 09:40:08 +00:00
Xu Yandong
b74becba6a cpu_map: introduce Kunpeng-920 cpu features
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-05-26 20:31:02 +08:00
Xu Yandong
969e2d6f9a cpu-model: enable 'host-model' cpu mode for AArch64 architecture
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-05-20 15:16:15 +08:00
Xu Yandong
dd0ef7b0c8 bugfix: fix virsh dump/migrate and virDaemon return code error
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-05-12 11:14:39 +08:00
Xu Yandong
e471c406f3 cpu: add cpu model support for kunpeng-920
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-05-12 11:14:30 +08:00
Xu Yandong
72e8bd75f0 cherry-pick bugfixes from version 5.5.0
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-05-12 09:23:35 +08:00
Xu Yandong
89e3c1a340 Rebase libvirt to version 6.2.0
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-05-12 09:23:27 +08:00
Xu Yandong
838527c759 Fix CVE-2019-20485
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-05-09 17:36:19 +08:00
Xu Yandong
7b5158f8e6 po: refresh translation of "running state"
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2020-01-06 15:03:29 +08:00
Xu Yandong
c94ecc7dd1 sync-patch: cherry pick patches from upstream
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2019-12-26 16:17:12 +08:00
Xu Yandong
2c9b2aeb63 cpu_map: cherry pick patches about CVE-2019-11135
Signed-off-by: Xu Yandong <xuyandong2@huawei.com>
2019-12-26 16:16:27 +08:00
dogsheng
66b96aff65 Package init 2019-12-25 15:55:44 +08:00
dogsheng
81c6c6500e Package init 2019-12-13 15:41:47 +08:00