No description
Find a file
Paolo Bonzini feadec6384 qemu-thread: introduce QemuRecMutex
GRecMutex is new in glib 2.32, so we cannot use it.  Introduce
a recursive mutex in qemu-thread instead, which will be used
instead of RFifoLock.

Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1477565348-5458-20-git-send-email-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
2016-10-28 21:50:18 +08:00
audio
backends char: remove explicit_be_open from CharDriverState 2016-10-24 15:46:11 +02:00
block block: only call aio_poll on the current thread's AioContext 2016-10-28 21:50:18 +08:00
bsd-user Put the copyright information on a separate line 2016-10-24 11:30:55 +02:00
contrib
crypto crypto: fix initialization of gcrypt threading 2016-10-20 12:19:35 +01:00
default-configs linux-user: disable unicore32 linux-user build 2016-10-21 15:20:14 +03:00
disas
docs iothread: release AioContext around aio_poll 2016-10-28 21:50:18 +08:00
dtc@65cc4d2748
fpu
fsdev 9pfs: fsdev: drop useless extern annotation for functions 2016-10-17 14:13:58 +02:00
gdb-xml
hw block: only call aio_poll on the current thread's AioContext 2016-10-28 21:50:18 +08:00
include qemu-thread: introduce QemuRecMutex 2016-10-28 21:50:18 +08:00
io trace: move util/buffer.c trace points into correct file 2016-09-28 19:17:54 +01:00
libdecnumber
linux-headers linux-headers: update 2016-10-13 12:58:06 +11:00
linux-user target-alpha: Emulate LL/SC using cmpxchg helpers 2016-10-26 08:29:02 -07:00
migration migration/savevm.c: migrate non-default page size 2016-10-24 16:26:50 +01:00
nbd
net colo-proxy: fix memory leak 2016-10-26 09:58:02 +08:00
pc-bios seabios: update to 1.10.0 release. 2016-10-27 16:42:28 +02:00
pixman@87eea99e44
po rules.mak: quiet-command: Split command name and args to print 2016-10-06 12:11:51 +01:00
qapi qapi: Allow blockdev-add for NBD 2016-10-27 19:05:23 +02:00
qga
qobject qdict: implement a qdict_crumple method for un-flattening a dict 2016-10-25 17:56:14 +02:00
qom qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2016-10-25 16:25:54 +02:00
replay
roms seabios: update to 1.10.0 release. 2016-10-27 16:42:28 +02:00
scripts trace: Fix 'char **' compilation error in simple backend 2016-10-27 19:24:15 +01:00
slirp
stubs aio: introduce qemu_get_current_aio_context 2016-10-28 21:50:18 +08:00
target-alpha target-alpha: Emulate LL/SC using cmpxchg helpers 2016-10-26 08:29:02 -07:00
target-arm target-arm: remove EXCP_STREX + cpu_exclusive_{test, info} 2016-10-26 08:29:02 -07:00
target-cris exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-i386 target-i386: remove helper_lock() 2016-10-26 08:29:01 -07:00
target-lm32 exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-m68k target-m68k: Optimize gen_flush_flags 2016-10-25 20:54:47 +02:00
target-microblaze exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-mips exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-moxie exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-openrisc exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-ppc exec: call cpu_exec_exit() from a CPU unrealize common function 2016-10-24 17:29:16 -02:00
target-s390x qapi: rename QmpInputVisitor to QObjectInputVisitor 2016-10-25 16:25:54 +02:00
target-sh4 exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-sparc exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-tilegx exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-tricore exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-unicore32 exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
target-xtensa exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
tcg tcg: Emit barriers with parallel_cpus 2016-10-26 08:29:01 -07:00
tests iothread: release AioContext around aio_poll 2016-10-28 21:50:18 +08:00
trace trace: pass trace-events to tracetool as a positional param 2016-10-12 09:54:53 +02:00
ui char: remove explicit_be_open from CharDriverState 2016-10-24 15:46:11 +02:00
util qemu-thread: introduce QemuRecMutex 2016-10-28 21:50:18 +08:00
.dir-locals.el
.exrc
.gitignore trivial patches for 2016-10-08 2016-10-10 13:01:43 +01:00
.gitmodules
.mailmap
.travis.yml
accel.c
aio-posix.c
aio-win32.c
arch_init.c util: Add UUID API 2016-09-23 11:42:52 +08:00
async.c iothread: release AioContext around aio_poll 2016-10-28 21:50:18 +08:00
atomic_template.h tcg: Add atomic128 helpers 2016-10-26 08:29:01 -07:00
balloon.c
block.c block: only call aio_poll on the current thread's AioContext 2016-10-28 21:50:18 +08:00
blockdev-nbd.c
blockdev.c qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2016-10-25 16:25:54 +02:00
blockjob.c blockjob: introduce .drain callback for jobs 2016-10-28 21:50:18 +08:00
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure tcg: Add CONFIG_ATOMIC64 2016-10-26 08:29:01 -07:00
COPYING
COPYING.LIB
cpu-exec-common.c tcg: Add EXCP_ATOMIC 2016-10-26 08:29:00 -07:00
cpu-exec.c cmpxchg emulation of atomics, v8 2016-10-27 14:06:34 +01:00
cpus-common.c
cpus.c tcg: Add EXCP_ATOMIC 2016-10-26 08:29:00 -07:00
cputlb.c tcg: Add CONFIG_ATOMIC64 2016-10-26 08:29:01 -07:00
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c
exec.c exec: Avoid direct references to Int128 parts 2016-10-26 08:29:00 -07:00
gdbstub.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
HACKING
hmp-commands-info.hx
hmp-commands.hx
hmp.c char: remove init callback 2016-10-24 15:27:20 +02:00
hmp.h
iohandler.c
ioport.c
iothread.c iothread: release AioContext around aio_poll 2016-10-28 21:50:18 +08:00
kvm-all.c kvm-all: don't use stale dbg_data->cpu 2016-10-23 16:10:59 +02:00
kvm-stub.c
LICENSE
main-loop.c
MAINTAINERS trivial patches for 2016-10-08 2016-10-10 13:01:43 +01:00
Makefile trace: get rid of generated-events.h/generated-events.c 2016-10-12 09:54:52 +02:00
Makefile.objs tcg: Add atomic helpers 2016-10-26 08:29:01 -07:00
Makefile.target tcg: Add atomic helpers 2016-10-26 08:29:01 -07:00
memory.c memory: optimize memory_region_sync_dirty_bitmap 2016-10-24 15:27:19 +02:00
memory_mapping.c
module-common.c all: Clean up includes 2016-02-04 17:41:30 +00:00
monitor.c qapi: rename *qmp-*-visitor* to *qobject-*-visitor* 2016-10-25 16:25:48 +02:00
numa.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json trivial: Restore blank line in qapi-schema 2016-10-25 13:57:58 +02:00
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c char: remove explicit_be_open from CharDriverState 2016-10-24 15:46:11 +02:00
qemu-doc.texi
qemu-ga.texi
qemu-img-cmds.hx qemu-img: add skip option to dd 2016-09-20 22:10:57 +02:00
qemu-img.c qemu-img: call aio_context_acquire/release around block job 2016-10-28 21:50:18 +08:00
qemu-img.texi
qemu-io-cmds.c qemu-io: acquire AioContext 2016-10-28 21:50:18 +08:00
qemu-io.c trace: provide mechanism for registering trace events 2016-10-12 09:52:50 +02:00
qemu-nbd.c qemu-nbd: Add --fork option 2016-10-24 17:54:03 +02:00
qemu-nbd.texi qemu-nbd: Add --fork option 2016-10-24 17:54:03 +02:00
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qmp.c qapi: rename QmpInputVisitor to QObjectInputVisitor 2016-10-25 16:25:54 +02:00
qtest.c char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
README
replication.c
replication.h
rules.mak
softmmu_template.h cputlb: Tidy some macros 2016-10-26 08:29:00 -07:00
spice-qemu-char.c char: remove explicit_be_open from CharDriverState 2016-10-24 15:46:11 +02:00
tcg-runtime.c tcg: Add CONFIG_ATOMIC64 2016-10-26 08:29:01 -07:00
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events trace: Add missing execution mode of guest events 2016-10-12 09:54:53 +02:00
translate-all.c tcg: Add EXCP_ATOMIC 2016-10-26 08:29:00 -07:00
translate-all.h
translate-common.c
user-exec.c
VERSION
version.rc
vl.c cpu: Support a target CPU having a variable page size 2016-10-24 16:26:49 +01:00
xen-common-stub.c
xen-common.c
xen-hvm-stub.c
xen-hvm.c
xen-mapcache.c

         QEMU README
         ===========

