• Michael Neuling's avatar
    KVM: PPC: Book3S HV: Handle migration with POWER9 disabled DAWR · b53221e7
    Michael Neuling authored
    POWER9 with the DAWR disabled causes problems for partition
    migration. Either we have to fail the migration (since we lose the
    DAWR) or we silently drop the DAWR and allow the migration to pass.
    
    This patch does the latter and allows the migration to pass (at the
    cost of silently losing the DAWR). This is not ideal but hopefully the
    best overall solution. This approach has been acked by Paulus.
    
    With this patch kvmppc_set_one_reg() will store the DAWR in the vcpu
    but won't actually set it on POWER9 hardware.
    Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    b53221e7
book3s_hv_rmhandlers.S 88.2 KB