]> Git Repo - qemu.git/commit - target-ppc/translate_init.c
target-ppc: Add "compat" CPU option
authorAlexey Kardashevskiy <[email protected]>
Fri, 23 May 2014 02:26:50 +0000 (12:26 +1000)
committerAlexander Graf <[email protected]>
Mon, 16 Jun 2014 11:24:37 +0000 (13:24 +0200)
commit8dfa3a5e85eca94a93b1495136f49c5776fd5ada
tree7726147b23a12b6653e98e5b4d86ec52205f679b
parentaf354f19a9b6a655eac1c49b66d3be021e7ed3d9
target-ppc: Add "compat" CPU option

PowerISA defines a compatibility mode for server POWERPC CPUs which
is supported by the PCR special register which is hypervisor privileged.
To support this mode for guests, SPAPR defines a set of virtual PVRs,
one per PowerISA spec version. When a hypervisor needs a guest to work in
a compatibility mode, it puts a virtual PVR value into @cpu-version
property of a CPU node.

This introduces a "compat" CPU option which defines maximal compatibility
mode enabled. The supported modes are power6/power7/power8.

This does not change the existing behaviour, new property will be used
by next patches.

Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
target-ppc/cpu-models.h
target-ppc/cpu-qom.h
target-ppc/translate_init.c
This page took 0.026475 seconds and 4 git commands to generate.