]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
conf: Disk 'shared' state is not guest ABI
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Apr 2018 15:05:20 +0000 (17:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 18 Apr 2018 14:19:37 +0000 (16:19 +0200)
Drop the checking of 'shared' from the ABI stability check. This
property controls whether the hypervisor allows concurrent access to the
same file, but this fact does not influence guest ABI.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/conf/domain_conf.c

index 071ebaa4e1b86beec4339b97588c5a1c37c285c5..35666c1347309dabb9337e20d0025e42eb6692f0 100644 (file)
@@ -20820,8 +20820,7 @@ virDomainDiskDefCheckABIStability(virDomainDiskDefPtr src,
 
     }
 
-    if (src->src->readonly != dst->src->readonly ||
-        src->src->shared != dst->src->shared) {
+    if (src->src->readonly != dst->src->readonly) {
         virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
                        _("Target disk access mode does not match source"));
         return false;