[libvirt PATCH 2/4] qemu: tweak error message to be more general purpose

Daniel P. Berrangé berrange at redhat.com
Thu Sep 9 11:25:14 UTC 2021


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.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 src/qemu/qemu_validate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c
index 3789361b57..47012748e8 100644
--- a/src/qemu/qemu_validate.c
+++ b/src/qemu/qemu_validate.c
@@ -1209,7 +1209,7 @@ qemuValidateDomainDef(const virDomainDef *def,
         }
         if (!def->nserials) {
             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;
         }
     }
-- 
2.31.1




More information about the libvir-list mailing list