QEMU is a generic and open source machine & userspace emulator and
virtualizer.

QEMU is capable of emulating a complete machine in software without any
need for hardware virtualization support. By using dynamic translation,
it achieves very good performance. QEMU can also integrate with the Xen
and KVM hypervisors to provide emulated hardware while allowing the
hypervisor to manage the CPU. With hypervisor support, QEMU can achieve
near native performance for CPUs. When QEMU emulates CPUs directly it is
capable of running operating systems made for one machine (e.g. an ARMv7
board) on a different machine (e.g. an x86_64 PC board).

QEMU is also capable of providing userspace API virtualization for Linux
and BSD kernel interfaces. This allows binaries compiled against one
architecture ABI (e.g. the Linux PPC64 ABI) to be run on a host using a
different architecture ABI (e.g. the Linux x86_64 ABI). This does not
involve any hardware emulation, simply CPU and syscall emulation.

QEMU aims to fit into a variety of use cases. It can be invoked directly
by users wishing to have full control over its behaviour and settings.
It also aims to facilitate integration into higher level management
layers, by providing a stable command line interface and monitor API.
It is commonly invoked indirectly via the libvirt library when using
open source applications such as oVirt, OpenStack and virt-manager.

QEMU as a whole is released under the GNU General Public License,
version 2. For full licensing details, consult the LICENSE file.


