]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Remove iothreads restriction in virDomainDefCheckABIStabilityFlags
authorJie Wang <wangjie88@huawei.com>
Thu, 31 Jan 2019 12:50:31 +0000 (20:50 +0800)
committerCole Robinson <crobinso@redhat.com>
Wed, 6 Feb 2019 22:05:55 +0000 (17:05 -0500)
The number of iothreads is not part of the vm state sent during
migration, nor exposed to the guest ABI, so this restriction is
a mistake in libvirt. Let's remove that bit of code.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Jie Wang <wangjie88@huawei.com>
src/conf/domain_conf.c

index 1fc4c8a35ace9bb9575bbbecba54a02832ab36fd..6772c327ed66ac1fa296d12518b8d5e69c1d2ea8 100644 (file)
@@ -23173,14 +23173,6 @@ virDomainDefCheckABIStabilityFlags(virDomainDefPtr src,
     if (!virDomainDefVcpuCheckAbiStability(src, dst))
         goto error;
 
-    if (src->niothreadids != dst->niothreadids) {
-        virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
-                       _("Target domain iothreads count %zu does not "
-                         "match source %zu"),
-                       dst->niothreadids, src->niothreadids);
-        goto error;
-    }
-
     if (src->os.type != dst->os.type) {
         virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
                        _("Target domain OS type %s does not match source %s"),