From: Peter Krempa Date: Tue, 7 Dec 2021 12:53:30 +0000 (+0100) Subject: qemuValidateDomainDeviceDefDiskFrontend: Fix error message if io='native' is unsupported X-Git-Tag: v8.0.0-rc1~335 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217e1527e958c0b80c60b27a72dba564dc4effad;p=thirdparty%2Flibvirt.git qemuValidateDomainDeviceDefDiskFrontend: Fix error message if io='native' is unsupported The error is a hard error, so the part about fallback doesn't make sense. Spell the attribute the same way as it's in XML. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c index 1de6e05101..4ec3d18c52 100644 --- a/src/qemu/qemu_validate.c +++ b/src/qemu/qemu_validate.c @@ -2865,9 +2865,7 @@ qemuValidateDomainDeviceDefDiskFrontend(const virDomainDiskDef *disk, disk->cachemode != VIR_DOMAIN_DISK_CACHE_DIRECTSYNC && disk->cachemode != VIR_DOMAIN_DISK_CACHE_DISABLE) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", - _("native I/O needs either no disk cache " - "or directsync cache mode, QEMU will fallback " - "to aio=threads")); + _("io='native' needs either no disk cache or directsync cache mode")); return -1; }