Re: [Qemu-devel] [PATCH] PPC: KVM: store SLB slot number

2014-01-30 Thread Alexander Graf
On 31.01.2014, at 03:24, Alexey Kardashevskiy wrote: > 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

[Qemu-devel] [PATCH] PPC: KVM: store SLB slot number

2014-01-30 Thread Alexey Kardashevskiy
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 n