暂无描述

Michael Tokarev 346af69593 Update version for 8.0.2 release 2 年之前
.github 5cf434b5af github: fix config mistake preventing repo lockdown commenting 3 年之前
.gitlab 954a6c4f78 .gitlab/issue_templates: Move suggestions into comments 2 年之前
.gitlab-ci.d fc9988916a gitlab: fix typo 2 年之前
accel 4b59b5bd14 accel/tcg: Fix atomic_mmu_lookup for reads 2 年之前
audio e74fec9aa4 audio/dbus: there are no sender for p2p mode 2 年之前
authz 6f1e91f716 error: Drop superfluous #include "qapi/qmp/qerror.h" 2 年之前
backends 25657fc6c1 win32: replace closesocket() with close() wrapper 2 年之前
block bea933e430 block/export: Fix null pointer dereference in error path 2 年之前
bsd-user 95059f9c31 include/exec: Change reserved_va semantics to last byte 2 年之前
chardev 48805df9c2 replace TABs with spaces 2 年之前
common-user ffe98631b3 common-user/host/ppc: Implement safe-syscall.inc.S 2 年之前
configs e995d5cce4 target/arm: Implement gdbstub pauth extension 2 年之前
contrib 6205a70b92 contrib/gitdm: add group map for AMD 2 年之前
crypto 25657fc6c1 win32: replace closesocket() with close() wrapper 2 年之前
disas 0d581506de Fix incorrect register name in disassembler for fmv,fabs,fneg instructions 2 年之前
docs eb82a80f51 docs/about/emulation: fix typo 2 年之前
dtc @ b6910bec11 962fde57b7 dtc: Update to version 1.6.1 3 年之前
dump cc37d98bfb *: Add missing includes of qemu/error-report.h 2 年之前
ebpf 197a137290 ebpf: fix compatibility with libbpf 1.0+ 2 年之前
fpu 4dc5df865c softfloat: Fix the incorrect computation in float32_exp2 2 年之前
fsdev bfe7bf8590 Don't include headers already included by qemu/osdep.h 2 年之前
gdb-xml e995d5cce4 target/arm: Implement gdbstub pauth extension 2 年之前
gdbstub 0beaebc041 gdbstub: don't report auxv feature unless on Linux 2 年之前
hw ff692a15bb virtio: qmp: fix memory leak 2 年之前
include 5c4f2f1b60 net/net_rx_pkt: Use iovec for net_rx_pkt_set_protocols() 2 年之前
io a7002f15c8 nbd/server: Fix drained_poll to wake coroutine in right AioContext 2 年之前
libdecnumber b2a3cbb80c libdecnumber/dpd/decimal64: Fix compiler warning from Clang 15 2 年之前
linux-headers 93d7620c25 linux-headers: Update to v6.2-rc8 2 年之前
linux-user 45a67df841 linux-user: fix getgroups/setgroups allocations 2 年之前
meson @ 3a9b285a55 8a29c20597 meson: require 0.61.3 2 年之前
migration c0ad2a9191 migration: Attempt disk reactivation in more failure scenarios 2 年之前
monitor 4bf21c7f74 monitor: restrict command getfd to POSIX hosts 2 年之前
nbd a7002f15c8 nbd/server: Fix drained_poll to wake coroutine in right AioContext 2 年之前
net 5c4f2f1b60 net/net_rx_pkt: Use iovec for net_rx_pkt_set_protocols() 2 年之前
pc-bios aa9e7fa468 Merge tag 'edk2-stable202302-20230320-pull-request' of https://gitlab.com/kraxel/qemu into staging 2 年之前
plugins 507271d468 include/qemu/plugin: Inline qemu_plugin_disable_mem_helpers 2 年之前
po 6d17020a80 po: add ukrainian translation 3 年之前
python 6832189fd7 python: drop pipenv 2 年之前
qapi ac19b51678 Add qemu qcode support for keys F13 to F24 2 年之前
qga a219645ce3 Merge tag 'qga-pull-2023-03-22' of github.com:kostyanf14/qemu into staging 2 年之前
qobject d709bbf3b1 include/qapi: add g_autoptr support for qobject types 3 年之前
qom 919a0423d8 qom/object_interfaces: Fix QAPI headers included 2 年之前
replay 0ec8384f83 replay: Simplify setting replay blockers 2 年之前
roms 22e11539e1 edk2: replace build scripts 2 年之前
scripts 84d839e499 block: compile out assert_bdrv_graph_readable() by default 2 年之前
scsi 84615a19dd io: Add support for MSG_PEEK for socket channel 2 年之前
semihosting 0820a075af gdbstub: Adjust gdb_do_syscall to only use uint32_t and uint64_t 2 年之前
softmmu b1ab8f9cc5 Revert "memory: Optimize replay of guest mapping" 2 年之前
stats f2b901098e cryptodev: Support query-stats QMP command 2 年之前
storage-daemon 9d2b5f2ce4 monitor: Loosen coupling between misc.c and monitor.c slightly 2 年之前
stubs ad66b5cbbb stubs: split semihosting_get_target from system only stubs 2 年之前
subprojects 9c1916057a libvhost-user: check for NULL when allocating a virtqueue element 2 年之前
target 0de5117819 target/i386: fix avx2 instructions vzeroall and vpermdq 2 年之前
tcg 36cd9bc8e2 tcg/i386: Set P_REXW in tcg_out_addi_ptr 2 年之前
tests e49884a909 hw/scsi/lsi53c895a: Fix reentrancy issues in the LSI controller (CVE-2023-0330) 2 年之前
tools 197a137290 ebpf: fix compatibility with libbpf 1.0+ 2 年之前
trace 5ac034b1c2 trace: Do not try to include QMP commands in user emulation binaries 2 年之前
ui 80a2c1b5fe ui: Fix pixel colour channel order for PNG screenshots 2 年之前
util 668aeea0ec util/vfio-helpers: Use g_file_read_link() 2 年之前
.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 bc4ca8efba gitattributes: Cover Objective-C source files 3 年之前
.gitignore 8ad708a9d8 .gitignore: add multiple items to .gitignore 2 年之前
.gitlab-ci.yml 9ada9fd259 docs: Document GitLab custom CI/CD variables 4 年之前
.gitmodules b482fb43de hw/misc/sga: Remove the deprecated "sga" device 2 年之前
.gitpublish 08bb160e02 Add a git-publish configuration file 7 年之前
.mailmap 1d7e672700 MAINTAINERS: update my email address for the clock framework 2 年之前
.patchew.yml 66cf70149a scripts/checkpatch: roll diff tweaking into checkpatch itself 4 年之前
.readthedocs.yml 36d9c2883e readthedocs: build with Python 3.6 4 年之前
.travis.yml 5b5b0c73c8 travis.yml: Remove the generic addons section 2 年之前
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 f4063f9c31 meson: Introduce target-specific Kconfig 4 年之前
Kconfig.host 55116968de vfio-user: build library 3 年之前
LICENSE cb974c95df tcg/LICENSE: Remove out of date claim about TCG subdirectory licensing 5 年之前
MAINTAINERS 8a712df4d4 Merge tag 'pull-for-8.0-040423-2' of https://gitlab.com/stsquad/qemu into staging 2 年之前
Makefile d31d240479 Makefile: qemu-bundle is a directory 2 年之前
README.rst 9567fc1665 README.rst: fix link formatting 3 年之前
VERSION f7f686b61c Update version for 8.0.2 release 2 年之前
block.c e0deae4f49 block: bdrv/blk_co_unref() for calls in coroutine context 2 年之前
blockdev-nbd.c 54fde4ff06 qapi block: Elide redundant has_FOO in generated C 2 年之前
blockdev.c 3b02d0db4a block: Don't call no_coroutine_fns in qmp_block_resize() 2 年之前
blockjob.c e2c1c34f13 include/block: Untangle inclusion loops 2 年之前
configure 84d839e499 block: compile out assert_bdrv_graph_readable() by default 2 年之前
cpu.c 720ace24ae *: Add missing includes of qemu/plugin.h 2 年之前
cpus-common.c 8a8dc26790 cpu: Move breakpoint helpers to common code 2 年之前
disas.c 2e0d91513d target/loongarch: Enable the disassembler for host tcg 2 年之前
event-loop-base.c 71ad4713cc util/event-loop-base: Introduce options to set the thread pool size 3 年之前
gitdm.config 6205a70b92 contrib/gitdm: add group map for AMD 2 年之前
hmp-commands-info.hx ef52091aeb hmp: add cryptodev info command 2 年之前
hmp-commands.hx 4bf21c7f74 monitor: restrict command getfd to POSIX hosts 2 年之前
iothread.c dc892d1e4c iothread: Remove unused IOThreadClass / IOTHREAD_CLASS 2 年之前
job-qmp.c 107111bf6f qapi job: Elide redundant has_FOO in generated C 2 年之前
job.c 142e690712 block: remove bdrv_try_set_aio_context and replace it with bdrv_try_change_aio_context 2 年之前
memory_ldst.c.inc f933b02b59 exec/memory_ldst: Use correct type sizes 4 年之前
meson.build 84d839e499 block: compile out assert_bdrv_graph_readable() by default 2 年之前
meson_options.txt 84d839e499 block: compile out assert_bdrv_graph_readable() by default 2 年之前
module-common.c d38ea87ac5 all: Clean up includes 9 年之前
os-posix.c 8ad637881f util/async-teardown: wire up query-command-line-options 2 年之前
os-win32.c 0f9668e0c1 Remove qemu-common.h include from most units 3 年之前
page-vary-common.c 0f9668e0c1 Remove qemu-common.h include from most units 3 年之前
page-vary.c ec5f7ca857 include: move target page bits declaration to page-vary.h 3 年之前
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 111fbd74f6 qemu-img: Unify [-b [-F]] documentation 3 年之前
qemu-img.c 742bf09b20 block: Mark bdrv_co_copy_range() GRAPH_RDLOCK 2 年之前
qemu-io-cmds.c 00e2a04c27 qemu-io: add -r option to register I/O buffer 2 年之前
qemu-io.c 06680b15b4 include: move qemu_*_exec_dir() to cutils 3 年之前
qemu-keymap.c 5c70adbfbb qemu-keymap: Silence memory leak warning from Clang's sanitizer 2 年之前
qemu-nbd.c 54fde4ff06 qapi block: Elide redundant has_FOO in generated C 2 年之前
qemu-options.hx 8ad637881f util/async-teardown: wire up query-command-line-options 2 年之前
qemu.nsi c08796378d nsis installer: Fix mouse-over descriptions for emulators 3 年之前
qemu.sasl 213de8a2fb sasl: remove comment about obsolete kerberos versions 4 年之前
replication.c b02629550d replication: move include out of root directory 4 年之前
trace-events 518077638f accel/tcg: Remove trace events from trace-root.h 2 年之前
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:

* ``_