暂无描述

Thomas Huth f0936cbc1d Remove inclusion of hw/hw.h from files that don't need it 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 23ef50ae2d .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job 1 年之前
accel f64933c8ae hvf: Drop ifdef for macOS versions older than 12.0 1 年之前
audio 0e376d4541 audio: Drop ifdef for macOS versions older than 12.0 1 年之前
authz 6f1e91f716 error: Drop superfluous #include "qapi/qmp/qerror.h" 2 年之前
backends 63c6e83ec2 backends/iommufd: Implement HostIOMMUDeviceClass::get_cap() handler 1 年之前
block e9c9d8dc3b block/file-posix: Drop ifdef for macOS versions older than 12.0 1 年之前
bsd-user cb4c259052 bsd-user: Catch up to run-time reserved_va math 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 50a92d9b46 target/riscv/kvm: define TARGET_KVM_HAVE_GUEST_DEBUG 1 年之前
contrib 72db6d54a4 contrib/plugins: add Instructions Per Second (IPS) example for cost modeling 1 年之前
crypto 3ab0f063e5 crypto/block: drop qcrypto_block_open() n_threads argument 1 年之前
disas b89fb575fd disas/riscv: Use GString in format_inst 1 年之前
docs ce80c4fa6f docs: document special exception for machine type deprecation & removal 1 年之前
dump 21c06f5780 dump/win_dump: Improve error messages on write error 1 年之前
ebpf dcab536111 ebpf: Added traces back. Changed source set for eBPF to 'system'. 1 年之前
fpu 4fd71d19ac target/sparc: Implement FMAf extension 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 5b7d54d4ed gdbstub: move enums into separate header 1 年之前
host 87b8bde55d Revert "host/i386: assume presence of SSE2" 1 年之前
hw f0936cbc1d Remove inclusion of hw/hw.h from files that don't need it 1 年之前
include f0936cbc1d Remove inclusion of hw/hw.h from files that don't need it 1 年之前
io 46cec74c1b io: Stop using qemu_open_old in channel-file 1 年之前
libdecnumber b2a3cbb80c libdecnumber/dpd/decimal64: Fix compiler warning from Clang 15 2 年之前
linux-headers aa274c33c3 update-linux-headers: import linux/kvm_para.h header 1 年之前
linux-user 23e6b6ef15 linux-user: sparc: Remove unused struct 'target_mc_fq' 1 年之前
migration 4146b77ec7 migration/postcopy: Add postcopy-recover-setup phase 1 年之前
monitor 5b7d54d4ed gdbstub: move enums into separate header 1 年之前
nbd 4fa333e08d nbd/server: Mark negotiation functions as coroutine_fn 1 年之前
net 3bf445fbb1 net/vmnet: Drop ifdef for macOS versions older than 12.0 1 年之前
pc-bios e3404e01c7 edk2: rebuild binaries with correct version information 1 年之前
plugins ca7d7f4276 plugins: fix inject_mem_cb rw masking 1 年之前
po 6d17020a80 po: add ukrainian translation 3 年之前
python fc00123f3a python: mkvenv: remove ensure command 1 年之前
qapi 4146b77ec7 migration/postcopy: Add postcopy-recover-setup phase 1 年之前
qga a7a2d636ae qga: Remove deprecated 'blacklist' argument / config key 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 b3f1ce8a47 meson: remove dead optimization option 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 113ac1d212 sysemu: add set_virtual_time to accel ops 1 年之前
subprojects 52767e1063 libvhost-user: Mark mmap'ed region memory as MADV_DONTDUMP 1 年之前
system 0ff3243a46 system/physmem: Fix reference to dump-guest-core 1 年之前
target f64933c8ae hvf: Drop ifdef for macOS versions older than 12.0 1 年之前
tcg fe721c1948 Revert "host/i386: assume presence of POPCNT" 1 年之前
tests 7c66540db4 tests/qtest/fuzz: fix memleak in qos_fuzz.c 1 年之前
tools 6832aa80a1 ebpf: Add a separate target for skeleton 1 年之前
trace 7ffc4894a6 trace: Remove deprecated 'vcpu' field from QMP trace events 1 年之前
ui abd749b517 ui+display: rename is_buffer_shared() -> surface_is_allocated() 1 年之前
util 87b8bde55d Revert "host/i386: assume presence of SSE2" 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 1f94b21801 backends: Introduce HostIOMMUDevice abstract 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 44b424dc4a block: remove separate bdrv_file_open callback 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 b1fbee456c configure: detect --cpu=mipsisa64r6 1 年之前
cpu-common.c 195801d700 system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 1 年之前
cpu-target.c 39e4bc4cdf cpu-target: don't set cpu->thread_id to bogus value 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 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 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 b3f1ce8a47 meson: remove dead optimization option 1 年之前
meson_options.txt b3f1ce8a47 meson: remove dead optimization option 1 年之前
module-common.c d38ea87ac5 all: Clean up includes 9 年之前
os-posix.c de448e0f26 os-posix: Expand setrlimit() syscall compatibility 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 365911b182 qemu-io: add cvtnum() error handling for zone commands 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:

* ``_