Re: [libvirt] [PATCH] qemu: respect locking rules

2011-03-18 Thread Eric Blake
On 03/18/2011 12:11 PM, Daniel P. Berrange wrote: > On Mon, Mar 14, 2011 at 08:38:09PM -0600, Eric Blake wrote: >> THREADS.txt states that the contents of vm should not be read or >> modified while the vm lock is not held, but that the lock must not >> be held while performing a monitor command. T

Re: [libvirt] [PATCH] qemu: respect locking rules

2011-03-18 Thread Daniel P. Berrange
On Mon, Mar 14, 2011 at 08:38:09PM -0600, Eric Blake wrote: > THREADS.txt states that the contents of vm should not be read or > modified while the vm lock is not held, but that the lock must not > be held while performing a monitor command. This fixes all the > offenders that I could find. > > *

[libvirt] [PATCH] qemu: respect locking rules

2011-03-14 Thread Eric Blake
THREADS.txt states that the contents of vm should not be read or modified while the vm lock is not held, but that the lock must not be held while performing a monitor command. This fixes all the offenders that I could find. * src/qemu/qemu_process.c (qemuProcessStartCPUs) (qemuProcessInitPassword