]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use atomic ops to increment nextvmid
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 14 Jan 2013 16:50:08 +0000 (16:50 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Feb 2013 19:22:25 +0000 (19:22 +0000)
commit6ffcab65c99dbd688bceb5b8adf8eac94e2e7bd4
treed653375cd75e20522987303b508b0d7f27c461f1
parent582c445a967d967f22f68c9a532889fe1dba2fc8
Use atomic ops to increment nextvmid

Use atomic ops to increment nextvmid and encapsulate it in a
method to prevent accidental non-atomic access
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_process.c