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.
 
 
 
 
 
 
Dr. David Alan Gilbert e7b94a84b6 vhost: Allow adjoining regions 8 years ago
accel tcg: Really fix cpu_io_recompile 8 years ago
audio audio/sdl: build as module 8 years ago
backends qapi: Move qapi-schema.json to qapi/, rename generated files 8 years ago
block block/rbd: remove processed options from qdict 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 chardev/char-fe: Allow NULL chardev in qemu_chr_fe_init() 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 target/xtensa linux-user support. 8 years ago
disas RISC-V: Fix incorrect disassembly for addiw 8 years ago
docs vhost-user: back SET/GET_CONFIG requests with a protocol feature 8 years ago
dtc@e54388015a Update dtc to fix compilation problem on Mac OS 10.6 8 years ago
fpu softfloat: fix crash on int conversion of SNaN 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 vhost: Allow adjoining regions 8 years ago
include gdbstub: send a termination packet instead of crashing gdb 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 -----BEGIN PGP SIGNATURE----- 8 years ago
migration migration: Don't activate block devices if using -S 8 years ago
nbd nbd: trace meta context negotiation 8 years ago
net net/vde: print error on vde_open() failure 8 years ago
pc-bios pc-bios/s390-ccw: update image 8 years ago
po po: add missing translations in de, fr, it, zh 9 years ago
qapi vdi: Change 'static' create option to 'preallocation' in QMP 8 years ago
qga qapi: Replace qobject_to_X(o) by qobject_to(X, o) 8 years ago
qobject qobject: introduce qobject_get_try_str() 8 years ago
qom Machine and x86 queue, 2018-03-19 8 years ago
replay replay: save vmstate of the asynchronous events 8 years ago
roms update seabios to 1.11.1 8 years ago
scripts qapi: restrict allow-oob value to be "true" 8 years ago
scsi qemu-pr-helper: Actually allow users to specify pidfile 8 years ago
slirp slirp: add in6_dhcp_multicast() 8 years ago
stubs virtio,vhost,pci,pc: features, cleanups 8 years ago
target sev/i386: fix memory leak in sev_guest_init() 8 years ago
tcg tcg: Mark muluh_i64 and mulsh_i64 as 64-bit ops 8 years ago
tests A fix for preallocated truncation, a new iotest, and a fix to make the iotests work more comfortably on ppc64 8 years ago
trace Include less of the generated modular QAPI headers 8 years ago
ui * Record-replay lockstep execution, log dumper and fixes (Alex, Pavel) 8 years ago
util coroutine: avoid co_queue_wakeup recursion 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 gitmodules: Use the QEMU mirror of qemu-palcode 8 years ago
.gitpublish Add a git-publish configuration file 8 years ago
.mailmap mailmap: set preferred spelling for Daniel Berrangé 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 17 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: add include/block/aio-wait.h 8 years ago
Makefile virtio,vhost,pci,pc: features, cleanups 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 Update version for v2.12.0-rc2 release 8 years ago
arch_init.c RISC-V Build Infrastructure 8 years ago
balloon.c qapi: Empty out qapi-schema.json 8 years ago
block.c block: Deprecate "backing": "" 8 years ago
blockdev-nbd.c Include less of the generated modular QAPI headers 8 years ago
blockdev.c qapi: add block latency histogram interface 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 tcg: fix 16-byte vector operations detection 8 years ago
cpus-common.c *_run_on_cpu: introduce run_on_cpu_data type 10 years ago
cpus.c replay: push replay_mutex_lock up the call tree 8 years ago
device-hotplug.c Move include qemu/option.h from qemu-common.h to actual users 8 years ago
device_tree.c Move include qemu/option.h from qemu-common.h to actual users 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.c: allow fd_write_vmcore to return errno on failure 8 years ago
exec.c exec: fix memory leak in find_max_supported_pagesize() 8 years ago
gdbstub.c gdbstub: send a termination packet instead of crashing gdb 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 hmp.c: Revert hmp_info_cpus output format change 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: fix breakage on windows 8 years ago
memory.c memory: inline some performance-sensitive accessors 8 years ago
memory_ldst.inc.c exec: introduce memory_ldst.inc.c 9 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 monitor: new parameter "x-oob" 8 years ago
numa.c qmp: distinguish PC-DIMM and NVDIMM in MemoryDeviceInfoList 8 years ago
os-posix.c os-posix: Drop misleading comment 9 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 block: Deprecate "backing": "" 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 Polish the version strings containing the package version 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 Polish the version strings containing the package version 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 qemu-doc: Rework the network options chapter to make "-net" less prominent 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 virtio,vhost,pci,pc: features, cleanups 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 gdbstub: send a termination packet instead of crashing gdb 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