target-ppc: Change default machine for 64-bit
Currently, for qemu-system-ppc64, the default machine type is 'mac99'. The mac99 machine is not being actively maintained, and represents a bizarre hybrid of components that never actually existed as a real system. This patch changes the default machine to 'pseries', which is actively maintained and works well with most modern ppc64 Linux distributions as a guest. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [agraf: adjust commit message] Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
9fea2ae250
commit
159f8286b7
|
@ -458,9 +458,6 @@ static QEMUMachine core99_machine = {
|
||||||
.desc = "Mac99 based PowerMAC",
|
.desc = "Mac99 based PowerMAC",
|
||||||
.init = ppc_core99_init,
|
.init = ppc_core99_init,
|
||||||
.max_cpus = MAX_CPUS,
|
.max_cpus = MAX_CPUS,
|
||||||
#ifdef TARGET_PPC64
|
|
||||||
.is_default = 1,
|
|
||||||
#endif
|
|
||||||
DEFAULT_MACHINE_OPTIONS,
|
DEFAULT_MACHINE_OPTIONS,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -971,6 +971,7 @@ static void ppc_spapr_init(QEMUMachineInitArgs *args)
|
||||||
static QEMUMachine spapr_machine = {
|
static QEMUMachine spapr_machine = {
|
||||||
.name = "pseries",
|
.name = "pseries",
|
||||||
.desc = "pSeries Logical Partition (PAPR compliant)",
|
.desc = "pSeries Logical Partition (PAPR compliant)",
|
||||||
|
.is_default = 1,
|
||||||
.init = ppc_spapr_init,
|
.init = ppc_spapr_init,
|
||||||
.reset = ppc_spapr_reset,
|
.reset = ppc_spapr_reset,
|
||||||
.block_default_type = IF_SCSI,
|
.block_default_type = IF_SCSI,
|
||||||
|
|
Loading…
Reference in a new issue