Re: [Qemu-devel] [PATCH] spapr: fix H_SET_MODE to sync LPCR with KVM

2014-01-20 Thread Alexander Graf
On 17.01.2014, at 07:13, Alexey Kardashevskiy wrote: > The kvm_cpu_exec() only puts registers to KVM if the @kvm_vcpu_dirty flag > has been set. > > This adds registers sync which also sets @kvm_vcpu_dirty so we store new > LPCR to KVM before continuing with the KVM_RUN ioctl. > > Signed-off-b

[Qemu-devel] [PATCH] spapr: fix H_SET_MODE to sync LPCR with KVM

2014-01-16 Thread Alexey Kardashevskiy
The kvm_cpu_exec() only puts registers to KVM if the @kvm_vcpu_dirty flag has been set. This adds registers sync which also sets @kvm_vcpu_dirty so we store new LPCR to KVM before continuing with the KVM_RUN ioctl. Signed-off-by: Alexey Kardashevskiy --- hw/ppc/spapr_hcall.c | 2 ++ 1 file chan