diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-05-26 11:52:45 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-10-06 09:43:32 +0200 |
commit | 77c7ea5ebbcf494f36f243d786e5f8409d7a4b85 (patch) | |
tree | 06e25e43fc61814541dbe33b103ab89a9e875242 /hw/spapr_vty.c | |
parent | 277f9acf79bbf3affb98200c92a4aedaa3234083 (diff) | |
download | qemu-77c7ea5ebbcf494f36f243d786e5f8409d7a4b85.zip qemu-77c7ea5ebbcf494f36f243d786e5f8409d7a4b85.tar.gz qemu-77c7ea5ebbcf494f36f243d786e5f8409d7a4b85.tar.bz2 |
spapr: prepare for qdevification of irq
Restructure common properties for sPAPR devices so that IRQ definitions
can be added in one place.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr_vty.c')
-rw-r--r-- | hw/spapr_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr_vty.c b/hw/spapr_vty.c index 607b81b..a9d4b03 100644 --- a/hw/spapr_vty.c +++ b/hw/spapr_vty.c @@ -140,7 +140,7 @@ static VIOsPAPRDeviceInfo spapr_vty = { .qdev.name = "spapr-vty", .qdev.size = sizeof(VIOsPAPRVTYDevice), .qdev.props = (Property[]) { - DEFINE_PROP_UINT32("reg", VIOsPAPRDevice, reg, 0), + DEFINE_SPAPR_PROPERTIES(VIOsPAPRVTYDevice, sdev, 0, 0), DEFINE_PROP_CHR("chardev", VIOsPAPRVTYDevice, chardev), DEFINE_PROP_END_OF_LIST(), }, |