From: Eduardo Habkost Date: Thu, 14 May 2015 18:53:05 +0000 (-0300) Subject: spapr: define SPAPR_COMPAT_2_3 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=38ff32c6e6fd966c5adb9cde4d393a8cca9ef093;p=qemu.git spapr: define SPAPR_COMPAT_2_3 Don't add the pseries-2.3 machine yet, but define the corresponding SPAPR_COMPAT macro to make sure both pseries-2.2 and pseries-2.1 will inherit HW_COMPAT_2_3. Signed-off-by: Eduardo Habkost Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index de1b74052d..a15fa3c965 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -1815,7 +1815,11 @@ static const TypeInfo spapr_machine_info = { }, }; +#define SPAPR_COMPAT_2_3 \ + HW_COMPAT_2_3 + #define SPAPR_COMPAT_2_2 \ + SPAPR_COMPAT_2_3 \ HW_COMPAT_2_2 \ {\ .driver = TYPE_SPAPR_PCI_HOST_BRIDGE,\