Re: [Qemu-devel] [PATCH v2] pseries: fix TCG migration

2017-11-28 Thread David Gibson
On Tue, Nov 28, 2017 at 06:43:10PM +0100, Laurent Vivier wrote: > Migration of pseries is broken with TCG because > QEMU tries to restore KVM MMU state unconditionally. > > The result is a SIGSEGV in kvm_vm_ioctl(): > > #0 kvm_vm_ioctl (s=0x0, type=-2146390353) > at qemu/accel/kvm/kvm-al

[Qemu-devel] [PATCH v2] pseries: fix TCG migration

2017-11-28 Thread Laurent Vivier
Migration of pseries is broken with TCG because QEMU tries to restore KVM MMU state unconditionally. The result is a SIGSEGV in kvm_vm_ioctl(): #0 kvm_vm_ioctl (s=0x0, type=-2146390353) at qemu/accel/kvm/kvm-all.c:2032 #1 0x0001003e3e2c in kvmppc_configure_v3_mmu (cpu=, radi