mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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:
parent
986596f7a5
commit
cef25914eb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user