From: David Woodhouse Date: Thu, 9 Nov 2023 11:23:54 +0000 (+0000) Subject: vl: disable default serial when xen-console is enabled X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=87bfffdf757f3c0a68432a9ec49d96c8908d02e8;hp=af9264da80073435fd78944bc5a46e695897d7e5;p=qmiga%2Fqemu.git 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 Reviewed-by: Marc-André Lureau Reviewed-by: Paul Durrant --- 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 },