Skip to content

RFC Add realize unrealize interfaces for BusState

Bandan Das qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qdev: add realize/unrealize interfaces for BusStatehw/core/qdev.c include/hw/qdev-core.h+74 -00 replies
2/3qdev: Integrate the bus realized property to gethw/core/qdev.c include/hw/qdev-core.h+48 -100 replies
3/3pci: move vmstate_pcibus registration/unregistration to realize and unrealize interfaceshw/pci/pci.c+28 -211 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichael S. Tsirkin
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 0/3] Add realize unrealize interfaces for BusState

These patches add realize and unrealize interfaces to BusState just like we have for DeviceState. 1/3 and 2/3 implement the interface and attempt to integrate it to the existing DeviceState call path. 3/3 is an example user of the interface, pci in this case. Please see individual patches for more details.

Bandan Das (3):
qdev: add realize/unrealize interfaces for BusState
qdev: Integrate the bus realized property to get
called when device realized property changes
pci: move vmstate_pcibus registration/unregistration to realize
and unrealize interfaces

 hw/core/qdev.c         | 130 ++++++++++++++++++++++++++++++++++++++++++++-----
 hw/pci/pci.c           |  49 +++++++++++--------
 include/hw/qdev-core.h |   8 +++
 3 files changed, 153 insertions(+), 34 deletions(-)
Signature · 1 line
1.8.3.1