aboutsummaryrefslogtreecommitdiff
path: root/hw/char/digic-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/digic-uart.c')
-rw-r--r--hw/char/digic-uart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/char/digic-uart.c b/hw/char/digic-uart.c
index f272491ddb..6d44576fff 100644
--- a/hw/char/digic-uart.c
+++ b/hw/char/digic-uart.c
@@ -177,6 +177,8 @@ static void digic_uart_class_init(ObjectClass *klass, void *data)
dc->realize = digic_uart_realize;
dc->reset = digic_uart_reset;
dc->vmsd = &vmstate_digic_uart;
+ /* Reason: realize() method uses qemu_char_get_next_serial() */
+ dc->cannot_instantiate_with_device_add_yet = true;
}
static const TypeInfo digic_uart_info = {