aboutsummaryrefslogtreecommitdiff
path: root/hw/char/etraxfs_ser.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/etraxfs_ser.c')
-rw-r--r--hw/char/etraxfs_ser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/char/etraxfs_ser.c b/hw/char/etraxfs_ser.c
index 3381b86bfe..857c13621c 100644
--- a/hw/char/etraxfs_ser.c
+++ b/hw/char/etraxfs_ser.c
@@ -236,6 +236,8 @@ static void etraxfs_ser_class_init(ObjectClass *klass, void *data)
k->init = etraxfs_ser_init;
dc->reset = etraxfs_ser_reset;
+ /* Reason: init() method uses qemu_char_get_next_serial() */
+ dc->cannot_instantiate_with_device_add_yet = true;
}
static const TypeInfo etraxfs_ser_info = {