diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-03-29 18:34:22 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-04-27 18:05:22 +1000 |
commit | 8a4fd427fe8236bb4f6993702112f058b5d80507 (patch) | |
tree | 07bc8ae1a44651901abf26a72dcaf12440a87b72 /hw | |
parent | 99d45f8fbd6756c2495bcb554dcbf50585f1f7b0 (diff) | |
download | qemu-8a4fd427fe8236bb4f6993702112f058b5d80507.zip qemu-8a4fd427fe8236bb4f6993702112f058b5d80507.tar.gz qemu-8a4fd427fe8236bb4f6993702112f058b5d80507.tar.bz2 |
spapr: Introduce pseries-2.13 machine type
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/ppc/spapr.c | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 92194a9..b92dad2 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -3985,18 +3985,37 @@ static const TypeInfo spapr_machine_info = { type_init(spapr_machine_register_##suffix) /* + * pseries-2.13 + */ +static void spapr_machine_2_13_instance_options(MachineState *machine) +{ +} + +static void spapr_machine_2_13_class_options(MachineClass *mc) +{ + /* Defaults for the latest behaviour inherited from the base class */ +} + +DEFINE_SPAPR_MACHINE(2_13, "2.13", true); + +/* * pseries-2.12 */ +#define SPAPR_COMPAT_2_12 \ + HW_COMPAT_2_12 + static void spapr_machine_2_12_instance_options(MachineState *machine) { + spapr_machine_2_13_instance_options(machine); } static void spapr_machine_2_12_class_options(MachineClass *mc) { - /* Defaults for the latest behaviour inherited from the base class */ + spapr_machine_2_13_class_options(mc); + SET_MACHINE_COMPAT(mc, SPAPR_COMPAT_2_12); } -DEFINE_SPAPR_MACHINE(2_12, "2.12", true); +DEFINE_SPAPR_MACHINE(2_12, "2.12", false); static void spapr_machine_2_12_sxxm_instance_options(MachineState *machine) { |