mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target/ppc/cpu_init: Synchronize DEXCR with KVM for migration
The patch enables DEXCR migration by hooking with the "KVM one reg" ID KVM_REG_PPC_DEXCR. Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
b9c0a2e01c
commit
ca85beb4b7
1 changed files with 2 additions and 2 deletions
|
@ -5886,9 +5886,9 @@ static void register_power10_hash_sprs(CPUPPCState *env)
|
|||
|
||||
static void register_power10_dexcr_sprs(CPUPPCState *env)
|
||||
{
|
||||
spr_register(env, SPR_DEXCR, "DEXCR",
|
||||
spr_register_kvm(env, SPR_DEXCR, "DEXCR",
|
||||
SPR_NOACCESS, SPR_NOACCESS,
|
||||
&spr_read_generic, &spr_write_generic,
|
||||
&spr_read_generic, &spr_write_generic, KVM_REG_PPC_DEXCR,
|
||||
0);
|
||||
|
||||
spr_register(env, SPR_UDEXCR, "UDEXCR",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue