From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQiFa-0003fE-OS for qemu-devel@nongnu.org; Tue, 23 Oct 2012 13:26:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQiFU-0002Gp-1P for qemu-devel@nongnu.org; Tue, 23 Oct 2012 13:26:46 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:33234 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQiFT-0002GB-Qo for qemu-devel@nongnu.org; Tue, 23 Oct 2012 13:26:39 -0400 From: Peter Maydell Date: Tue, 23 Oct 2012 18:04:23 +0100 Message-Id: <1351011870-1680-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/7] ARM boards: don't prematurely explode QEMUMachineInitArgs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost , patches@linaro.org 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. Peter Maydell (7): 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/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 ++++++++---------------------- 7 files changed, 76 insertions(+), 215 deletions(-) -- 1.7.9.5