QEMU With E2K User Support
Go to file
Richard Henderson 1c7ad26000 target/alpha: Use env_cpu, env_archcpu
Cleanup in the boilerplate that each target must define.
Replace alpha_env_get_cpu with env_archcpu.  The combination
CPU(alpha_env_get_cpu) should have used ENV_GET_CPU to begin;
use env_cpu now.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-06-10 07:03:34 -07:00
accel cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
audio audio: fix audio timer rate conversion bug 2019-04-02 07:50:49 +02:00
authz authz: Normalize #include "authz/trace.h" to "trace.h" 2019-05-13 08:58:55 +02:00
backends Add vhost-user-backend 2019-05-10 12:48:35 +02:00
block block/io: bdrv_pdiscard: support int64_t bytes parameter 2019-06-04 16:55:58 +02:00
bsd-user cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
capstone@22ead3e0bf
chardev char-pty: Print "char device redirected" message to stdout 2019-04-18 22:18:59 +02:00
contrib contrib: add vhost-user-gpu 2019-05-29 06:30:45 +02:00
crypto crypto: Change the qcrypto_random_bytes buffer type to void* 2019-05-22 12:38:54 -04:00
default-configs hw/acpi: Consolidate build_mcfg to pci.c 2019-05-29 18:00:57 -04:00
disas Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
docs cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
dtc@88f18909db
fpu hardfloat: fix float32/64 fused multiply-add 2019-03-25 10:35:32 +00:00
fsdev fsdev: Error out when unsupported option is passed 2019-05-17 17:34:48 +02:00
gdb-xml RISC-V: Add 64-bit gdb xml files. 2019-03-19 05:13:24 -07:00
hw cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
include cpu: Introduce env_archcpu 2019-06-10 07:03:34 -07:00
io trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
libdecnumber
linux-headers linux headers: update against Linux 5.2-rc1 2019-05-21 16:58:56 +02:00
linux-user target/alpha: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
migration Trivial fixes 06/06/2019 2019-06-06 14:09:14 +01:00
nbd block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
net do not call vhost_net_cleanup() on running net from char user event 2019-05-20 18:40:02 -04:00
pc-bios pc-bios/s390: Update firmware image with "Skip bootmap signature entries" fix 2019-05-08 11:26:01 +02:00
po
python/qemu scripts/qemu.py: support adding a console with the default serial device 2019-05-02 21:33:26 -03:00
qapi Pull request 2019-05-30 12:10:27 +01:00
qga Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
qobject json: Fix off-by-one assert check in next_state() 2019-03-26 08:10:11 +01:00
qom qom/object: Display more helpful message when an object type is missing 2019-05-24 15:29:02 -03:00
replay
roms roms: List and describe the Makefile 'clean' rule 2019-05-22 15:40:08 +02:00
scripts cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
scsi Normalize header guard symbol definition. 2019-05-13 08:58:55 +02:00
slirp@f0da672620 Update upstream slirp 2019-05-09 09:58:57 +02:00
stubs semihosting: enable chardev backed output for console 2019-05-28 10:28:50 +01:00
target target/alpha: Use env_cpu, env_archcpu 2019-06-10 07:03:34 -07:00
tcg tcg: Create struct CPUTLB 2019-06-10 07:03:34 -07:00
tests tests/tcg: target/mips: Add README for MSA tests 2019-06-07 11:53:07 +02:00
trace trace: Simplify how st_print_trace_file_status() prints 2019-04-18 22:18:59 +02:00
ui egl-helpers: add modifier support to egl_dmabuf_import_texture() 2019-06-07 11:52:35 +02:00
util util: Adjust qemu_guest_getrandom_nofail for Coverity 2019-06-06 11:21:25 +02:00
.cirrus.yml cirrus / travis: Add gnu-sed and bash for macOS and FreeBSD 2019-05-21 10:12:47 +02:00
.dir-locals.el
.editorconfig editorconfig: add settings for .s/.S files 2019-05-28 10:28:51 +01:00
.exrc
.gdbinit
.gitignore Makefile: install the edk2 firmware images and their descriptors 2019-04-17 15:38:35 +02:00
.gitlab-ci.yml gitlab-ci.yml: Test the TCG interpreter in a CI pipeline 2019-05-02 16:56:33 +02:00
.gitmodules gitmodules: use qemu.org git mirrors 2019-05-03 13:56:56 +01:00
.gitpublish
.mailmap
.patchew.yml ci: store Patchew configuration in the tree 2019-06-03 14:03:02 +02:00
.shippable.yml
.travis.yml .travis.yml: enable aarch64-softmmu and alpha-softmmu tcg tests 2019-05-28 10:28:51 +01:00
arch_init.c
balloon.c
block.c block: Remove bdrv_set_aio_context() 2019-06-04 16:55:58 +02:00
blockdev-nbd.c
blockdev.c blockdev: Use bdrv_try_set_aio_context() for monitor commands 2019-06-04 15:22:22 +02:00
blockjob.c block: Adjust AioContexts when attaching nodes 2019-06-04 15:22:22 +02:00
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE CODING_STYLE: indent example code as all others 2019-05-02 18:12:58 +02:00
configure configure: remove tpm_passthrough & tpm_emulator 2019-06-03 14:03:02 +02:00
COPYING
COPYING.LIB
cpus-common.c
cpus.c cpus: Initialize pseudo-random seeds for all guest cpus 2019-05-22 12:38:54 -04:00
device_tree.c device_tree: Fix integer overflowing in load_device_tree() 2019-04-09 16:35:40 -07:00
device-hotplug.c hmp: Fix drive_add ... format=help crash 2019-04-08 17:42:06 +02:00
disas.c disas: Rename include/disas/bfd.h back to include/disas/dis-asm.h 2019-04-18 22:18:59 +02:00
dma-helpers.c
dump.c
exec.c Machine queue, 2019-04-25 2019-04-26 14:30:18 +01:00
gdbstub.c semihosting: move semihosting configuration into its own directory 2019-05-28 10:28:50 +01:00
gitdm.config contrib: gitdm: add a mapping for Janus Technologies 2019-03-12 19:31:29 +00:00
HACKING
hmp-commands-info.hx {hmp, hw/pvrdma}: Expose device internals via monitor interface 2019-03-16 15:52:44 +02:00
hmp-commands.hx hmp: gva2gpa debug command 2019-05-01 10:46:59 +01:00
hmp.c block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
hmp.h {hmp, hw/pvrdma}: Expose device internals via monitor interface 2019-03-16 15:52:44 +02:00
ioport.c
iothread.c
job-qmp.c
job.c blockjob: Fix coroutine thread after AioContext change 2019-05-10 16:45:40 +02:00
Kconfig.host kconfig: add dependencies on CONFIG_MSI_NONBROKEN 2019-03-18 09:39:57 +01:00
LICENSE
MAINTAINERS MAINTAINERS: cover tests/migration/s390x/ 2019-06-07 14:41:58 +02:00
Makefile vga: add vhost-user-gpu. 2019-05-30 13:10:00 +01:00
Makefile.objs vga: add vhost-user-gpu. 2019-05-30 13:10:00 +01:00
Makefile.target Makefile.target: support per-target coverage reports 2019-05-28 10:28:51 +01:00
memory_ldst.inc.c
memory_mapping.c
memory.c memory: Remove memory_region_get_dirty() 2019-06-03 14:03:01 +02:00
module-common.c
monitor.c monitor: Call mon_get_cpu() only once at hmp_gva2gpa() 2019-05-14 19:00:04 +01:00
numa.c numa: improve cpu hotplug error message with a wrong node-id 2019-06-07 15:28:46 -03:00
os-posix.c
os-win32.c
qdev-monitor.c monitor: Simplify how -device/device_add print help 2019-04-18 22:18:59 +02:00
qemu-bridge-helper.c qemu-bridge-helper: Fix misuse of isspace() 2019-05-22 14:57:33 +02:00
qemu-deprecated.texi riscv: spike: Add a generic spike machine 2019-05-24 12:09:24 -07:00
qemu-doc.texi docs: add Security chapter to the documentation 2019-05-10 10:53:52 +01:00
qemu-edid.c
qemu-ga.texi doc: fix the configuration path 2019-05-03 13:03:04 +02:00
qemu-img-cmds.hx qemu-img: fix .hx and .texi disparity 2019-04-12 14:17:10 +01:00
qemu-img.c block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
qemu-img.texi qemu-img.texi: Describe human-readable info output 2019-05-20 17:08:57 +02:00
qemu-io-cmds.c block: Use BDRV_REQUEST_MAX_BYTES instead of BDRV_REQUEST_MAX_SECTORS 2019-05-20 17:08:56 +02:00
qemu-io.c log: Make glib logging go through QEMU 2019-04-17 19:08:27 +02:00
qemu-keymap.c
qemu-nbd.c qemu-nbd: Look up flag names in array 2019-05-07 09:43:42 -05:00
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx docs: smbios: remove family=x from type2 entry description 2019-05-29 18:00:57 -04:00
qemu-seccomp.c seccomp: report more useful errors from seccomp 2019-03-27 13:11:38 +01:00
qemu-tech.texi
qemu.nsi
qemu.sasl
qmp.c qmp: forbid qmp_cont in RUN_STATE_FINISH_MIGRATE 2019-05-20 17:08:56 +02:00
qtest.c qtest: Move accel code to accel/qtest.c 2019-05-02 16:56:33 +02:00
README
replication.c
replication.h
rules.mak contrib: add vhost-user-gpu 2019-05-29 06:30:45 +02:00
thunk.c
tpm.c
trace-events trace-events: Fix attribution of trace points to source 2019-03-22 16:18:07 +00:00
VERSION Open 4.1 development tree 2019-04-24 10:12:22 +01:00
version.rc
vl.c vl: Document why objects are delayed 2019-06-05 16:15:32 +02:00
win_dump.c
win_dump.h

         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.


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:

  mkdir build
  cd build
  ../configure
  make

Additional information can also be found online via the QEMU website:

  https://qemu.org/Hosts/Linux
  https://qemu.org/Hosts/Mac
  https://qemu.org/Hosts/W32


Submitting patches
==================

The QEMU source code is maintained under the GIT version control system.

   git clone https://git.qemu.org/git/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 HACKING and CODING_STYLE files.

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

  https://qemu.org/Contribute/SubmitAPatch
  https://qemu.org/Contribute/TrivialPatches

The QEMU website is also maintained under source control.

  git clone https://git.qemu.org/git/qemu-web.git
  https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/

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

  https://github.com/stefanha/git-publish

The workflow with 'git-publish' is:

  $ 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:

  $ 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 Launchpad as its primary upstream bug tracker. Bugs
found when running code built from QEMU git or upstream released sources
should be reported via:

  https://bugs.launchpad.net/qemu/

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 launchpad.

For additional information on bug reporting consult:

  https://qemu.org/Contribute/ReportABug


Contact
=======

The QEMU community can be contacted in a number of ways, with the two
main methods being email and IRC

 - qemu-devel@nongnu.org
   https://lists.nongnu.org/mailman/listinfo/qemu-devel
 - #qemu on irc.oftc.net

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

  https://qemu.org/Contribute/StartHere

-- End