virtio-blk num-queue is visible to guest OS, so this must be kept while live migration.
Signed-off-by: Hiroki Narukawa <hnarukaw(a)yahoo-corp.jp>
---
src/conf/domain_conf.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index dbefc98ee8..6cc1f78ec2 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -20766,6 +20766,13 @@ virDomainDiskDefCheckABIStability(virDomainDiskDef *src,
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))
return false;
--
2.17.1