No description
Find a file
Stefan Hajnoczi c274393a3e qcow2: make qcow2_co_create2() a coroutine_fn
qcow2_create2() calls qemu_co_mutex_lock().  Only a coroutine_fn may
call another coroutine_fn.  In fact, qcow2_create2 is always called from
coroutine context.

Rename the function to add the "co" moniker and add coroutine_fn.

Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20170705102231.20711-3-stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-03-02 18:39:07 +01:00
accel
audio
backends cryptodev-vhost-user: set the key length 2018-03-01 18:26:17 +02:00
block qcow2: make qcow2_co_create2() a coroutine_fn 2018-03-02 18:39:07 +01:00
bsd-user
capstone@22ead3e0bf
chardev
contrib
crypto
default-configs hw/arm/iotkit: Model Arm IOT Kit 2018-03-02 11:03:45 +00:00
disas
docs docs: document how to use the l2-cache-entry-size parameter 2018-03-02 18:39:07 +01:00
dtc@e54388015a
fpu fpu/softfloat: re-factor sqrt 2018-02-21 10:21:54 +00:00
fsdev
gdb-xml
hw Revert "IDE: Do not flush empty CDROM drives" 2018-03-02 18:39:07 +01:00
include block: rename .bdrv_create() to .bdrv_co_create_opts() 2018-03-02 18:39:07 +01:00
io io/channel-command: Do not kill the child process after closing the pipe 2018-02-15 16:54:57 +00:00
libdecnumber
linux-headers
linux-user target/arm: Add ARM_FEATURE_V8_FCMA 2018-03-02 11:03:45 +00:00
migration migration: pass MigrationState to migrate_init() 2018-02-14 10:37:09 +00:00
nbd nbd/client: fix error messages in nbd_handle_reply_err 2018-03-01 14:48:23 -06:00
net vhost-user: fix memory leak 2018-03-01 16:05:26 +02:00
pc-bios pc-bios/s390: Rebuild the s390x firmware images with the boot menu changes 2018-02-26 11:10:30 +01:00
po
qapi s390x/cpu: expose the guest crash information 2018-02-26 12:55:26 +01:00
qga
qobject
qom
replay
roms Update OpenBIOS images to 54d959d9 built from submodule. 2018-02-22 07:55:47 +00:00
scripts decodetree: Propagate return value from translate subroutines 2018-03-02 11:03:45 +00:00
scsi
slirp
stubs
target target/arm: Enable ARM_FEATURE_V8_FCMA 2018-03-02 11:03:45 +00:00
tcg
tests block: test blk_aio_flush() with blk->root == NULL 2018-03-02 18:39:07 +01:00
trace
ui keymap: consider modifier state when picking a mapping 2018-02-22 10:35:32 +01:00
util block: extract AIO_WAIT_WHILE() from BlockDriverState 2018-03-02 18:39:07 +01:00
.dir-locals.el
.editorconfig
.exrc
.gdbinit
.gitignore
.gitmodules
.mailmap
.shippable.yml
.travis.yml
arch_init.c
balloon.c
block.c block: rename .bdrv_create() to .bdrv_co_create_opts() 2018-03-02 18:39:07 +01:00
blockdev-nbd.c
blockdev.c
blockjob.c
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure cryptodev: add vhost-user as a new cryptodev backend 2018-03-01 18:26:17 +02:00
COPYING
COPYING.LIB
COPYING.PYTHON
cpus-common.c
cpus.c qmp: add architecture specific cpu data for query-cpus-fast 2018-02-26 12:55:26 +01:00
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c
exec.c mem: add share parameter to memory-backend-ram 2018-02-19 13:03:24 +02:00
gdbstub.c
HACKING
hmp-commands-info.hx
hmp-commands.hx migration: improve documentation of postcopy-ram 2018-02-14 10:23:15 +00:00
hmp.c hmp: change hmp_info_cpus to use query-cpus-fast 2018-02-26 12:55:26 +01:00
hmp.h
ioport.c
iothread.c
LICENSE
MAINTAINERS target-arm queue: 2018-03-01 15:37:31 +00:00
Makefile allow to build with older sed 2018-02-15 16:54:57 +00:00
Makefile.objs hw/rdma: Implementation of PVRDMA device 2018-02-19 13:03:24 +02:00
Makefile.target
memory.c mem: add share parameter to memory-backend-ram 2018-02-19 13:03:24 +02:00
memory_ldst.inc.c
memory_mapping.c
module-common.c
monitor.c hmp: change hmp_info_cpus to use query-cpus-fast 2018-02-26 12:55:26 +01:00
numa.c
os-posix.c
os-win32.c
qapi-schema.json qemu-doc: deprecate query-cpus 2018-02-26 12:55:26 +01:00
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-doc.texi qemu-doc: deprecate query-cpus 2018-02-26 12:55:26 +01:00
qemu-ga.texi
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi
qemu-io-cmds.c
qemu-io.c
qemu-keymap.c
qemu-nbd.c
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx cryptodev: add vhost-user as a new cryptodev backend 2018-03-01 18:26:17 +02:00
qemu-seccomp.c
qemu-tech.texi
qemu.nsi
qemu.sasl
qmp.c
qtest.c
README
replication.c
replication.h
rules.mak
thunk.c
tpm.c
trace-events trace: avoid SystemTap "char const" warnings 2018-02-19 13:09:44 +00:00
VERSION
version.rc
vl.c virtio,vhost,pci,pc: features, fixes and cleanups 2018-03-01 18:46:41 +00:00

         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:

  https://qemu.org/Hosts/Linux
  https://qemu.org/Hosts/Mac
  https://qemu.org/Hosts/W32


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

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

   git clone git://git.qemu.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

  https://qemu.org/Contribute/SubmitAPatch
  https://qemu.org/Contribute/TrivialPatches

The QEMU website is also maintained under source control.

  git clone git://git.qemu.org/qemu-web.git
  https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/

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:

  https://qemu.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
   https://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:

  https://qemu.org/Contribute/StartHere

-- End