mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
virDomainDiskDefCheckABIStability: add disk queue count ABI stability check
virtio-blk num-queue is visible to guest OS, so this must be kept while live migration. Signed-off-by: Hiroki Narukawa <hnarukaw@yahoo-corp.jp> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
32967b891e
commit
240bdcbc93
@ -20767,6 +20767,13 @@ virDomainDiskDefCheckABIStability(virDomainDiskDef *src,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (src->queues != dst->queues) {
|
||||||
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||||
|
_("Target disk queue count %u does not match source %u"),
|
||||||
|
dst->queues, src->queues);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (!virDomainVirtioOptionsCheckABIStability(src->virtio, dst->virtio))
|
if (!virDomainVirtioOptionsCheckABIStability(src->virtio, dst->virtio))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user