From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRPP0-0003ho-6W for qemu-devel@nongnu.org; Mon, 17 Aug 2015 14:44:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRPOx-0006Jn-1y for qemu-devel@nongnu.org; Mon, 17 Aug 2015 14:44:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRPOw-0006Jd-TF for qemu-devel@nongnu.org; Mon, 17 Aug 2015 14:44:54 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 839A2341AD9 for ; Mon, 17 Aug 2015 18:44:54 +0000 (UTC) From: Eduardo Habkost Date: Mon, 17 Aug 2015 11:42:28 -0700 Message-Id: <1439836952-15739-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/4] pc: Initialization and compat function cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org Changes v1 -> v2: * Fix build error on patch 1/4 This implements some extras code cleanups in the PC code: * Move some local variables from pc_init1() and pc_q35_init() to PCMachineState, so initialization functions can get that info from a PCMachineState* argument directly * Move some compat global variables to PCMachineClass, and move compatibility code from pc_compat_*() functions to the corresponding *_machine_options() function Eduardo Habkost (4): pc: Remove redundant arguments from xen_hvm_init() pc: Move compat boolean globals to PCMachineClass pc: Move legacy_acpi_table_size global to PCMachineClass pc: Move acpi_data_size global to PCMachineClass hw/i386/pc.c | 25 +++++----- hw/i386/pc_piix.c | 130 ++++++++++++++++++++++++--------------------------- hw/i386/pc_q35.c | 60 +++++++++++------------- include/hw/i386/pc.h | 21 ++++++++- include/hw/xen/xen.h | 4 +- xen-hvm-stub.c | 3 +- xen-hvm.c | 25 +++++----- 7 files changed, 135 insertions(+), 133 deletions(-) -- 2.1.0