From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yx4W1-0002Z4-V0 for qemu-devel@nongnu.org; Mon, 25 May 2015 22:22:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yx4Vy-0004qB-Q3 for qemu-devel@nongnu.org; Mon, 25 May 2015 22:22:49 -0400 From: David Gibson Date: Tue, 26 May 2015 12:22:55 +1000 Message-Id: <1432606979-28556-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCHv2 0/4] sPAPRMachineState cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de, qemu-ppc@nongnu.org, qemu-devel@nongnu.org Cc: lvivier@redhat.com, thuth@redhat.com, mdroth@linux.vnet.ibm.com, bharata@linux.vnet.ibm.com, afaerber@suse.de, David Gibson This series makes some cleanups to the structures tracking overall machine state for spapr (-machine pseries). First the old sPAPREnvironment structure (which predates the generic MachineState structure) is merged into a spapr specific subclass of MachineState. Then some obsolete fields are cleaned up. If I receive a review or two, with nothing terribly wrong, I'll merge this into the spapr-next branch. Changes since v1: * Don't rename 'spapr' variables to 'sm' everywhere - it was needless churn * Fix some small style errors David Gibson (4): spapr: Merge sPAPREnvironment into sPAPRMachineState spapr: Remove obsolete ram_limit field from sPAPRMachineState spapr: Remove obsolete entry_point field from sPAPRMachineState spapr: Add sPAPRMachineClass hw/char/spapr_vty.c | 6 +-- hw/intc/xics.c | 20 ++++----- hw/intc/xics_kvm.c | 2 +- hw/net/spapr_llan.c | 12 +++--- hw/nvram/spapr_nvram.c | 4 +- hw/ppc/spapr.c | 100 +++++++++++++++++++------------------------- hw/ppc/spapr_events.c | 13 ++++-- hw/ppc/spapr_hcall.c | 39 +++++++++-------- hw/ppc/spapr_iommu.c | 8 ++-- hw/ppc/spapr_pci.c | 37 ++++++++-------- hw/ppc/spapr_rtas.c | 38 ++++++++--------- hw/ppc/spapr_rtc.c | 4 +- hw/ppc/spapr_vio.c | 15 +++---- include/hw/pci-host/spapr.h | 10 +++-- include/hw/ppc/spapr.h | 51 +++++++++++++++++----- include/hw/ppc/spapr_vio.h | 4 +- 16 files changed, 199 insertions(+), 164 deletions(-) -- 2.1.0