QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Emilio G. Cota f28d0dfdce tcg: fix --disable-tcg build breakage 8 years ago
accel tcg: fix --disable-tcg build breakage 8 years ago
audio audio/sdl: build as module 8 years ago
backends vhost-user: introduce shared vhost-user state 8 years ago
block qapi: remove empty flat union branches and types 8 years ago
bsd-user target: Do not include "exec/exec-all.h" if it is not necessary 8 years ago
capstone@22ead3e0bf disas: Add capstone as submodule 9 years ago
chardev chardev: Restore CR,LF on stdio 8 years ago
contrib vhost-blk: turn on pre-defined RO feature bit 8 years ago
crypto crypto: use local path for local headers 8 years ago
default-configs target-arm queue: 8 years ago
disas RISC-V: Fix missing break statement in disassembler 8 years ago
docs qapi: allow empty branches in flat unions 8 years ago
dtc@e54388015a Update dtc to fix compilation problem on Mac OS 10.6 8 years ago
fpu fpu/softfloat: Define floatN_silence_nan in terms of parts_silence_nan 8 years ago
fsdev use g_path_get_basename instead of basename 8 years ago
gdb-xml s390x/gdb: add gs registers 9 years ago
hw target-arm queue: 8 years ago
include target-arm queue: 8 years ago
io Remove unnecessary variables for function return value 8 years ago
libdecnumber build: remove CONFIG_LIBDECNUMBER 9 years ago
linux-headers linux-headers: Update to kernel mainline commit b357bf602 8 years ago
linux-user tcg: remove tb_lock 8 years ago
migration migration: calculate expected_downtime with ram_bytes_remaining() 8 years ago
nbd nbd/server: Silence gcc false positive 8 years ago
net vhost-user: delete net client if necessary 8 years ago
pc-bios pseries: Update SLOF firmware image to qemu-slof-20180621 8 years ago
po po: add missing translations in de, fr, it, zh 9 years ago
qapi qapi: remove empty flat union branches and types 8 years ago
qga qga: use local path for local headers 8 years ago
qobject qdict: Make qdict_flatten() shallow-clone-friendly 8 years ago
qom Purge uses of banned g_assert_FOO() 8 years ago
replay replay: save vmstate of the asynchronous events 8 years ago
roms pseries: Update SLOF firmware image to qemu-slof-20180621 8 years ago
scripts qapi/introspect: Eliminate pointless variable in .visit_end() 8 years ago
scsi qemu-pr-helper: Write pidfile more often 8 years ago
slirp slirp: reformat m_inc routine 8 years ago
stubs monitor: add lock to protect mon_fdsets 8 years ago
target target-arm queue: 8 years ago
tcg tcg: Reduce max TB opcode count 8 years ago
tests Revert commit d4e5ec877ca 8 years ago
trace trace: use local path for local headers 8 years ago
ui sdl2: restore window dimensions by resize 8 years ago
util TCG patch queue: 8 years ago
.dir-locals.el Add .dir-locals.el file to configure emacs coding style 11 years ago
.editorconfig add editorconfig 9 years ago
.exrc qemu: add .exrc 14 years ago
.gdbinit .gdbinit: load QEMU sub-commands when gdb starts 9 years ago
.gitignore block: Ignore generated job QAPI files 8 years ago
.gitmodules roms/u-boot-sam460ex: Change to qemu git mirror and update 8 years ago
.gitpublish Add a git-publish configuration file 8 years ago
.mailmap maint: Add .mailmap entries for patches claiming list authorship 8 years ago
.shippable.yml shippable: Remove Debian 8 libfdt kludge 8 years ago
.travis.yml .travis.yml: add check-tcg test 8 years ago
CODING_STYLE CODING_STYLE: Define our preferred form for multiline comments 8 years ago
COPYING COPYING: update from FSF 18 years ago
COPYING.LIB Update FSF address in GPL/LGPL boilerplate 18 years ago
Changelog Use HTTPS for qemu.org and other domains 8 years ago
HACKING HACKING: document preference for g_new instead of g_malloc 8 years ago
LICENSE vfio: move hw/misc/vfio.c to hw/vfio/pci.c Move vfio.h into include/hw/vfio 11 years ago
MAINTAINERS QAPI patches for 2018-06-22 8 years ago
Makefile Revert commit d4e5ec877ca 8 years ago
Makefile.objs hw/i2c: Add trace events 8 years ago
Makefile.target Makefile.target: add (clean-/build-)guest-tests targets 8 years ago
README README: Fix typo 'git-publish' 8 years ago
VERSION Open 2.13 development tree 8 years ago
arch_init.c arch_init: sort architectures 8 years ago
balloon.c qapi: Empty out qapi-schema.json 8 years ago
block.c block: Generalize should_update_child() rule 8 years ago
blockdev-nbd.c qapi: new qmp command nbd-server-add-bitmap 8 years ago
blockdev.c block/mirror: Add copy mode QAPI interface 8 years ago
blockjob.c block: Really pause block jobs on drain 8 years ago
bootdevice.c Makefile: Move bootdevice.o to common-obj-y 9 years ago
bt-host.c all: Clean up includes 10 years ago
bt-vhci.c all: Clean up includes 10 years ago
configure configure: set cross_cc_FOO for host compiler 8 years ago
cpus-common.c *_run_on_cpu: introduce run_on_cpu_data type 10 years ago
cpus.c tcg: fix --disable-tcg build breakage 8 years ago
device-hotplug.c block: Remove deprecated -drive option addr 8 years ago
device_tree.c device_tree: Increase FDT_MAX_SIZE to 1 MiB 8 years ago
disas.c RISC-V Disassembler 8 years ago
dma-helpers.c block: explicitly acquire aiocontext in bottom halves that need it 9 years ago
dump.c dump: Fix build with newer gcc 8 years ago
exec.c tcg: fix --disable-tcg build breakage 8 years ago
gdbstub.c gdbstub: Prevent fd leakage 8 years ago
hmp-commands-info.hx hmp: Add commands for preconfig 8 years ago
hmp-commands.hx hmp: add exit_preconfig 8 years ago
hmp.c hmp: add exit_preconfig 8 years ago
hmp.h hmp: add exit_preconfig 8 years ago
ioport.c trace: switch to modular code generation for sub-directories 9 years ago
iothread.c iothread: workaround glib bug which hangs qmp-test 8 years ago
job-qmp.c job: Add error message for failing jobs 8 years ago
job.c job: Add job_progress_increase_remaining() 8 years ago
memory.c iommu: Add IOMMU index argument to translate method 8 years ago
memory_ldst.inc.c Make address_space_translate{, _cached}() take a MemTxAttrs argument 8 years ago
memory_mapping.c Replace all occurances of __FUNCTION__ with __func__ 8 years ago
module-common.c all: Clean up includes 10 years ago
monitor.c hmp: Allow HMP in preconfig state again 8 years ago
numa.c qmp: add set-numa-node command 8 years ago
os-posix.c qemu-options: Bail out on unsupported options instead of silently ignoring them 8 years ago
os-win32.c qemu-options: Bail out on unsupported options instead of silently ignoring them 8 years ago
qdev-monitor.c qom: introduce object_class_get_list_sorted 8 years ago
qdict-test-data.txt Introduce QDict test data file 17 years ago
qemu-bridge-helper.c all: Remove unnecessary glib.h includes 10 years ago
qemu-doc.texi block: Remove deprecated -drive option serial 8 years ago
qemu-ga.texi qemu-ga: Remove stray 'q' in documentation 10 years ago
qemu-img-cmds.hx qemu-img: Remove deprecated -s snapshot_id_or_name option 8 years ago
qemu-img.c qemu-img: Fix assert when mapping unaligned raw file 8 years ago
qemu-img.texi qemu-img: Remove deprecated -s snapshot_id_or_name option 8 years ago
qemu-io-cmds.c qemu-io: Let command functions return error code 8 years ago
qemu-io.c qemu-io: Exit with error when a command failed 8 years ago
qemu-keymap.c Drop superfluous includes of qapi-types.h and test-qapi-types.h 8 years ago
qemu-nbd.c block: Cancel job in bdrv_close_all() callers 8 years ago
qemu-nbd.texi nbd: Add qemu-nbd -D for human-readable description 10 years ago
qemu-option-trace.texi qemu-option-trace: -trace enable= is a pattern, not a file 8 years ago
qemu-options-wrapper.h qemu-img: remove references to GEN_DOCS 8 years ago
qemu-options.h Clean up ill-advised or unusual header guards 10 years ago
qemu-options.hx block: Remove deprecated -drive option serial 8 years ago
qemu-seccomp.c sandbox: disable -sandbox if CONFIG_SECCOMP undefined 8 years ago
qemu-tech.texi cli: add --preconfig option 8 years ago
qemu.nsi Use HTTPS for qemu.org and other domains 8 years ago
qemu.sasl Default to GSSAPI (Kerberos) instead of DIGEST-MD5 for SASL 9 years ago
qmp.c cli: add --preconfig option 8 years ago
qtest.c qtest: Don't perform side effects inside assertion 9 years ago
replication.c replication: Introduce new APIs to do replication operation 10 years ago
replication.h block/replication: Remove protocol_name field 8 years ago
rules.mak tests/docker/Makefile.include: handle empty TARGET_LIST 8 years ago
thunk.c thunk: assert nb_fields is valid 9 years ago
tpm.c qapi: Move qapi-schema.json to qapi/, rename generated files 8 years ago
trace-events job: Add lifecycle QMP commands 8 years ago
version.rc Use HTTPS for qemu.org and other domains 8 years ago
vl.c vl.c: Don't zero-initialize statics for serial_hds 8 years ago

README

         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, one common 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/

A 'git-publish' utility was created to make above process less
cumbersome, and is highly recommended for making regular contributions,
or even just for sending consecutive patch series revisions. It also
requires a working 'git send-email' setup, and by default doesn't
automate everything, so you may want to go through the above steps
manually for once.

For installation instructions, please go to

https://github.com/stefanha/git-publish

The workflow with 'git-publish' is:

$ git checkout master -b my-feature
$ # work on new commits, add your 'Signed-off-by' lines to each
$ git publish

Your patch series will be sent and tagged as my-feature-v1 if you need to refer
back to it in the future.

Sending v2:

$ git checkout my-feature # same topic branch
$ # making changes to the commits (using 'git rebase', for example)
$ git publish

Your patch series will be sent with 'v2' tag in the subject and the git tip
will be tagged as my-feature-v2.

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