Re: [libvirt] [PATCH v3 06/13] Use atomic ops to increment nextvmid

2013-02-04 Thread Jiri Denemark
On Fri, Feb 01, 2013 at 11:18:28 +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Use atomic ops to increment nextvmid and encapsulate it in a > methd to prevent accidental non-atomic access s/methd/method/ ACK Jirka -- libvir-list mailing list libvir-list@redhat.com https://

[libvirt] [PATCH v3 06/13] Use atomic ops to increment nextvmid

2013-02-01 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Use atomic ops to increment nextvmid and encapsulate it in a methd to prevent accidental non-atomic access --- src/qemu/qemu_conf.c| 6 ++ src/qemu/qemu_conf.h| 2 ++ src/qemu/qemu_process.c | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff