Re: [Qemu-devel] [PATCH] ppc: add helpful message when KVM fails to start VCPU

2015-05-19 Thread Paolo Bonzini
On 18/05/2015 21:06, Laurent Vivier wrote: > On POWER8 systems, KVM checks if VCPU is running on primary threads, > and that secondary threads are offline. If this is not the case, > ioctl() fails with errno set to EBUSY. > > QEMU aborts with a non explicit error message: > $ ./qemu-system-ppc64 -

[Qemu-devel] [PATCH] ppc: add helpful message when KVM fails to start VCPU

2015-05-18 Thread Laurent Vivier
On POWER8 systems, KVM checks if VCPU is running on primary threads, and that secondary threads are offline. If this is not the case, ioctl() fails with errno set to EBUSY. QEMU aborts with a non explicit error message: $ ./qemu-system-ppc64 --nographic -machine pseries,accel=kvm error: kvm run fa