qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/8] ARM boards: don't prematurely explode QEMUMachineInitArgs
@ 2012-10-24 13:21 Peter Maydell
  2012-10-24 13:21 ` [Qemu-devel] [PATCH v2 1/8] hw/vexpress.c: Don't " Peter Maydell
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Peter Maydell @ 2012-10-24 13:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: Eduardo Habkost, patches

A lot of the ARM board models follow the pattern of having a
single common init function which is called with various
parameters from the QEMUMachine init function for several board
model variants. The change to QEMUMachineInitArgs in commit 5f072e
took the fairly mechanical approach of splitting the QEMUMachineInitArgs
fields out in each variant's init function to pass to an unchanged
common init function. This is a bit repetitive, so clean them up
to just pass the QEMUMachineInitArgs directly to the common
function instead.

v1->v2 changes:
 * rebase following target_phys_addr_t renaming patch landing
 * added patch for the exynos boards

Peter Maydell (8):
  hw/vexpress.c: Don't prematurely explode QEMUMachineInitArgs
  hw/realview.c: Don't prematurely explode QEMUMachineInitArgs
  hw/versatilepb: Don't prematurely explode QEMUMachineInitArgs
  hw/spitz: Don't prematurely explode QEMUMachineInitArgs
  hw/omap_sx1: Don't prematurely explode QEMUMachineInitArgs
  hw/nseries: Don't prematurely explode QEMUMachineInitArgs
  hw/mainstone: Don't prematurely explode QEMUMachineInitArgs
  hw/exynos4_boards: Don't prematurely explode QEMUMachineInitArgs

 hw/exynos4_boards.c |   32 +++++++++---------------
 hw/mainstone.c      |   21 ++++++----------
 hw/nseries.c        |   39 +++++++++--------------------
 hw/omap_sx1.c       |   36 +++++++--------------------
 hw/realview.c       |   68 ++++++++++++++-------------------------------------
 hw/spitz.c          |   45 ++++++++--------------------------
 hw/versatilepb.c    |   44 +++++++++------------------------
 hw/vexpress.c       |   38 +++++++---------------------
 8 files changed, 87 insertions(+), 236 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-10-24 13:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24 13:21 [Qemu-devel] [PATCH v2 0/8] ARM boards: don't prematurely explode QEMUMachineInitArgs Peter Maydell
2012-10-24 13:21 ` [Qemu-devel] [PATCH v2 1/8] hw/vexpress.c: Don't " Peter Maydell
2012-10-24 13:21 ` [Qemu-devel] [PATCH v2 2/8] hw/realview.c: " Peter Maydell
2012-10-24 13:21 ` [Qemu-devel] [PATCH v2 3/8] hw/versatilepb: " Peter Maydell
2012-10-24 13:22 ` [Qemu-devel] [PATCH v2 4/8] hw/spitz: " Peter Maydell
2012-10-24 13:22 ` [Qemu-devel] [PATCH v2 5/8] hw/omap_sx1: " Peter Maydell
2012-10-24 13:22 ` [Qemu-devel] [PATCH v2 6/8] hw/nseries: " Peter Maydell
2012-10-24 13:22 ` [Qemu-devel] [PATCH v2 7/8] hw/mainstone: " Peter Maydell
2012-10-24 13:22 ` [Qemu-devel] [PATCH v2 8/8] hw/exynos4_boards: " Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).