Skip to content

Memory API conversions, batch 5

Avi Kivity qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest22 patches 6 repliesIn review
  2. v124 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- removed <glib.h> includes
- folded in a build fix
- dropped patch 6, "QEMUMachine: pass address space to machine init". unfortunately this scatters a lot of get_system_memory() which will have to be replaced by something better.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22stellaris_enet: convert to memory APIhw/stellaris_enet.c+12 -170 replies
2/22sysbus: add helpers to add and delete memory regions to the system bushw/sysbus.c hw/sysbus.h+28 -00 replies
3/22pci_host: convert conf index and data ports to memory APIhw/dec_pci.c hw/grackle_pci.c hw/pci_host.c +6 more+131 -1330 replies
4/22ReadWriteHandler: removeMakefile.target rwhandler.c rwhandler.h+0 -1150 replies
5/22an5206: convert to memory APIhw/an5206.c+8 -40 replies
6/22armv7m: convert to memory APIhw/arm-misc.h hw/armv7m.c hw/stellaris.c+20 -120 replies
7/22axis_dev88: convert to memory API (RAM only)hw/axis_dev88.c+8 -81 reply
8/22sysbus: add sysbus_add_memory_overlap()hw/sysbus.c hw/sysbus.h+8 -02 replies
9/22integratorcp: convert to memory API (RAM/flash only)hw/integratorcp.c+20 -80 replies
10/22leon3: convert to memory APIhw/leon3.c+9 -60 replies
11/22cirrus: wrap memory update in a transactionhw/cirrus_vga.c+2 -00 replies
12/22piix_pci: wrap memory update in a transactionhw/piix_pci.c+2 -00 replies
13/22Makefile.hw: allow hw/ files to include glib headersMakefile.hw+1 -00 replies
14/22pflash_cfi01/pflash_cfi02: convert to memory APIhw/collie.c hw/flash.h hw/gumstix.c +15 more+246 -2232 replies
15/22dummy_m68k: convert to memory APIhw/dummy_m68k.c+5 -20 replies
16/22g364fb: convert to memory APIhw/g364fb.c hw/mips.h hw/mips_jazz.c+38 -290 replies
17/22lm32_boards: convert to memory APIhw/lm32_boards.c+9 -60 replies
18/22mainstone: convert to memory APIhw/mainstone.c+8 -50 replies
19/22mcf5208: convert to memory APIhw/mcf5208.c+32 -400 replies
20/22milkymist-minimac2: convert to memory APIhw/milkymist-minimac2.c+21 -220 replies
21/22milkymist-softusb: convert to memory APIhw/milkymist-softusb.c+24 -240 replies
22/22milkymist: convert to memory APIhw/milkymist.c+5 -40 replies

Reviews trailers per patch

1 of 22 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard HendersonEdgar E. Iglesias
SeriesR-b
1/22
2/22
3/22
4/22
5/22
6/22
7/22A-b
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

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 v2 00/22] Memory API conversions, batch 5

This is a collection of random conversions to devices to the new memory API. Some qemu interfaces are also update, for example machine creation and sysbus.

Please review. If all is fine, I will post a [PULL] request for the batch (in git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch).

v2:
- removed <glib.h> includes
- folded in a build fix
- dropped patch 6, "QEMUMachine: pass address space to machine init". unfortunately this scatters a lot of get_system_memory() which will have to be replaced by something better.

Avi Kivity (22):
stellaris_enet: convert to memory API
sysbus: add helpers to add and delete memory regions to the system
bus
pci_host: convert conf index and data ports to memory API
ReadWriteHandler: remove
an5206: convert to memory API
armv7m: convert to memory API
axis_dev88: convert to memory API (RAM only)
sysbus: add sysbus_add_memory_overlap()
integratorcp: convert to memory API (RAM/flash only)
leon3: convert to memory API
cirrus: wrap memory update in a transaction
piix_pci: wrap memory update in a transaction Makefile.hw: allow hw/ files to include glib headers pflash_cfi01/pflash_cfi02: convert to memory API
dummy_m68k: convert to memory API
g364fb: convert to memory API
lm32_boards: convert to memory API
mainstone: convert to memory API
mcf5208: convert to memory API
milkymist-minimac2: convert to memory API
milkymist-softusb: convert to memory API
milkymist: convert to memory API

 Makefile.hw                   |    1 +
 Makefile.target               |    1 -
 hw/an5206.c                   |   12 ++++--
 hw/arm-misc.h                 |    5 ++-
 hw/armv7m.c                   |   22 +++++----
 hw/axis_dev88.c               |   16 ++++----
 hw/cirrus_vga.c               |    2 +
 hw/collie.c                   |   16 ++++---
 hw/dec_pci.c                  |   13 +++---
 hw/dummy_m68k.c               |    7 ++-
 hw/flash.h                    |   16 +++++--
 hw/g364fb.c                   |   60 ++++++++++++++------------
 hw/grackle_pci.c              |   13 +++---
 hw/gumstix.c                  |   28 +++++++-----
 hw/integratorcp.c             |   28 +++++++++----
 hw/leon3.c                    |   15 ++++---
 hw/lm32_boards.c              |   29 +++++++-----
 hw/mainstone.c                |   33 ++++++++------
 hw/mcf5208.c                  |   72 ++++++++++++++-----------------
 hw/milkymist-minimac2.c       |   43 +++++++++----------
 hw/milkymist-softusb.c        |   48 +++++++++++-----------
 hw/milkymist.c                |   16 ++++---
 hw/mips.h                     |    4 +-
 hw/mips_jazz.c                |    3 +-
 hw/mips_malta.c               |   45 +++++++++++---------
 hw/mips_r4k.c                 |   20 +++++----
 hw/musicpal.c                 |   15 ++++---
 hw/omap_sx1.c                 |   21 +++++----
 hw/pci_host.c                 |   86 +++++++++++++++++---------------------
 hw/pci_host.h                 |   16 +++----
 hw/petalogix_ml605_mmu.c      |    7 ++-
 hw/petalogix_s3adsp1800_mmu.c |    8 ++-
 hw/pflash_cfi01.c             |   67 ++++++++++-------------------
 hw/pflash_cfi02.c             |   93 ++++++++++++++++++++---------------------
 hw/piix_pci.c                 |   13 +++++-
 hw/ppc405_boards.c            |   63 +++++++++++++++------------
 hw/ppc4xx_pci.c               |   10 +++--
 hw/ppce500_pci.c              |   21 ++++-----
 hw/prep_pci.c                 |   12 ++++-
 hw/r2d.c                      |    7 ++-
 hw/stellaris.c                |    5 ++-
 hw/stellaris_enet.c           |   29 +++++-------
 hw/sysbus.c                   |   28 ++++++++++++
 hw/sysbus.h                   |    8 ++++
 hw/unin_pci.c                 |   82 ++++++++++++++++++------------------
 hw/virtex_ml507.c             |    7 ++-
 hw/z2.c                       |   15 ++++---
 rwhandler.c                   |   87 --------------------------------------
 rwhandler.h                   |   27 ------------
 49 files changed, 637 insertions(+), 658 deletions(-)
 delete mode 100644 rwhandler.c
 delete mode 100644 rwhandler.h
Signature · 1 line
1.7.5.3