RFC Remove old_portio usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | pc: disable bochs bios debug ports (do not apply!)hw/ | +6 | 0 replies | |
| 2/8 | xen_platform: do not use old_portio-style callbackshw/ | +10 | 0 replies | |
| 3/8 | uhci: do not use old_portio-style callbackshw/ | +33 | 1 reply | |
| 4/8 | acpi-piix4: do not use old_portio-style callbackshw/ | +40 | 0 replies | |
| 5/8 | vga/qxl: do not use portio_list_init/portio_list_addhw/ hw/ | +3 | 0 replies | |
| 6/8 | isa: use memory regions instead of portio_list_* functionshw/ hw/ | +125 | 0 replies | |
| 7/8 | ioport: remove now useless portio_list_* functionsioport.c ioport.h | +0 | 0 replies | |
| 8/8 | memory: remove old_portio-style callbacks supportmemory.c memory.h | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC 0/8] Remove old_portio usage
These proposed patches aim at removing the .old_portio member of MemoryRegionOps structure, and replacing their usage by .read/.write handlers.
Patches 2 to 6 are already ready to be committed. However, patches 7 and 8 depend of patch 1, where a better solution needs to be found.
That way, faked I/O address space can be removed from architectures which don't have it (MIPS, PowerPC...), and commits like a178274efabcbbc5d44805b51def874e47051325 ("PPC: pseries: Remove hack for PIO window") can be reapplied.
Hervé Poussineau (8):
pc: disable bochs bios debug ports (do not apply!)
xen_platform: do not use old_portio-style callbacks
uhci: do not use old_portio-style callbacks
acpi-piix4: do not use old_portio-style callbacks vga/qxl: do not use portio_list_init/portio_list_add
isa: use memory regions instead of portio_list_* functions
ioport: remove now useless portio_list_* functions
memory: remove old_portio-style callbacks support
hw/acpi_piix4.c | 91 +++++++++++++++++--------------------- hw/isa-bus.c | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++-- hw/isa.h | 2 +- hw/pc.c | 6 +++ hw/qxl.c | 4 +- hw/usb/hcd-uhci.c | 43 +++++++++++++----- hw/vga.c | 8 +--- hw/xen_platform.c | 21 +++++---- ioport.c | 121 -------------------------------------------------- ioport.h | 19 -------- memory.c | 44 ------------------- memory.h | 4 -- 12 files changed, 217 insertions(+), 273 deletions(-)
Signature · 1 line
1.7.10.4