From: Jie Wang Date: Thu, 31 Jan 2019 12:50:31 +0000 (+0800) Subject: conf: Remove iothreads restriction in virDomainDefCheckABIStabilityFlags X-Git-Tag: v5.1.0-rc1~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e27a81a17d8f0abff380dc1c4f1018292ceaf75;p=thirdparty%2Flibvirt.git conf: Remove iothreads restriction in virDomainDefCheckABIStabilityFlags 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 Signed-off-by: Jie Wang --- diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 1fc4c8a35a..6772c327ed 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -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"),