diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2015-05-07 15:33:39 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-06-03 23:56:52 +0200 |
commit | a1a45612433edb0eb65c468f7ed579cd92358818 (patch) | |
tree | 9a65ffd01bd9697adc6a23794c130f88c4d23a9a /hw/ppc | |
parent | f9ce8e0aa3fb55ae7a8ea34d3169e73e87feb337 (diff) | |
download | qemu-a1a45612433edb0eb65c468f7ed579cd92358818.tar.gz qemu-a1a45612433edb0eb65c468f7ed579cd92358818.tar.bz2 qemu-a1a45612433edb0eb65c468f7ed579cd92358818.zip |
pseries: Add pseries-2.4 machine type
Now that 2.4 development has opened, create a new pseries machine type
variant. For now it is identical to the pseries-2.3 machine type, but
a number of new features are coming that will need to set backwards
compatibility options.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/spapr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index a15fa3c965..971cb5f85c 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -1905,10 +1905,15 @@ static const TypeInfo spapr_machine_2_2_info = { static void spapr_machine_2_3_class_init(ObjectClass *oc, void *data) { + static GlobalProperty compat_props[] = { + /* SPAPR_COMPAT_2_3, */ + { /* end of list */ } + }; MachineClass *mc = MACHINE_CLASS(oc); mc->name = "pseries-2.3"; mc->desc = "pSeries Logical Partition (PAPR compliant) v2.3"; + mc->compat_props = compat_props; } static const TypeInfo spapr_machine_2_3_info = { |