From d7d4f60a9ab2bfbf6c872167dbc8605cf332e194 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 9 Nov 2023 11:23:54 +0000 Subject: [PATCH] vl: disable default serial when xen-console is enabled If a Xen console is configured on the command line, do not add a default serial port. Signed-off-by: David Woodhouse --- system/vl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/system/vl.c b/system/vl.c index 5af7ced2a1..8109231834 100644 --- a/system/vl.c +++ b/system/vl.c @@ -198,6 +198,7 @@ static const struct { const char *driver; int *flag; } default_list[] = { + { .driver = "xen-console", .flag = &default_serial }, { .driver = "isa-serial", .flag = &default_serial }, { .driver = "isa-parallel", .flag = &default_parallel }, { .driver = "isa-fdc", .flag = &default_floppy }, -- 2.50.1