diff options
Diffstat (limited to 'src/hw/serialio.c')
-rw-r--r-- | src/hw/serialio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hw/serialio.c b/src/hw/serialio.c index 31633443..fa663b99 100644 --- a/src/hw/serialio.c +++ b/src/hw/serialio.c @@ -106,6 +106,10 @@ u16 DebugOutputPort VARFSEG = 0x402; void qemu_debug_preinit(void) { + /* Xen doesn't support checking if debug output is active. */ + if (runningOnXen()) + return; + /* Check if the QEMU debug output port is active */ if (CONFIG_DEBUG_IO && inb(GET_GLOBAL(DebugOutputPort)) != QEMU_DEBUGCON_READBACK) |