summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2016-09-30 22:31:02 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-10-04 10:00:26 +0200
commita31393e7a594e45f2ed0ae17e1b7987e94f30fcf (patch)
treecb77e5eab7a19acfa2a0af44c4b6bbc553876390 /util/oslib-posix.c
parentdd1f63493adbbb06fa16ed15f8fc16584f55ee81 (diff)
downloadfocaccia-qemu-a31393e7a594e45f2ed0ae17e1b7987e94f30fcf.tar.gz
focaccia-qemu-a31393e7a594e45f2ed0ae17e1b7987e94f30fcf.zip
qga/command: use QEMU atomic primitives
The guest client's use of the glib's g_atomic primitives causes newer
GCC's to barf when built on Travis. As QEMU has its own primitives with
well understood semantics we might as well use them.

The use of atomics was a little inconsistent so I've also ensure the
values are correctly set with atomic primitives at the same time.

I also made the usage of bool consistent while I was at it.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20160930213106.20186-12-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions