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.
 
 
 
 
 
 
Daniel P. Berrangé 950c4e6c94 opts: don't silently truncate long option values 8 years ago
accel accel: use g_strsplit for parsing accelerator names 8 years ago
audio audio/sdl: build as module 8 years ago
backends memdev: remove "id" property 8 years ago
block nbd patches for 2018-05-04 8 years ago
bsd-user Use cpu_create(type) instead of cpu_init(cpu_model) 8 years ago
capstone@22ead3e0bf disas: Add capstone as submodule 9 years ago
chardev Revert "mux: fix ctrl-a b again" 8 years ago
contrib contrib/libvhost-user: add the protocol feature used for SET/GET message 8 years ago
crypto Include less of the generated modular QAPI headers 8 years ago
default-configs hw/arm/smmu-common: smmu base device and datatypes 8 years ago
disas RISC-V: Fix missing break statement in disassembler 8 years ago
docs qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 8 years ago
dtc@e54388015a Update dtc to fix compilation problem on Mac OS 10.6 8 years ago
fpu fpu: Bound increment for scalbn 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 opts: don't silently truncate long option values 8 years ago
include opts: don't silently truncate long option values 8 years ago
io error: Remove NULL checks on error_propagate() calls 8 years ago
libdecnumber build: remove CONFIG_LIBDECNUMBER 9 years ago
linux-headers include: add psp-sev.h header file 8 years ago
linux-user linux-user: remove useless padding in flock64 structure 8 years ago
migration nbd patches for 2018-05-04 8 years ago
nbd nbd/client: Fix error messages during NBD_INFO_BLOCK_SIZE 8 years ago
net net/vde: print error on vde_open() failure 8 years ago
pc-bios pc-bios/s390: Update firmware images 8 years ago
po po: add missing translations in de, fr, it, zh 9 years ago
qapi qapi: deprecate CpuInfoFast.arch 8 years ago
qga qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 8 years ago
qobject qobject: Modify qobject_ref() to return obj 8 years ago
qom memdev: remove "id" property 8 years ago
replay replay: save vmstate of the asynchronous events 8 years ago
roms roms/u-boot-sam460ex: Change to qemu git mirror and update 8 years ago
scripts update-linux-headers: drop hyperv.h 8 years ago
scsi qemu-pr-helper: Write pidfile more often 8 years ago
slirp slirp: add in6_dhcp_multicast() 8 years ago
stubs pc-dimm: factor out MemoryDevice interface 8 years ago
target RISC-V: QEMU 2.13 Privileged ISA emulation updates 8 years ago
tcg tcg: workaround branch instruction overflow in tcg_out_qemu_ld/st 8 years ago
tests opts: don't silently truncate long parameter keys 8 years ago
trace Include less of the generated modular QAPI headers 8 years ago
ui console: introduce dpy_gfx_update_full 8 years ago
util opts: don't silently truncate long option values 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 qapi: Don't create useless directory qapi-generated 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.yml: disable powerpc-cross image 8 years ago
.travis.yml .travis.yml: add --disable-user with the rest of the disables 8 years ago
CODING_STYLE coding_style: add point about 0x in trace-events 9 years ago
COPYING COPYING: update from FSF 18 years ago
COPYING.LIB Update FSF address in GPL/LGPL boilerplate 18 years ago
COPYING.PYTHON scripts: add argparse module for Python 2.6 compatibility 9 years ago
Changelog Use HTTPS for qemu.org and other domains 8 years ago
HACKING HACKING: document #include order 9 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 MAINTAINERS: update Marcel Apfelbaum email 8 years ago
Makefile Makefile: install gtk message catalogs if CONFIG_GTK=y too, not only =m 8 years ago
Makefile.objs build: enable audio modules 8 years ago
Makefile.target make: switch from -I to -iquote 8 years ago
README README: Fix typo 'git-publish' 8 years ago
VERSION Open 2.13 development tree 8 years ago
arch_init.c qapi: change the type of TargetInfo.arch from string to enum SysEmuTarget 8 years ago
balloon.c qapi: Empty out qapi-schema.json 8 years ago
block.c qobject: Modify qobject_ref() to return obj 8 years ago
blockdev-nbd.c Include less of the generated modular QAPI headers 8 years ago
blockdev.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 8 years ago
blockjob.c blockjob: use qapi enum helpers 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: recognize more rpmbuild macros 8 years ago
cpus-common.c *_run_on_cpu: introduce run_on_cpu_data type 10 years ago
cpus.c cpus: tcg: fix never exiting loop on unplug 8 years ago
device-hotplug.c Move include qemu/option.h from qemu-common.h to actual users 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 exec: reintroduce MemoryRegion caching 8 years ago
gdbstub.c gdbstub: fix off-by-one in gdb_handle_packet() 8 years ago
hmp-commands-info.hx sev/i386: hmp: add 'info sev' command 8 years ago
hmp-commands.hx block/mirror: change the semantic of 'force' of block-job-cancel 8 years ago
hmp.c migration: add postcopy total blocktime into query-migrate 8 years ago
hmp.h sev/i386: hmp: add 'info sev' command 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
memory.c exec: reintroduce MemoryRegion caching 8 years ago
memory_ldst.inc.c exec: move memory access declarations to a common header, inline *_phys functions 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 qobject: Modify qobject_ref() to return obj 8 years ago
numa.c memdev: remove "id" property 8 years ago
os-posix.c os-posix: cleanup: Replace perror with error_report 8 years ago
os-win32.c shutdown: Add source information to SHUTDOWN and RESET 9 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 qapi: deprecate CpuInfoFast.arch 8 years ago
qemu-ga.texi qemu-ga: Remove stray 'q' in documentation 10 years ago
qemu-img-cmds.hx qemu-img: add --shrink flag for resize 9 years ago
qemu-img.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 8 years ago
qemu-img.texi qemu-img: Document --force-share / -U 8 years ago
qemu-io-cmds.c Move include qemu/option.h from qemu-common.h to actual users 8 years ago
qemu-io.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 8 years ago
qemu-keymap.c Drop superfluous includes of qapi-types.h and test-qapi-types.h 8 years ago
qemu-nbd.c Polish the version strings containing the package version 8 years ago
qemu-nbd.texi nbd: Add qemu-nbd -D for human-readable description 10 years ago
qemu-option-trace.texi docs: update manpage for stderr->log rename 9 years ago
qemu-options-wrapper.h qemu-options: Remove stray colons from output of --help 8 years ago
qemu-options.h Clean up ill-advised or unusual header guards 10 years ago
qemu-options.hx vnc: fix use-after-free. 8 years ago
qemu-seccomp.c seccomp: add resourcecontrol argument to command line 9 years ago
qemu-tech.texi qemu-doc: merge qemu-tech and qemu-doc 10 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 pc-dimm: factor out MemoryDevice interface 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 make: switch from -I to -iquote 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 virtio,vhost,pci,pc: features, cleanups 8 years ago
version.rc Use HTTPS for qemu.org and other domains 8 years ago
vl.c vl: allow 'maxmem' without 'slot' 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