From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsyG9-0006PE-0B for qemu-devel@nongnu.org; Thu, 14 May 2015 14:53:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsyG5-0007nT-Lx for qemu-devel@nongnu.org; Thu, 14 May 2015 14:53:28 -0400 From: Eduardo Habkost Date: Thu, 14 May 2015 15:52:57 -0300 Message-Id: <1431629590-25181-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v2 00/13] pc, hw, spapr: Cleanup of {HW, PC, SPAPR}_COMPAT_* macros List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , jasowang@redhat.com, Alexander Graf , qemu-ppc@nongnu.org, pbonzini@redhat.com, rth@twiddle.net This series does some changes to make the macros more consistent. Now every pc and pseries version has a corresponding compat macro defined. Changes v1 -> v2: * Rebase after the new PC 2.4 machine-types were added Eduardo Habkost (13): pc: Replace tab with spaces hw: Move commas inside HW_COMPAT_2_1 macro pc: Move commas inside PC_COMPAT_* macros spapr: Move commas inside SPAPR_COMPAT_* macros hw: Define empty HW_COMPAT_2_[23] macros pc: Define PC_COMPAT_2_[123] macros spapr: Use HW_COMPAT_* inside SPAPR_COMPAT_* macros spapr: define SPAPR_COMPAT_2_3 piix: Move pc-0.14 qxl compat properties to PC_COMPAT_0_14 piix: Move pc-0.11 drive version compat props to PC_COMPAT_0_11 piix: Move pc-0.13 virtio-9p-pci compat to PC_COMPAT_0_13 piix: Move pc-0.1[23] rombar compat props to PC_COMPAT_0_13 piix: Define PC_COMPAT_0_10 hw/i386/pc_piix.c | 185 +++++++++++++++++++++++++-------------------------- hw/i386/pc_q35.c | 20 ++++-- hw/ppc/spapr.c | 15 +++-- include/hw/compat.h | 8 ++- include/hw/i386/pc.h | 43 +++++++----- 5 files changed, 150 insertions(+), 121 deletions(-) -- 2.1.0