qjson.h: Remove spurious GCC_FMT_ATTR markup from qobject_from_json() declaration
The function qobject_from_json() doesn't actually allow itsargument to be a format string -- it passes a NULL va_list*to qobject_from_jsonv(), and the parser code will then never...
tests/test-int128: Don't use noclone attribute on clang
clang doesn't support the noclone attribute and emits a warning aboutit. Fortunately clang also implements a mechanism for asking if a particularattribute is implemented; use it. We assume that if the compiler doesn't...
stubs: Optimize dependencies for gdbstub.c
It does not need qemu-common.h. Including exec/gdbstub.h fixes a warningfrom static code analyzers and avoids mismatching declarations forxml_builtin.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg: Fix typo in comment (dependancies -> dependencies)
include/qemu/host-utils.h: Trivial typo: ctz->cto
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
object: Report type in error when not user creatable.
Signed-off-by: Hani Benhabiles <hani@linux.com>Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>Acked-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
bswap: Modify prototype of stb_p (avoid type conversions)
The function uses an uint8_t value, so show this in the functionprototype. Non-optimizing compilers will avoid unnecessary typeconversions from (u)int8_t to int and back to uint8_t when generating...
bswap: Modify prototypes of st[wl]_{le, be}_p (avoid type conversions)
The functions use uint16_t or uint32_t values, so show this in the functionprototypes. Non-optimizing compilers will avoid unnecessary typeconversions when generating calls of these inline functions....
modules: Fix building with --enable-modules
Compiling util/modules.c with modules enabled fails now.
Fix it by including qemu-common.h before #ifdef testing in module.c.
Signed-off-by: Fam Zheng <famz@redhat.com>Message-id: 1393453893-12125-1-git-send-email-famz@redhat.com...
Merge remote-tracking branch 'remotes/kvm/uq/master' into staging
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
View all revisions | View revisions
Also available in: Atom