27 Commits

Author SHA1 Message Date
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
zhuchunyi
6d0c3f9009 update code 2019-11-06 19:40:52 +08:00
overweight
29372b3f10 Package init 2019-09-30 10:58:53 -04:00