mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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 <crobinso@redhat.com> Signed-off-by: Jie Wang <wangjie88@huawei.com>
This commit is contained in:
parent
74dfa15abe
commit
6e27a81a17
@ -23173,14 +23173,6 @@ virDomainDefCheckABIStabilityFlags(virDomainDefPtr src,
|
|||||||
if (!virDomainDefVcpuCheckAbiStability(src, dst))
|
if (!virDomainDefVcpuCheckAbiStability(src, dst))
|
||||||
goto error;
|
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) {
|
if (src->os.type != dst->os.type) {
|
||||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||||
_("Target domain OS type %s does not match source %s"),
|
_("Target domain OS type %s does not match source %s"),
|
||||||
|
Loading…
Reference in New Issue
Block a user