use realizefn for SysBusDevice, part 1
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest26 patches 16 repliesIn review
- v126 patches 20 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | sysbus: document SysBusDeviceClass about @initinclude/ | +10 | 2 replies | |
| 2/26 | ohci: QOM'ify some morehw/ | +12 | 1 reply | |
| 3/26 | ohci: use realize for ohcihw/ | +6 | 1 reply | |
| 4/26 | i440fx-pcihost: use realize for i440fx-pcihosthw/ | +15 | 1 reply | |
| 5/26 | i440fx: use type-safe cast instead of directly access of parent devhw/ | +7 | 1 reply | |
| 6/26 | q35: use type-safe cast instead of directly access of parent devhw/ | +18 | 1 reply | |
| 7/26 | q35: use realize for q35 hosthw/ | +15 | 1 reply | |
| 8/26 | fdc: QOM'ify some morehw/ | +20 | 0 replies | |
| 9/26 | fdc: use realize for fdc.hw/ | +41 | 4 replies | |
| 10/26 | pflash-cfi01: QOM'ify some morehw/ | +8 | 0 replies | |
| 11/26 | pflash_cfi01: use realize for pflash_cfi01hw/ | +5 | 0 replies | |
| 12/26 | pflash-cfi02: QOM'ify some morehw/ | +8 | 0 replies | |
| 13/26 | pflash_cfi02: use realize for pflash_cfi02hw/ | +7 | 0 replies | |
| 14/26 | ahci: QOM'ify some morehw/ | +7 | 0 replies | |
| 15/26 | ahci: use realize for ahcihw/ | +5 | 1 reply | |
| 16/26 | fwcfg: QOM'ify some morehw/ | +6 | 0 replies | |
| 17/26 | fwcfg: use realize for fwcfghw/ | +16 | 2 replies | |
| 18/26 | scsi esp: QOM'ify some morehw/ | +9 | 0 replies | |
| 19/26 | scsi esp: use realize for scsi esphw/ | +20 | 4 replies | |
| 20/26 | hpet: QOM'ify some morehw/ | +9 | 0 replies | |
| 21/26 | hpet: use realize for hpethw/ | +17 | 0 replies | |
| 22/26 | kvmclock: QOM'ify some morehw/ | +6 | 1 reply | |
| 23/26 | kvmclock: use realize for kvmclockhw/ | +2 | 0 replies | |
| 24/26 | kvmvapic realizehw/ | +5 | 0 replies | |
| 25/26 | ioapic: use realize for ioapichw/ | +5 | 1 reply | |
| 26/26 | isa bus: remove isabus_bridge_init since it does nothinghw/ | +0 | 0 replies |
Reviews trailers per patch
1 of 26 patches has a Reviewed-by or Acked-by.
| Patch | Hu Tao | Stefan Hajnoczi |
|---|---|---|
| 1/26 | ||
| 2/26 | ||
| 3/26 | ||
| 4/26 | ||
| 5/26 | ||
| 6/26 | ||
| 7/26 | ||
| 8/26 | ||
| 9/26 | R-b | R-b |
| 10/26 | ||
| 11/26 | ||
| 12/26 | ||
| 13/26 | ||
| 14/26 | ||
| 15/26 | ||
| 16/26 | ||
| 17/26 | ||
| 18/26 | ||
| 19/26 | ||
| 20/26 | ||
| 21/26 | ||
| 22/26 | ||
| 23/26 | ||
| 24/26 | ||
| 25/26 | ||
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 00/26] use realizefn for SysBusDevice, part 1
This series updates part of devices inheriting from SysbusDevice to use DeviceState::realize, and QOM'ify them.
These devices are default to x86_64-softmmu. I'm planning to make patches in the same manner, that is, each series is for devices default to each target. After all devices are converted to realizefn, SysBusDeviceClass::init can be removed.
v2 is based on qom-next at https://github.com/afaerber/qemu-cpu/tree/qom-next
Changes:
v2: 1. swap the order of some patches to first use type-cast macro
then convert to realizefn.
2. document SysBusDeviceClass::init
3. don't touch VMStateDescription::name
4. drop patch for ehci as the part's already been done by Andreas
Hu Tao (26):
sysbus: document SysBusDeviceClass about @init
ohci: QOM'ify some more
ohci: use realize for ohci
i440fx-pcihost: use realize for i440fx-pcihost
i440fx: use type-safe cast instead of directly access of parent dev
q35: use type-safe cast instead of directly access of parent dev
q35: use realize for q35 host
fdc: QOM'ify some more
fdc: use realize for fdc.
pflash-cfi01: QOM'ify some more
pflash_cfi01: use realize for pflash_cfi01
pflash-cfi02: QOM'ify some more
pflash_cfi02: use realize for pflash_cfi02
ahci: QOM'ify some more
ahci: use realize for ahci
fwcfg: QOM'ify some more
fwcfg: use realize for fwcfg
scsi esp: QOM'ify some more
scsi esp: use realize for scsi esp
hpet: QOM'ify some more
hpet: use realize for hpet
kvmclock: QOM'ify some more
kvmclock: use realize for kvmclock
kvmvapic realize
ioapic: use realize for ioapic
isa bus: remove isabus_bridge_init since it does nothing
hw/block/fdc.c | 87 +++++++++++++++++++++++++++++++------------------ hw/block/pflash_cfi01.c | 28 ++++++++-------- hw/block/pflash_cfi02.c | 31 +++++++++--------- hw/i386/kvm/clock.c | 15 +++++---- hw/i386/kvmvapic.c | 12 +++---- hw/ide/ahci.c | 21 ++++++------ hw/intc/ioapic_common.c | 12 +++---- hw/isa/isa-bus.c | 8 ----- hw/nvram/fw_cfg.c | 36 +++++++++++--------- hw/pci-host/piix.c | 36 ++++++++++++-------- hw/pci-host/q35.c | 60 +++++++++++++++++----------------- hw/scsi/esp.c | 46 ++++++++++++++++---------- hw/timer/hpet.c | 44 +++++++++++++++---------- hw/usb/hcd-ohci.c | 32 +++++++++--------- include/hw/sysbus.h | 10 ++++++ 15 files changed, 268 insertions(+), 210 deletions(-)
Signature · 1 line
1.8.3.1