Skip to content

QOM realize for ISA, part 1

Andreas Färber qemu-devel 1 version Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest20 patches 2 repliesApplied

Changes in v2 from the cover letter

* QOM realize infrastructure was split off and applied.
* isa-debugcon was QOM'ified.
* Rebased onto multiple hw/ reorganizations.
* Renamed M48T59_ISA() to ISA_M48T59() to match dominant specific <- base scheme.
* Deferred ISADevice::init removal to follow-up series.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/20applesmc: QOM'ifyhw/misc/applesmc.c+19 -140 replies
2/20cirrus_vga: QOM'ify ISA Cirrus VGAhw/display/cirrus_vga.c+10 -50 replies
3/20fdc: QOM'ify ISA floppy controllerhw/block/fdc.c hw/i386/pc_piix.c include/hw/block/fdc.h+15 -100 replies
4/20i82374: QOM'ifyhw/dma/i82374.c+7 -30 replies
5/20i8259: QOM cleanupshw/i386/kvm/i8259.c hw/intc/i8259.c hw/intc/i8259_common.c +1 more+16 -130 replies
6/20ide: QOM'ify ISA IDEhw/ide/isa.c+24 -150 replies
7/20m48t59: QOM'ify ISA M48T59 NVRAMhw/timer/m48t59.c+21 -140 replies
8/20mc146818rtc: QOM'ifyhw/timer/mc146818rtc.c include/hw/timer/mc146818rtc.h+22 -161 reply
9/20ne2000-isa: QOM'ifyhw/net/ne2000-isa.c+7 -30 replies
10/20parallel: QOM'ifyhw/char/parallel.c+8 -30 replies
11/20pc: QOM'ify port 92hw/i386/pc.c+9 -50 replies
12/20pckbd: QOM'ifyhw/input/pckbd.c+11 -50 replies
13/20pcspk: QOM'ifyhw/audio/pcspk.c include/hw/audio/pcspk.h+9 -40 replies
14/20sb16: QOM'ifyhw/audio/sb16.c+8 -60 replies
15/20serial: QOM'ify ISA serialhw/char/serial-isa.c include/hw/char/serial.h+8 -40 replies
16/20sga: QOM'ifyhw/misc/sga.c+7 -30 replies
17/20vga-isa: QOM'ify ISA VGAhw/display/vga-isa.c+17 -120 replies
18/20vmmouse: QOM'ifyhw/input/vmmouse.c+9 -50 replies
19/20vmport: QOM'ifyhw/misc/vmport.c+8 -40 replies
20/20wdt_ib700: QOM'ifyhw/watchdog/wdt_ib700.c+8 -40 replies

Reviews trailers per patch

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

PatchIgor Mammedov
1/20
2/20
3/20
4/20
5/20
6/20
7/20
8/20R-b
9/20
10/20
11/20
12/20
13/20
14/20
15/20
16/20
17/20
18/20
19/20
20/20

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH for-1.5 v2 00/20] QOM realize for ISA, part 1

Hello,

Here is my next batch of QOM realize patches.

These mostly introduce QOM cast macros for ISADevice-derived types, so should hopefully be safe to apply for 1.5.

The mc146818 patch is also queued on qom-cpu and reused for CPU hot-add.

Available from:
https://github.com/afaerber/qemu-cpu/commits/realize-isa.cleanup.v2
git://github.com/afaerber/qemu-cpu.git realize-isa.cleanup.v2

Regards,
Andreas

v1 -> v2:
* QOM realize infrastructure was split off and applied.
* isa-debugcon was QOM'ified.
* Rebased onto multiple hw/ reorganizations.
* Renamed M48T59_ISA() to ISA_M48T59() to match dominant specific <- base scheme.
* Deferred ISADevice::init removal to follow-up series.

Cc Anthony Liguori <[email protected]>
Cc Blue Swirl <[email protected]>
Cc Aurélien Jarno <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc Igor Mammedov <[email protected]>
Cc Artyom Tarasenko <[email protected]>

Andreas Färber (20):
applesmc: QOM'ify
cirrus_vga: QOM'ify ISA Cirrus VGA
fdc: QOM'ify ISA floppy controller
i82374: QOM'ify
i8259: QOM cleanups
ide: QOM'ify ISA IDE
m48t59: QOM'ify ISA M48T59 NVRAM
mc146818rtc: QOM'ify
ne2000-isa: QOM'ify
parallel: QOM'ify
pc: QOM'ify port 92
pckbd: QOM'ify
pcspk: QOM'ify
sb16: QOM'ify
serial: QOM'ify ISA serial
sga: QOM'ify
vga-isa: QOM'ify ISA VGA
vmmouse: QOM'ify
vmport: QOM'ify
wdt_ib700: QOM'ify

 hw/audio/pcspk.c                |  9 ++++++---
 hw/audio/sb16.c                 | 14 ++++++++------
 hw/block/fdc.c                  | 21 ++++++++++++---------
 hw/char/parallel.c              | 11 ++++++++---
 hw/char/serial-isa.c            | 11 +++++++----
 hw/display/cirrus_vga.c         | 15 ++++++++++-----
 hw/display/vga-isa.c            | 29 +++++++++++++++++------------
 hw/dma/i82374.c                 | 10 +++++++---
 hw/i386/kvm/i8259.c             |  2 +-
 hw/i386/pc.c                    | 14 +++++++++-----
 hw/i386/pc_piix.c               |  2 +-
 hw/ide/isa.c                    | 39 ++++++++++++++++++++++++---------------
 hw/input/pckbd.c                | 16 +++++++++++-----
 hw/input/vmmouse.c              | 14 +++++++++-----
 hw/intc/i8259.c                 | 16 +++++++++-------
 hw/intc/i8259_common.c          |  8 ++++----
 hw/misc/applesmc.c              | 33 +++++++++++++++++++--------------
 hw/misc/sga.c                   | 10 +++++++---
 hw/misc/vmport.c                | 12 ++++++++----
 hw/net/ne2000-isa.c             | 10 +++++++---
 hw/timer/m48t59.c               | 35 +++++++++++++++++++++--------------
 hw/timer/mc146818rtc.c          | 36 ++++++++++++++++++++----------------
 hw/watchdog/wdt_ib700.c         | 12 ++++++++----
 include/hw/audio/pcspk.h        |  4 +++-
 include/hw/block/fdc.h          |  2 ++
 include/hw/char/serial.h        |  1 +
 include/hw/isa/i8259_internal.h |  3 ++-
 include/hw/timer/mc146818rtc.h  |  2 ++
 28 files changed, 243 insertions(+), 148 deletions(-)
Signature · 1 line
1.8.1.4