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 cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Stefan Hajnoczi bc98ffdc75 maintainer updates for May (testing, plugins)
- expose ~/.cache/qemu to container builds
   - disable debug info in CI
   - allow boot.S to handle target el mode selection
   - new arguments for ips plugin
   - cleanup assets in size_memop
   - fix include guard in gdbstub
   - introduce qGDBServerVersion gdbstub query
   - update gdb aarch64-core.xml to support bitfields
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmhEXc4ACgkQ+9DbCVqe
 KkT3vwf9GtMoVDBWqWHwdV6H3rblP0k3mkApY4pTkFFSL93qApDK1gAKoklymPHJ
 6agAWn/MmpqguB7yn7TnBEiJyW9CEq0DeWTz9ivPPh5vfm/2MMaXinVd4yH+GbTL
 uTuJg4EeRcSj8q4N4h+gROSHkH3mVOe+JlyakRKZ/PZChqjY1WRC/Hm2QdHojxlS
 xQBZe4Nip/mafm4yAlnyRVRbaSctmc3/xE/MomkVT+8JMdVt6yWE0HT/nIEFW6/6
 psHoiV4XfROIWj5qMAWHVLekDrsqxJx8uiGv9o3+zKdhDhRZw3Oa5EE5N/oE8KmM
 0s/9usRvtVD0kPh9YTfjEHWHkbPadA==
 =X63M
 -----END PGP SIGNATURE-----

Merge tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu into staging

