Re: [Qemu-devel] [PATCH] kvm: run cpu state synchronization on target vcpu thread

2014-08-26 Thread Paolo Bonzini
Il 26/08/2014 14:43, Christian Borntraeger ha scritto: > Acked-by: Christian Borntraeger > > Paolo, will you take that via the kvm tree? Yes, I will. Paolo

Re: [Qemu-devel] [PATCH] kvm: run cpu state synchronization on target vcpu thread

2014-08-26 Thread Christian Borntraeger
On 20/08/14 14:55, David Hildenbrand wrote: > As already done for kvm_cpu_synchronize_state(), let's trigger > kvm_arch_put_registers() via run_on_cpu() for kvm_cpu_synchronize_post_reset() > and kvm_cpu_synchronize_post_init(). > > This way, we make sure that the register synchronizing ioctls are

[Qemu-devel] [PATCH] kvm: run cpu state synchronization on target vcpu thread

2014-08-20 Thread David Hildenbrand
As already done for kvm_cpu_synchronize_state(), let's trigger kvm_arch_put_registers() via run_on_cpu() for kvm_cpu_synchronize_post_reset() and kvm_cpu_synchronize_post_init(). This way, we make sure that the register synchronizing ioctls are called from the proper vcpu thread; this avoids calls