fw_cfg: Use g_file_get_contents instead of multiple fread() calls
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-barrier: Fix build failure on PowerPC Mac OS X
qemu-barrier.h tests if macro powerpc is defined, however, thepreprocessor on PowerPC Mac OS X defines only POWERPC, notpowerpc. Resolve by testing instead for qemu-provided _ARCH_PPC.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>...
Error check find_ram_offset
Spotted via code review, we initialize offset to 0 to avoid acompiler warning, but in the unlikely case that offset isnever set to something else, we should abort instead of returna value that will almost certainly cause problems....
qemu-tls.h: Add abstraction layer for TLS variables
Add an abstraction layer for defining and using thread-localvariables. For the moment this is implemented only for Linux,which means they can only be used in restricted circumstances.The abstraction layer allows us to add POSIX and Win32 support...
darwin-user/main.c: Drop unused cpu_single_env definition
Drop the cpu_single_env definition as it is unused.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Make cpu_single_env thread-local
Make cpu_single_env thread-local. This fixes a regressionin handling of multi-threaded programs in linux-user mode(bug 823902).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>[Peter Maydell: rename tls_cpu_single_env to cpu_single_env]...
Simplify cpu_exec_all to tcg_exec_all
After the removal of the non-threaded mode cpu_exec_all is now only usedby TCG. Refactor it accordingly, also dropping its unused return value.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
MAINTAINERS: Add PReP maintainer
Officially take on maintainership for PReP and upgrade to Odd Fixes.
Acked-by: Alexander Graf <agraf@suse.de>Signed-off-by: Andreas Färber <andreas.faerber@web.de>Cc: Alexander Graf <agraf@suse.de>Cc: Hervé Poussineau <hpoussin@reactos.org>...
Support running QEMU on Valgrind
Valgrind is a tool which can automatically detect many kinds of bugs.
Running QEMU on Valgrind with x86_64 hosts was not possible becauseValgrind aborts when memalign is called with an alignment larger than1 MiB. QEMU normally uses 2 MiB on Linux x86_64....
Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging
View all revisions | View revisions
Also available in: Atom