maintainer updates for May (testing, plugins)

  - expose ~/.cache/qemu to container builds
  - disable debug info in CI
  - allow boot.S to handle target el mode selection
  - new arguments for ips plugin
  - cleanup assets in size_memop
  - fix include guard in gdbstub
  - introduce qGDBServerVersion gdbstub query
  - update gdb aarch64-core.xml to support bitfields

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmhEXc4ACgkQ+9DbCVqe
# KkT3vwf9GtMoVDBWqWHwdV6H3rblP0k3mkApY4pTkFFSL93qApDK1gAKoklymPHJ
# 6agAWn/MmpqguB7yn7TnBEiJyW9CEq0DeWTz9ivPPh5vfm/2MMaXinVd4yH+GbTL
# uTuJg4EeRcSj8q4N4h+gROSHkH3mVOe+JlyakRKZ/PZChqjY1WRC/Hm2QdHojxlS
# xQBZe4Nip/mafm4yAlnyRVRbaSctmc3/xE/MomkVT+8JMdVt6yWE0HT/nIEFW6/6
# psHoiV4XfROIWj5qMAWHVLekDrsqxJx8uiGv9o3+zKdhDhRZw3Oa5EE5N/oE8KmM
# 0s/9usRvtVD0kPh9YTfjEHWHkbPadA==
# =X63M
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 07 Jun 2025 11:42:06 EDT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-10.1-maintainer-may-2025-070625-1' of https://gitlab.com/stsquad/qemu:
  gdbstub: update aarch64-core.xml
  gdbstub: Implement qGDBServerVersion packet
  gdbstub: assert earlier in handle_read_all_regs
  include/gdbstub: fix include guard in commands.h
  include/exec: fix assert in size_memop
  contrib/plugins: allow setting of instructions per quantum
  contrib/plugins: add a scaling factor to the ips arg
  tests/qtest: Avoid unaligned access in IGB test
  tests/tcg: make aarch64 boot.S handle different starting modes
  gitlab: disable debug info on CI builds
  tests/docker: expose $HOME/.cache/qemu as docker volume

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
6 hours ago
.github/workflows
.gitlab/issue_templates
.gitlab-ci.d gitlab: disable debug info on CI builds 11 hours ago
accel i386/kvm: Prefault memory on page state change 2 days ago
audio audio: Reset rate control when adding bytes 2 weeks ago
authz qom: Make InterfaceInfo[] uses const 1 month ago
backends vfio/iommufd: Add properties and handlers to TYPE_HOST_IOMMU_DEVICE_IOMMUFD 3 days ago
block block/io: remove duplicate GLOBAL_STATE_CODE() in bdrv_do_drained_end() 3 days ago
bsd-user bsd-user: add option to enable plugins 1 month ago
chardev qom: Have class_init() take a const data argument 1 month ago
common-user common-user/host/riscv: use tail pseudoinstruction for calling tail 3 weeks ago
configs * target/i386/kvm: Intel TDX support 1 week ago
contrib contrib/plugins: allow setting of instructions per quantum 10 hours ago
crypto crypto: fully drop built-in cipher provider 2 weeks ago
disas include/system: Move exec/memory.h to system/memory.h 2 months ago
docs contrib/plugins: allow setting of instructions per quantum 10 hours ago
dump cleanup: Drop pointless return at end of function 1 month ago
ebpf
fpu
fsdev 9pfs: Introduce futimens file op 1 month ago
gdb-xml gdbstub: update aarch64-core.xml 10 hours ago
gdbstub gdbstub: Implement qGDBServerVersion packet 10 hours ago
host/include
hw * futex: support Windows 1 day ago
include include/gdbstub: fix include guard in commands.h 10 hours ago
io io: Add helper for setting socket send buffer size 1 week ago
libdecnumber
linux-headers linux-headers: update from 6.15 + kvm/next 4 weeks ago
linux-user linux-user: implement pgid field of /proc/self/stat 2 weeks ago
migration migration/postcopy: Replace QemuSemaphore with QemuEvent 2 days ago
monitor monitor: don't wake up qmp_dispatcher_co coroutine upon cleanup 1 month ago
nbd nbd: Set unix socket send buffer on Linux 1 week ago
net vdpa: move iova_tree allocation to net_vhost_vdpa_init 5 days ago
pc-bios pc-bios: Add AST27x0 vBootrom 1 month ago
plugins meson: remove lib{system, user}_ss aliases 2 weeks ago
po
python python: Drop redundant warn_unused_configs = True 2 days ago
qapi qapi: Improve documentation around job state @concluded 5 days ago
qga cleanup: Drop pointless return at end of function 1 month ago
qobject
qom qom: reverse order of instance_post_init calls 3 weeks ago
replay include/exec: Split out icount.h 2 months ago
roms
rust rust: make TryFrom macro more resilient 2 days ago
scripts * futex: support Windows 1 day ago
scsi qom: Make InterfaceInfo[] uses const 1 month ago
semihosting include: Remove 'exec/exec-all.h' 1 month ago
stats
storage-daemon
stubs qapi: make s390x specific CPU commands unconditionally available 1 week ago
subprojects subprojects: add the foreign crate 2 days ago
system vfio: return mr from vfio_get_xlat_addr 3 days ago
target target/i386: Wire up MXCSR.DE and FPUS.DE correctly 2 days ago
tcg * target/i386/kvm: Intel TDX support 1 week ago
tests tests/qtest: Avoid unaligned access in IGB test 10 hours ago
tools cleanup: Re-run return_directly.cocci 1 month ago
trace
ui ui/gtk-egl: Render guest content with padding in fixed-scale mode 2 weeks ago
util qemu-thread: Use futex if available for QemuLockCnt 2 days ago
.b4-config
.dir-locals.el
.editorconfig
.exrc
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitlab-ci.yml
.gitmodules
.gitpublish
.mailmap
.patchew.yml
.readthedocs.yml
.travis.yml
COPYING
COPYING.LIB
Kconfig
Kconfig.host
LICENSE
MAINTAINERS vfio: move vfio-cpr.h 3 days ago
Makefile
README.rst
VERSION
block.c block: move drain outside of quorum_del_child() 3 days ago
blockdev-nbd.c
blockdev.c blockdev: drain while unlocked in external_snapshot_action() 3 days ago
blockjob.c block: move drain outside of bdrv_root_unref_child() 3 days ago
clippy.toml rust: use native Meson support for clippy and rustdoc 4 days ago
configure build, dockerfiles: add support for detecting rustdoc 4 days ago
cpu-common.c
cpu-target.c qemu: Convert target_name() to TargetInfo API 1 month ago
event-loop-base.c qom: Make InterfaceInfo[] uses const 1 month ago
gitdm.config
hmp-commands-info.hx migration/hmp: Add "info migrate -a", reorg the dump 3 weeks ago
hmp-commands.hx
iothread.c qom: Have class_init() take a const data argument 1 month ago
job-qmp.c
job.c
meson.build futex: Support Windows 2 days ago
meson_options.txt meson: drop --enable-avx* options 4 weeks ago
module-common.c
os-posix.c
os-wasm.c include/qemu/osdep.h: Add Emscripten-specific OS dependencies 1 month ago
os-win32.c
page-target.c page-vary: Move and rename qemu_target_page_bits_min 2 months ago
page-vary-common.c
page-vary-target.c page-vary: Restrict scope of TARGET_PAGE_BITS_MIN 2 months ago
pythondeps.toml meson: update to version 1.8.1 4 days ago
qemu-bridge-helper.c
qemu-edid.c
qemu-img-cmds.hx
qemu-img.c block/snapshot: move drain outside of read-locked bdrv_snapshot_delete() 3 days ago
qemu-io-cmds.c
qemu-io.c
qemu-keymap.c cleanup: Drop pointless return at end of function 1 month ago
qemu-nbd.c
qemu-options.hx alsaaudio: Set try-poll to false by default 2 weeks ago
qemu.nsi pc-bios: Move device tree files in their own subdir 1 month ago
qemu.sasl
replication.c
target-info-stub.c qemu: Introduce target_long_bits() 1 month ago
target-info.c qemu: Introduce target_long_bits() 1 month ago
trace-events
version.rc

