mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
parent
f9ce8e0aa3
commit
a1a4561243
|
@ -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 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);
|
MachineClass *mc = MACHINE_CLASS(oc);
|
||||||
|
|
||||||
mc->name = "pseries-2.3";
|
mc->name = "pseries-2.3";
|
||||||
mc->desc = "pSeries Logical Partition (PAPR compliant) v2.3";
|
mc->desc = "pSeries Logical Partition (PAPR compliant) v2.3";
|
||||||
|
mc->compat_props = compat_props;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo spapr_machine_2_3_info = {
|
static const TypeInfo spapr_machine_2_3_info = {
|
||||||
|
|
Loading…
Reference in New Issue