diff options
Diffstat (limited to 'hw/char/serial-pci.c')
-rw-r--r-- | hw/char/serial-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/serial-pci.c b/hw/char/serial-pci.c index db2c17a..4b6a217 100644 --- a/hw/char/serial-pci.c +++ b/hw/char/serial-pci.c @@ -49,7 +49,7 @@ static void serial_pci_realize(PCIDevice *dev, Error **errp) SerialState *s = &pci->state; Error *err = NULL; - serial_realize_core(s, &err); + object_property_set_bool(OBJECT(s), true, "realized", &err); if (err != NULL) { error_propagate(errp, err); return; |