暫無描述

Philippe Mathieu-Daudé bb0c5be8e9 semihosting/meson: Build config.o and console.o once 7 月之前
.github 5cf434b5af github: fix config mistake preventing repo lockdown commenting 3 年之前
.gitlab 954a6c4f78 .gitlab/issue_templates: Move suggestions into comments 2 年之前
.gitlab-ci.d 453005c01a tests/lcitool: bump to latest version of libvirt-ci 7 月之前
accel 558ee1ede6 qdev: Implement qdev_create_fake_machine() for user emulation 7 月之前
audio 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
authz 6f1e91f716 error: Drop superfluous #include "qapi/qmp/qerror.h" 2 年之前
backends 78b0c15a56 backends/cryptodev-vhost-user: Fix local_error leaks 7 月之前
block d8d17d2bf6 Revert "vvfat: fix ubsan issue in create_long_filename" 7 月之前
bsd-user 1bf0d6e476 user: Move various declarations out of 'exec/exec-all.h' 8 月之前
chardev d3176a9f38 qom: Use object_get_container() 7 月之前
common-user ffe98631b3 common-user/host/ppc: Implement safe-syscall.inc.S 2 年之前
configs 3f2a05b31e target/i386: Reset TSCs of parked vCPUs too on VM reset 8 月之前
contrib 8ee904b3a4 contrib/plugins/bbv.c: Start bb index from 1 7 月之前
crypto 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
disas e75f945123 disas/riscv: enable disassembly for compressed sspush/sspopchk 9 月之前
docs 84c146758d docs: acpi_hest_ghes: fix documentation for CPER size 7 月之前
dump 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
ebpf f5cae19d10 ebpf: improve trace event coverage to all key operations 9 月之前
fpu 82f898f3b6 softfloat: Add float_muladd_suppress_add_product_zero 8 月之前
fsdev b5ab62b3c0 Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging 10 月之前
gdb-xml ac2fb86a0e target/i386/gdbstub: Expose orig_ax 10 月之前
gdbstub 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
host 7cac7aa704 target/i386/hvf: fix handling of XSAVE-related CPUID bits 9 月之前
hw 4d5d933bbc Merge tag 'pull-xenfv-20250116' of git://git.infradead.org/users/dwmw2/qemu into staging 7 月之前
include 5779210656 semihosting/console: Avoid including 'cpu.h' 7 月之前
io ef834aa2b2 qapi/crypto: Rename QCryptoHashAlgorithm to *Algo, and drop prefix 11 月之前
libdecnumber b2a3cbb80c libdecnumber/dpd/decimal64: Fix compiler warning from Clang 15 2 年之前
linux-headers 44fe383c27 linux-headers: Update to Linux 6.13-rc1 8 月之前
linux-user 68df8c8dba accel/tcg: Include missing 'exec/translation-block.h' header 8 月之前
migration a523bc5216 multifd: bugfix for incorrect migration data with qatzip compression 7 月之前
monitor 8597af7615 migration/block: Rewrite disk activation 7 月之前
nbd 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
net 79b6a98587 net/vmnet: Pad short Ethernet frames 7 月之前
pc-bios f09a8d8dc9 pc-bios/meson.build: Silent unuseful DTC warnings 7 月之前
plugins 68df8c8dba accel/tcg: Include missing 'exec/translation-block.h' header 8 月之前
po 3ef11c991e po: update Italian translation 1 年之前
python 05fd7214d8 python: silence pylint raising-non-exception error 8 月之前
qapi 37a14f24b4 qapi/qom: Change Since entry for AcpiGenericPortProperties to 9.2 8 月之前
qga 5288d9d085 qga: implement a 'guest-get-load' command 7 月之前
qobject f52e630825 qobject: remove return after g_assert_not_reached() 11 月之前
qom bc4e7522ad qom: remove unused InterfaceInfo::concrete_class field 7 月之前
replay 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
roms 0f5715e4b5 roms: re-add edk2-basetools target 8 月之前
rust 65cb7129f4 Merge tag 'exec-20241220' of https://github.com/philmd/qemu into staging 8 月之前
scripts 3634039b93 hw/acpi: Add vmclock device 7 月之前
scsi d3176a9f38 qom: Use object_get_container() 7 月之前
semihosting bb0c5be8e9 semihosting/meson: Build config.o and console.o once 7 月之前
stats 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
storage-daemon 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
stubs 65cb7129f4 Merge tag 'exec-20241220' of https://github.com/philmd/qemu into staging 8 月之前
subprojects 700784bfc6 rust: add meson_version to all subprojects 9 月之前
system e7bc0204e5 system/runstate: Fix regression, clarify BQL status of exit notifiers 7 月之前
target 9061ee2a18 Merge tag 'pull-loongarch-20250116' of https://gitlab.com/bibo-mao/qemu into staging 7 月之前
tcg 29f6586f61 tcg/optimize: Move fold_cmp_vec, fold_cmpsel_vec into alphabetic sort 8 月之前
tests 9fb1c9a1bb tests: acpi: update expected blobs 7 月之前
tools 2a99c2ba82 qemu-vmsr-helper: implement --verbose/-v 1 年之前
trace c5275c7342 trace: Don't include trace-root.h in control.c or control-target.c 9 月之前
ui d3176a9f38 qom: Use object_get_container() 7 月之前
util 1a1f4a51f3 util/qemu-timer: fix indentation 8 月之前
.b4-config 838cf72b5d Add a b4 configuration file 7 月之前
.dir-locals.el 91288a58a5 Add .dir-locals.el file to configure emacs coding style 10 年之前
.editorconfig 2c9192c177 .editorconfig: update the automatic mode setting for Emacs 4 年之前
.exrc 692e587fc6 qemu: add .exrc 13 年之前
.gdbinit 3a586d2f0b .gdbinit: load QEMU sub-commands when gdb starts 8 年之前
.git-blame-ignore-revs 452b3eeacc metadata: add .git-blame-ignore-revs 2 年之前
.gitattributes 64644bc4ea rust: patch bilge-impl to allow compilation with 1.63.0 9 月之前
.gitignore ac4ccac740 configure: rename --enable-pypi to --enable-download, control subprojects too 2 年之前
.gitlab-ci.yml 9ada9fd259 docs: Document GitLab custom CI/CD variables 4 年之前
.gitmodules d2dfe0b506 meson: subprojects: replace berkeley-{soft,test}float-3 with wraps 2 年之前
.gitpublish 08bb160e02 Add a git-publish configuration file 7 年之前
.mailmap a6240a2ec9 MAINTAINERS: update email address for Leif Lindholm 8 月之前
.patchew.yml 66cf70149a scripts/checkpatch: roll diff tweaking into checkpatch itself 4 年之前
.readthedocs.yml b16a45bc5e readthodocs: fully specify a build environment 1 年之前
.travis.yml 51cdb6806f Revert "Remove the unused sh4eb target" 9 月之前
COPYING a013cc6593 COPYING: update from FSF 17 年之前
COPYING.LIB f0d44cc446 COPYING.LIB: Synchronize the LGPL 2.1 with the version from gnu.org 6 年之前
Kconfig 764a6ee9fe build-sys: Add rust feature option 10 月之前
Kconfig.host 63d2a5c787 hw/core: Add Enclave Image Format (EIF) related helpers 9 月之前
LICENSE cb974c95df tcg/LICENSE: Remove out of date claim about TCG subdirectory licensing 5 年之前
MAINTAINERS 2c746dfe1c tests/qtest: Add intel-iommu test 7 月之前
Makefile 55c84a72ab contrib/plugins: remove Makefile for contrib/plugins 9 月之前
README.rst e215ba533c README.rst: add the missing punctuations 1 年之前
VERSION 97f2796a37 Open 10.0 development tree 8 月之前
block.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
blockdev-nbd.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
blockdev.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
blockjob.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
configure ebcf886d88 configure: Use -ef to compare paths 9 月之前
cpu-common.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
cpu-target.c 65cb7129f4 Merge tag 'exec-20241220' of https://github.com/philmd/qemu into staging 8 月之前
event-loop-base.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
gitdm.config 6205a70b92 contrib/gitdm: add group map for AMD 2 年之前
hmp-commands-info.hx b35505523a hmp-commands-info.hx: Add missing info command for stats subcommand 1 年之前
hmp-commands.hx db8cb7b6e7 hmp/migration: Fix "migrate" command's documentation 1 年之前
iothread.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
job-qmp.c 107111bf6f qapi job: Elide redundant has_FOO in generated C 2 年之前
job.c b49f4755c7 block: remove AioContext locking 1 年之前
meson.build 5288d9d085 qga: implement a 'guest-get-load' command 7 月之前
meson_options.txt a1dacb6691 Merge tag 'for-upstream-rust' of https://gitlab.com/bonzini/qemu into staging 9 月之前
module-common.c d38ea87ac5 all: Clean up includes 9 年之前
os-posix.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
os-win32.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
page-target.c 75bbe6a4d2 exec: Expose 'target_page.h' API to user emulation 1 年之前
page-vary-common.c 0f9668e0c1 Remove qemu-common.h include from most units 3 年之前
page-vary-target.c 8c7907a180 exec: Rename target specific page-vary.c -> page-vary-target.c 1 年之前
pythondeps.toml 07f0d32641 Require meson version 1.5.0 10 月之前
qemu-bridge-helper.c f761b41a62 qemu-bridge-helper: relocate path to default ACL 4 年之前
qemu-edid.c 82a628f887 qemu-edid: Restrict input parameter -d to avoid division by zero 2 年之前
qemu-img-cmds.hx d95f260aee docs/devel/docs: Document .hx file syntax 1 年之前
qemu-img.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
qemu-io-cmds.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
qemu-io.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
qemu-keymap.c fa9ddb1caf qemu-keymap: Release local allocation references 10 月之前
qemu-nbd.c 32cad1ffb8 include: Rename sysemu/ -> system/ 8 月之前
qemu-options.hx 00cfbdcbe1 Remove the deprecated "-runas" command line option 7 月之前
qemu.nsi dc86dd55d5 license: Simplify GPL-2.0-or-later license descriptions 11 月之前
qemu.sasl 213de8a2fb sasl: remove comment about obsolete kerberos versions 4 年之前
replication.c b02629550d replication: move include out of root directory 4 年之前
trace-events 0139a4f26d system/dma-helpers.c: Move trace events to system/trace-events 9 月之前
version.rc ddfcb8c43c configure: remove CONFIG_FILEVERSION and CONFIG_PRODUCTVERSION 4 年之前

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
``_. The documentation for the
current development version that is available at
``_ is generated from the ``docs/``
folder in the source tree, and is built by `Sphinx
`_.


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:

* ``_
* ``_
* ``_


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
`_ of
the Developers Guide.

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

* ``_
* ``_

The QEMU website is also maintained under source control.

.. code-block:: shell

git clone https://gitlab.com/qemu-project/qemu-web.git

* ``_

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:

* ``_

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:

* ``_

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:

* ``_


ChangeLog
=========

For version history and release notes, please visit
``_ 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:

* ``_
* ``_
* #qemu on irc.oftc.net

Information on additional methods of contacting the community can be
found online via the QEMU website:

* ``_