diff options
author | Gerd Hoffmann | 2009-11-17 11:28:41 +0100 |
---|---|---|
committer | Anthony Liguori | 2009-12-02 15:57:50 +0100 |
commit | 51954d565fc5566897f6a6d90feb62e4944cebc5 (patch) | |
tree | d569a79d59df78fea64b7d68b9216fb6a7d8e521 /hw/serial.c | |
parent | Fix qemu_malloc/qemu_free use in rtl8139.c (diff) | |
download | qemu-51954d565fc5566897f6a6d90feb62e4944cebc5.tar.gz qemu-51954d565fc5566897f6a6d90feb62e4944cebc5.tar.xz qemu-51954d565fc5566897f6a6d90feb62e4944cebc5.zip |
Fix qdev property type definition for isa serial/parallel devices
Use the correct qdev property type for these devices.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/serial.c')
-rw-r--r-- | hw/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/serial.c b/hw/serial.c index 0063260569..e7538ac8ca 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -900,7 +900,7 @@ static ISADeviceInfo serial_isa_info = { .qdev.size = sizeof(ISASerialState), .init = serial_isa_initfn, .qdev.props = (Property[]) { - DEFINE_PROP_HEX32("index", ISASerialState, index, -1), + DEFINE_PROP_UINT32("index", ISASerialState, index, -1), DEFINE_PROP_HEX32("iobase", ISASerialState, iobase, -1), DEFINE_PROP_UINT32("irq", ISASerialState, isairq, -1), DEFINE_PROP_CHR("chardev", ISASerialState, state.chr), |