暫無描述

Paolo Bonzini 29b9a66f91 docs: rust: update description of crates 6 月之前
.github 5cf434b5af github: fix config mistake preventing repo lockdown commenting 3 年之前
.gitlab 954a6c4f78 .gitlab/issue_templates: Move suggestions into comments 2 年之前
.gitlab-ci.d 16534af51b rust: fix doctests 6 月之前
accel 40efe733e1 Merge tag 'pull-tcg-20250215-3' of https://gitlab.com/rth7680/qemu into staging 6 月之前
audio 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
authz 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
backends b69801dd6b Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging 6 月之前
block ff12e6a5ff nbd/server: Allow users to adjust handshake limit in QMP 6 月之前
bsd-user d156d5d1df gdbstub: Allow late attachment 6 月之前
chardev 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
common-user ffe98631b3 common-user/host/ppc: Implement safe-syscall.inc.S 2 年之前
configs ae0c4d1a12 hw/arm: Add NPCM8XX SoC 6 月之前
contrib c0fb8e88cb plugins: fix -Werror=maybe-uninitialized false-positive 6 月之前
crypto 0b8a70d70f crypto: Remove qcrypto_tls_session_get_handshake_status 6 月之前
disas bf60e2a72a disas/hppa: implement mfdiag/mtdiag disassembly 6 月之前
docs 29b9a66f91 docs: rust: update description of crates 5 月之前
dump 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
ebpf f5cae19d10 ebpf: improve trace event coverage to all key operations 9 月之前
fpu 28f13bccbe fpu: allow flushing of output denormals to be after rounding 6 月之前
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 d156d5d1df gdbstub: Allow late attachment 6 月之前
host 2c4815590f util/cpuinfo-riscv: Detect Zbs 7 月之前
hw 1433e38cc8 hpet: do not overwrite properties on post_load 5 月之前
include b69801dd6b Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging 6 月之前
io 322d873b63 io: Add a read flag for relaxed EOF 6 月之前
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 513823e752 linux-user: Move TARGET_SA_RESTORER out of generic/signal.h 6 月之前
migration 7389992c84 Merge tag 'mem-next-pull-request' of https://gitlab.com/peterx/qemu into staging 6 月之前
monitor 425ce9b37b hmp: use cpu_get_phys_page_debug() in hmp_gva2gpa() 6 月之前
nbd 2e73a17c68 nbd/server: Support inactive nodes 6 月之前
net b69801dd6b Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging 6 月之前
pc-bios 269b7effd9 pc-bios: Add NPCM8XX vBootrom 6 月之前
plugins 09ac62682b plugins: Fix qemu_plugin_read_memory_vaddr parameters 6 月之前
po 3ef11c991e po: update Italian translation 1 年之前
python 05fd7214d8 python: silence pylint raising-non-exception error 8 月之前
qapi b69801dd6b Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging 6 月之前
qga 153b0989d8 qapi: Move and rename qapi/qmp/dispatch.h to qapi/qmp-registry.h 6 月之前
qobject 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
qom 36324c6774 qom: Use command line syntax for default values in help 5 月之前
replay 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
roms 269b7effd9 pc-bios: Add NPCM8XX vBootrom 6 月之前
rust c48700e86d rust: prefer importing std::ptr over core::ptr 5 月之前
scripts 4cfe9edb1b rust: subprojects: add libc crate 5 月之前
scsi 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
semihosting bb0c5be8e9 semihosting/meson: Build config.o and console.o once 7 月之前
stats 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
storage-daemon 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
stubs ffaf7f0376 Merge tag 'pull-10.0-testing-and-gdstub-updates-100225-1' of https://gitlab.com/stsquad/qemu into staging 6 月之前
subprojects 4cfe9edb1b rust: subprojects: add libc crate 5 月之前
system 7389992c84 Merge tag 'mem-next-pull-request' of https://gitlab.com/peterx/qemu into staging 6 月之前
target b2ba5ff272 target/arm: Use uint32_t in t32_expandimm_imm() 6 月之前
tcg e726f65867 tcg: Remove TCG_TARGET_HAS_{br,set}cond2 from riscv and loongarch64 6 月之前
tests b69801dd6b Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging 6 月之前
tools 2a99c2ba82 qemu-vmsr-helper: implement --verbose/-v 1 年之前
trace 9038ac0c5c overall: Remove unnecessary g_strdup_printf() calls 6 月之前
ui 495de0fd82 Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging 6 月之前
util b69801dd6b Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging 6 月之前
.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 c08f9d8dec editorconfig: update for perl scripts 7 月之前
.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 b69801dd6b Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging 6 月之前
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 f2ec48fefd Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging 6 月之前
blockdev-nbd.c ff12e6a5ff nbd/server: Allow users to adjust handshake limit in QMP 6 月之前
blockdev.c f2ec48fefd Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging 6 月之前
blockjob.c fc4e394b28 block: remove unused BLOCK_OP_TYPE_DATAPLANE 6 月之前
configure db7a06ade1 configure: reenable plugins by default for 32-bit hosts 7 月之前
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 7389992c84 Merge tag 'mem-next-pull-request' of https://gitlab.com/peterx/qemu into staging 6 月之前
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 e76fadf93e os: add an ability to lock memory on_fault 6 月之前
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 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
qemu-io-cmds.c 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
qemu-io.c 407bc4bf90 qapi: Move include/qapi/qmp/ to include/qobject/ 6 月之前
qemu-keymap.c fa9ddb1caf qemu-keymap: Release local allocation references 10 月之前
qemu-nbd.c 617017f8dc qemu-nbd: Allow users to adjust handshake limit 6 月之前
qemu-options.hx 13057e064a overcommit: introduce mem-lock=on-fault 6 月之前
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:

* ``_