README.rst

===========
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.


Documentation
=============

Documentation can be found hosted online at
`<https://www.qemu.org/documentation/>`_. The documentation for the
current development version that is available at
`<https://www.qemu.org/docs/master/>`_ is generated from the ``docs/``
folder in the source tree, and is built by `Sphinx
<https://www.sphinx-doc.org/en/master/>`_.


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:


.. code-block:: shell

  mkdir build
  cd build
  ../configure
  make

Additional information can also be found online via the QEMU website:

* `<https://wiki.qemu.org/Hosts/Linux>`_
* `<https://wiki.qemu.org/Hosts/Mac>`_
* `<https://wiki.qemu.org/Hosts/W32>`_


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

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

.. code-block:: shell

   git clone https://gitlab.com/qemu-project/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 `style section
<https://www.qemu.org/docs/master/devel/style.html>`_ of
the Developers Guide.

Additional information on submitting patches can be found online via
the QEMU website:

* `<https://wiki.qemu.org/Contribute/SubmitAPatch>`_
* `<https://wiki.qemu.org/Contribute/TrivialPatches>`_

The QEMU website is also maintained under source control.

.. code-block:: shell

  git clone https://gitlab.com/qemu-project/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:

.. code-block:: shell

  $ 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:

.. code-block:: shell

  $ 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 GitLab issues to track bugs. Bugs
found when running code built from QEMU git or upstream released sources
should be reported via:

* `<https://gitlab.com/qemu-project/qemu/-/issues>`_

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 GitLab.

For additional information on bug reporting consult:

* `<https://wiki.qemu.org/Contribute/ReportABug>`_


ChangeLog
=========

For version history and release notes, please visit
`<https://wiki.qemu.org/ChangeLog/>`_ or look at the git history for
more detailed information.


Contact
=======

The QEMU community can be contacted in a number of ways, with the two
main methods being email and IRC:

* `<mailto: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://wiki.qemu.org/Contribute/StartHere>`_