conf/domain_validate.c: Improve the err for queue validation

Queues is supported by virtio bus, including virtio-blk and
vhost-user-blk.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Han Han 2023-07-21 10:36:39 +08:00 committed by Michal Privoznik
parent 986596f7a5
commit cef25914eb

View File

@ -784,7 +784,7 @@ virDomainDiskDefValidate(const virDomainDef *def,
if (disk->queues) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("queues attribute in disk driver element is only supported by virtio-blk"));
_("queues attribute in disk driver element is only supported for virtio bus"));
return -1;
}