Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
.qdev.name = "lance",
.qdev.size = sizeof(SysBusPCNetState),
.qdev.props = (Property[]) {
- {
- .name = "dma",
- .info = &qdev_prop_ptr,
- .offset = offsetof(SysBusPCNetState, state.dma_opaque),
- },
- {/* end of list */}
+ DEFINE_PROP_PTR("dma", SysBusPCNetState, state.dma_opaque),
+ DEFINE_PROP_END_OF_LIST(),
}
};