qemu: tweak error message to be more general purpose

The BIOS serial console output is currently implemented using the QEMU
'sga' device, but this is going to change in future patches, so the
error message ought to be more generically phrased.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2021-09-08 17:50:10 +01:00
parent c82726a460
commit 58dfbca51d

View File

@ -1209,7 +1209,7 @@ qemuValidateDomainDef(const virDomainDef *def,
} }
if (!def->nserials) { if (!def->nserials) {
virReportError(VIR_ERR_XML_ERROR, "%s", virReportError(VIR_ERR_XML_ERROR, "%s",
_("need at least one serial port to use SGA")); _("need at least one serial port to use BIOS serial output"));
return -1; return -1;
} }
} }