Building
========

QEMU is multi-platform software intended to be buildable on all modern
Linux platforms, OS-X, Win32 (via the Mingw64 toolchain) and a variety
of other UNIX targets. The simple steps to build QEMU are:

  mkdir build
  cd build
  ../configure
  make

Additional information can also be found online via the QEMU website:

  http://qemu-project.org/Hosts/Linux
  http://qemu-project.org/Hosts/W32


Submitting patches
==================

The QEMU source code is maintained under the GIT version control system.

   git clone git://git.qemu-project.org/qemu.git

When submitting patches, the preferred approach is to use 'git
format-patch' and/or 'git send-email' to format & send the mail to the
qemu-devel@nongnu.org mailing list. All patches submitted must contain
a 'Signed-off-by' line from the author. Patches should follow the
guidelines set out in the HACKING and CODING_STYLE files.

Additional information on submitting patches can be found online via
the QEMU website

  http://qemu-project.org/Contribute/SubmitAPatch
  http://qemu-project.org/Contribute/TrivialPatches


Bug reporting
=============

The QEMU project uses Launchpad as its primary upstream bug tracker. Bugs
found when running code built from QEMU git or upstream released sources
should be reported via:

  https://bugs.launchpad.net/qemu/

If using QEMU via an operating system vendor pre-built binary package, it
is preferable to report bugs to the vendor's own bug tracker first. If
the bug is also known to affect latest upstream code, it can also be
reported via launchpad.

For additional information on bug reporting consult:

  http://qemu-project.org/Contribute/ReportABug


Contact
=======

The QEMU community can be contacted in a number of ways, with the two
main methods being email and IRC

 - qemu-devel@nongnu.org
   http://lists.nongnu.org/mailman/listinfo/qemu-devel
 - #qemu on irc.oftc.net

Information on additional methods of contacting the community can be
found online via the QEMU website:

  http://qemu-project.org/Contribute/StartHere

-- End