暂无描述

Akihiko Odaki 4b52d63249 tap: Remove qemu_using_vnet_hdr() 1 年之前
.github 5cf434b5af github: fix config mistake preventing repo lockdown commenting 3 年之前
.gitlab 954a6c4f78 .gitlab/issue_templates: Move suggestions into comments 2 年之前
.gitlab-ci.d b563959b90 gitlab: use 'setarch -R' to workaround tsan bug 1 年之前
accel 408b2b3d9d accel/tcg: Make TCGCPUOps::cpu_exec_halt return bool for whether to halt 1 年之前
audio 2bfd3c4860 meson: remove unnecessary dependency 1 年之前
authz 6f1e91f716 error: Drop superfluous #include "qapi/qmp/qerror.h" 2 年之前
backends 9067d50dff backends/iommufd: Make iommufd_backend_*() return bool 1 年之前
block 0fd05c8d80 qapi: blockdev-backup: add discard-source parameter 1 年之前
bsd-user 8019601324 user: Declare get_task_state() once in 'accel/tcg/vcpu-state.h' 1 年之前
chardev 4a18751cf4 error: Drop superfluous #include "qapi/qmp/qerror.h" 1 年之前
common-user ffe98631b3 common-user/host/ppc: Implement safe-syscall.inc.S 2 年之前
configs 9b089d254a configs: disable emulators that require it if libfdt is not found 1 年之前
contrib 4abc892362 plugins: Copy memory in qemu_plugin_insn_data 1 年之前
crypto e503fc55ac crypto: query gcrypt for cipher availability 1 年之前
disas 4c833c60e0 disas: Use translator_st to get disassembly data 1 年之前
docs a96edb687e target/arm: Implement FEAT WFxT and enable for '-cpu max' 1 年之前
dump 21c06f5780 dump/win_dump: Improve error messages on write error 1 年之前
ebpf bb23c33f93 ebpf: Restrict to system emulation 1 年之前
fpu 6c3014858c target/nios2: Remove the deprecated Nios II target 1 年之前
fsdev d0cda6f461 configure, meson: rename targetos to host_os 1 年之前
gdb-xml 940bb5fa9c gdb-xml: fix duplicate register in arm-neon.xml 1 年之前
gdbstub 59272469bd user: Use get_task_state() helper 1 年之前
host e4751d340a accel/tcg: Rename load-extract/store-insert headers using .h.inc suffix 1 年之前
hw 4b52d63249 tap: Remove qemu_using_vnet_hdr() 1 年之前
include 4b52d63249 tap: Remove qemu_using_vnet_hdr() 1 年之前
io 4760cedc61 io: Introduce qio_channel_file_new_dupfd 1 年之前
libdecnumber b2a3cbb80c libdecnumber/dpd/decimal64: Fix compiler warning from Clang 15 2 年之前
linux-headers ab0c7fb22b linux-headers: update to current kvm/next 1 年之前
linux-user 701890bdd0 target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor} 1 年之前
migration fdac62dbd3 migration: Rephrase message on failure to save / load Xen device state 1 年之前
monitor 1935b7ead1 kconfig: allow compiling out QEMU device tree code per target 1 年之前
nbd 4fa333e08d nbd/server: Mark negotiation functions as coroutine_fn 1 年之前
net 4b52d63249 tap: Remove qemu_using_vnet_hdr() 1 年之前
pc-bios e3404e01c7 edk2: rebuild binaries with correct version information 1 年之前
plugins 09afe9677e plugins: remove op from qemu_plugin_inline_cb 1 年之前
po 6d17020a80 po: add ukrainian translation 3 年之前
python 33956e4768 python/qemu/machine: add method to retrieve QEMUMachine::binary field 1 年之前
qapi b04091393e qapi: Do not cast function pointers 1 年之前
qga cec07c79a4 qga: Shorten several error messages 1 年之前
qobject d56572584d docs/interop: Convert qmp-spec.txt to rST 2 年之前
qom 6b568e3f1d target/sparc/cpu: Rename the CPU models with a "+" in their names 1 年之前
replay 7653b1eac9 replay: Improve error messages about configuration conflicts 1 年之前
roms 2c4eb439dc edk2/seabios: use common extra version 1 年之前
scripts bde26d90ae scripts/update-linux-headers.sh: Fix the path of setup_data.h 1 年之前
scsi d0cda6f461 configure, meson: rename targetos to host_os 1 年之前
semihosting 83fb360d6a semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header 1 年之前
stats de6cd7599b meson: Replace softmmu_ss -> system_ss 2 年之前
storage-daemon 1220f5813a meson: remove config_targetos 1 年之前
stubs f37c6c2e89 monitor: remove MonitorDef from typedefs.h 1 年之前
subprojects 52767e1063 libvhost-user: Mark mmap'ed region memory as MADV_DONTDUMP 1 年之前
system c59fb13be7 cpus: Improve error messages on memsave, pmemsave write error 1 年之前
target a96edb687e target/arm: Implement FEAT WFxT and enable for '-cpu max' 1 年之前
tcg 61306156d9 tcg: include dependencies in static_library() 1 年之前
tests c19779ce18 tests/avocado: update sbsa-ref firmware 1 年之前
tools 0cc14182ab ebpf: Updated eBPF program and skeleton. 1 年之前
trace 5db052306e tracing: install trace events file only if necessary 1 年之前
ui 2bfd3c4860 meson: remove unnecessary dependency 1 年之前
util da79537e0c util/uri: Remove the old URI parsing code 1 年之前
.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 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 92360d6e62 MAINTAINERS: Update Sriram Yagnaraman mail address 1 年之前
.patchew.yml 66cf70149a scripts/checkpatch: roll diff tweaking into checkpatch itself 4 年之前
.readthedocs.yml b16a45bc5e readthodocs: fully specify a build environment 1 年之前
.travis.yml 4d6ae2df56 .travis.yml: Do some more testing with Clang 1 年之前
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 d641ec30be kconfig: express dependency of individual boards on libfdt 1 年之前
LICENSE cb974c95df tcg/LICENSE: Remove out of date claim about TCG subdirectory licensing 5 年之前
MAINTAINERS a0359b56ec qapi/vfio: Add VFIO migration QAPI event 1 年之前
Makefile f9a7c4478c Makefile: fix use of -j without an argument 1 年之前
README.rst 9567fc1665 README.rst: fix link formatting 3 年之前
VERSION 1a6f53953d Open 9.1 development tree 1 年之前
block.c 46ff64a826 error: Move ERRP_GUARD() to the beginning of the function 1 年之前
blockdev-nbd.c 54fde4ff06 qapi block: Elide redundant has_FOO in generated C 2 年之前
blockdev.c 0fd05c8d80 qapi: blockdev-backup: add discard-source parameter 1 年之前
blockjob.c b49f4755c7 block: remove AioContext locking 1 年之前
configure c2bf2ccb26 configure: move -mcx16 flag out of CPU_CFLAGS 1 年之前
cpu-common.c 195801d700 system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 1 年之前
cpu-target.c 74781c0888 exec/cpu: Extract page-protection definitions to page-protection.h 1 年之前
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 1dfd42c426 hw/rdma: Remove deprecated pvrdma device and rdmacm-mux helper 1 年之前
hmp-commands.hx db8cb7b6e7 hmp/migration: Fix "migrate" command's documentation 1 年之前
iothread.c 694226410b iothread: Simplify expression in qemu_in_iothread() 1 年之前
job-qmp.c 107111bf6f qapi job: Elide redundant has_FOO in generated C 2 年之前
job.c b49f4755c7 block: remove AioContext locking 1 年之前
meson.build 70eb5fde05 migration: remove unnecessary zlib dependency 1 年之前
meson_options.txt eef0bae3a7 migration: Remove block migration 1 年之前
module-common.c d38ea87ac5 all: Clean up includes 9 年之前
os-posix.c 03e471c41d qemu_init: increase NOFILE soft limit on POSIX 1 年之前
os-win32.c 0f9668e0c1 Remove qemu-common.h include from most units 3 年之前
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 9c05071719 pythondeps.toml: warn about updates needed to docs/requirements.txt 1 年之前
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 b49f4755c7 block: remove AioContext locking 1 年之前
qemu-io-cmds.c 3574499a1e block: Mark bdrv_get_specific_info() and callers GRAPH_RDLOCK 1 年之前
qemu-io.c b49f4755c7 block: remove AioContext locking 1 年之前
qemu-keymap.c 2523baf7fb qemu-keymap: Make references to allocations static 1 年之前
qemu-nbd.c d81b797ca2 qemu-nbd: mention --tls-hostname option in qemu-nbd --help 1 年之前
qemu-options.hx 6807487474 hw/i386/pc: Support smp.modules for x86 PC machine 1 年之前
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 78f314cf83 trace-events: remove the remaining vcpu trace events 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:

* ``_