mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
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:
parent
c82726a460
commit
58dfbca51d
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user