Skip to content

Commit

Permalink
spapr: define SPAPR_COMPAT_2_3
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
ehabkost authored and mstsirkin committed May 31, 2015
1 parent 4dfd8ea commit 38ff32c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hw/ppc/spapr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,\
Expand Down

0 comments on commit 38ff32c

Please sign in to comment.