diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2023-11-09 11:23:54 +0000 |
|---|---|---|
| committer | David Woodhouse <dwmw@amazon.co.uk> | 2023-11-21 11:44:52 +0000 |
| commit | 87bfffdf757f3c0a68432a9ec49d96c8908d02e8 (patch) | |
| tree | c42caa1aff212a7e9cc4b570dd0cb77f9e95f4f9 /system/vl.c | |
| parent | af9264da80073435fd78944bc5a46e695897d7e5 (diff) | |
| download | focaccia-qemu-87bfffdf757f3c0a68432a9ec49d96c8908d02e8.tar.gz focaccia-qemu-87bfffdf757f3c0a68432a9ec49d96c8908d02e8.zip | |
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 <dwmw@amazon.co.uk> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'system/vl.c')
| -rw-r--r-- | system/vl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 }, |