aboutsummaryrefslogtreecommitdiff
path: root/util/bitops.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-01-31 13:24:00 +1100
committerAlexander Graf <agraf@suse.de>2014-03-05 03:06:44 +0100
commit69b31b907b1114b4ee24faa00582fd5ecaaccf5c (patch)
treef6534b634ca195965bf590bbba3a06bb17ddca5e /util/bitops.c
parent66c3e32841f185243efa59381ab7721b24deca35 (diff)
downloadqemu-69b31b907b1114b4ee24faa00582fd5ecaaccf5c.zip
qemu-69b31b907b1114b4ee24faa00582fd5ecaaccf5c.tar.gz
qemu-69b31b907b1114b4ee24faa00582fd5ecaaccf5c.tar.bz2
PPC: KVM: store SLB slot number
When ppc_store_slb() is called from kvm_arch_get_registers(), it stores a SLB in CPUPPCState::slb[slot]. However it drops the slot number from ESID so when kvm_arch_put_registers() puts SLBs back to KVM, they do not have correct "index" field anymore. This broke migration with LPCR_AIR enabled as now the guest is handling interrupts in virtual mode and unable to reconstruct correct SLBs anymore. This adds "index" field for valid SLBs when putting them to KVM. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Cc: qemu-stable@nongnu.org Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'util/bitops.c')
0 files changed, 0 insertions, 0 deletions