No description
Find a file
Max Reitz 3258b91141 qemu-img/convert: Use @opts for one thing only
After storing the creation options for the new image into @opts, we
fetch some things for our own information, like the backing file name,
or whether to use encryption or preallocation.

With the -n parameter, there will not be any creation options; this is
not too bad because this just means that querying a NULL @opts will
always return the default value.

However, we also use @opts for the --object options. Therefore, @opts is
not necessarily NULL if -n was specified; instead, it may contain those
options. In practice, this probably does not cause any problems because
there most likely is no object that supports any of the parameters we
query here, but this is neither something we should rely on nor does
this variable reuse make the code very nice to read.

Therefore, just use a separate variable for the --object options.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2017-04-27 17:26:06 +02:00
audio
backends hostmem: use host_memory_backend_mr_inited() where proper 2017-04-20 15:22:41 -03:00
block block: fix alignment calculations in bdrv_co_do_zero_pwritev 2017-04-27 16:24:01 +02:00
bsd-user
chardev char: Fix socket with "type": "vsock" address 2017-04-03 17:11:39 +02:00
contrib
crypto crypto: Make errp the last parameter of functions 2017-04-24 09:13:22 +02:00
default-configs ppc patch queue 2017-04-26 2017-04-26 13:17:11 +01:00
disas disas/cris.c: Avoid unintentional sign extension 2017-04-03 14:06:59 +01:00
docs
dtc@558cd81bdd
fpu
fsdev
gdb-xml
hw ppc patch queue 2017-04-26 2017-04-26 13:17:11 +01:00
include block: Constify data passed by pointer to blk_name 2017-04-27 15:39:49 +02:00
io socket: Make errp the last parameter of socket_connect 2017-04-24 09:12:59 +02:00
libdecnumber
linux-headers
linux-user
migration migration: Call blk_resume_after_migration() for postcopy 2017-04-27 15:39:49 +02:00
nbd
net Revert "COLO-compare: Optimize tcp compare trace event" 2017-04-26 16:19:27 +01:00
pc-bios Update OpenBIOS images to 04898e8 built from submodule. 2017-04-22 07:27:20 +01:00
pixman@87eea99e44
po
qapi block/vxhs.c: Add support for a new block device type called "vxhs" 2017-04-24 15:08:42 -04:00
qga qga: Make errp the last parameter of qga_vss_fsfreeze 2017-04-24 09:13:44 +02:00
qobject
qom
replay replay: assert time only goes forward 2017-04-10 10:23:38 +01:00
roms Update OpenBIOS images to 04898e8 built from submodule. 2017-04-22 07:27:20 +01:00
scripts simpletrace: document Analyzer method signatures 2017-04-21 10:45:35 +01:00
slirp slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
stubs move xen-hvm.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
target target/ppc: Style fixes 2017-04-26 12:41:56 +10:00
tcg tcg: Initialize return value after exit_atomic 2017-04-26 19:26:11 +02:00
tests iotests: 109: Filter out "len" of failed jobs 2017-04-27 16:01:11 +02:00
trace
ui ui/cocoa.m: Fix macOS 10.12 deprecation warnings 2017-04-25 12:33:51 +01:00
util fix display update races, part one. 2017-04-24 15:37:30 +01:00
.dir-locals.el
.exrc
.gitignore
.gitmodules
.mailmap
.shippable.yml
.travis.yml
accel.c
arch_init.c
atomic_template.h
balloon.c
block.c block: An empty filename counts as no filename 2017-04-27 15:39:49 +02:00
blockdev-nbd.c nbd sockets vnc: Mark problematic address family tests TODO 2017-04-03 17:11:39 +02:00
blockdev.c block: Make errp the last parameter of commit_active_start 2017-04-24 09:13:44 +02:00
blockjob.c blockjob: Use bdrv_coroutine_enter to start coroutine 2017-04-11 20:07:15 +08:00
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure Xen 2017/04/21 + fix 2017-04-26 10:22:31 +01:00
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c cpu-exec: update icount after each TB_EXIT 2017-04-10 10:23:38 +01:00
cpus-common.c
cpus.c cpus: call cpu_update_icount on read 2017-04-10 10:23:38 +01:00
cputlb.c
device-hotplug.c
device_tree.c
disas.c
dma-helpers.c
dump.c
exec.c memory: add support getting and using a dirty bitmap copy. 2017-04-24 10:12:28 +02:00
gdbstub.c
HACKING
hax-stub.c
hmp-commands-info.hx
hmp-commands.hx hmp: gpa2hva and gpa2hpa hostaddr command 2017-04-26 14:42:31 +01:00
hmp.c hmp: info migrate_parameters format tunes 2017-04-21 12:25:41 +02:00
hmp.h
ioport.c
iothread.c
kvm-all.c
kvm-stub.c
LICENSE
MAINTAINERS ppc patch queue 2017-04-26 2017-04-26 13:17:11 +01:00
Makefile trace: Put all trace.o into libqemuutil.a 2017-04-21 10:45:35 +01:00
Makefile.objs
Makefile.target Xen 2017/04/21 + fix 2017-04-26 10:22:31 +01:00
memory.c memory: add support getting and using a dirty bitmap copy. 2017-04-24 10:12:28 +02:00
memory_ldst.inc.c
memory_mapping.c
module-common.c
monitor.c monitor: Check whether TCG is enabled before running the "info jit" code 2017-04-26 14:42:31 +01:00
numa.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json ram: Add page-size to output in 'info migrate' 2017-04-21 12:25:39 +02:00
qdev-monitor.c migration: Disable hotplug/unplug during migration 2017-04-21 12:25:40 +02:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-doc.texi
qemu-ga.texi
qemu-img-cmds.hx qemu-img: img_create does not support image-opts, fix docs 2017-04-07 14:44:06 +02:00
qemu-img.c qemu-img/convert: Use @opts for one thing only 2017-04-27 17:26:06 +02:00
qemu-img.texi
qemu-io-cmds.c qemu-io-cmds: Use bdrv_coroutine_enter 2017-04-11 20:07:15 +08:00
qemu-io.c
qemu-nbd.c
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx Issue a deprecation warning if the user specifies the "-hdachs" option. 2017-04-27 15:40:40 +02:00
qemu-seccomp.c
qemu-tech.texi
qemu.nsi
qemu.sasl
qmp.c qdev: remove cannot_destroy_with_object_finalize_yet 2017-04-21 07:18:34 +02:00
qtest.c
README
replication.c
replication.h
rules.mak
softmmu_template.h
spice-qemu-char.c
tcg-runtime.c
tci.c
thunk.c
tpm.c
trace-events move xen-mapcache.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
translate-all.c
translate-all.h
translate-common.c
user-exec-stub.c
user-exec.c
VERSION Open 2.10 development tree 2017-04-20 15:42:31 +01:00
version.rc
vl.c Issue a deprecation warning if the user specifies the "-hdachs" option. 2017-04-27 15:40:40 +02: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:

  http://qemu-project.org/Hosts/Linux
  http://qemu-project.org/Hosts/Mac
  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