summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-05-14 15:53:05 -0300
committerMichael S. Tsirkin <mst@redhat.com>2015-05-31 16:26:41 +0200
commit38ff32c6e6fd966c5adb9cde4d393a8cca9ef093 (patch)
tree4f37369057ebd94cab5608bad70c69e4a0b0fa6a
parent4dfd8eaa19c90087f19b56da5d04d9c468109a65 (diff)
downloadhqemu-38ff32c6e6fd966c5adb9cde4d393a8cca9ef093.zip
hqemu-38ff32c6e6fd966c5adb9cde4d393a8cca9ef093.tar.gz
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 <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/ppc/spapr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index de1b740..a15fa3c 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,\
OpenPOWER on IntegriCloud