mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
277f9acf79
commit
77c7ea5ebb
4 changed files with 8 additions and 7 deletions
|
@ -930,9 +930,7 @@ static VIOsPAPRDeviceInfo spapr_vscsi = {
|
|||
.qdev.name = "spapr-vscsi",
|
||||
.qdev.size = sizeof(VSCSIState),
|
||||
.qdev.props = (Property[]) {
|
||||
DEFINE_PROP_UINT32("reg", VIOsPAPRDevice, reg, 0x2000),
|
||||
DEFINE_PROP_UINT32("dma-window", VIOsPAPRDevice,
|
||||
rtce_window_size, 0x10000000),
|
||||
DEFINE_SPAPR_PROPERTIES(VSCSIState, vdev, 0x2000, 0x10000000),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue