Go to file
Markus Armbruster 14a48c1d0d qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h
Other accelerators have their own headers: sysemu/hax.h, sysemu/hvf.h,
sysemu/kvm.h, sysemu/whpx.h.  Only tcg_enabled() & friends sit in
qemu-common.h.  This necessitates inclusion of qemu-common.h into
headers, which is against the rules spelled out in qemu-common.h's
file comment.

Move tcg_enabled() & friends into their own header sysemu/tcg.h, and
adjust #include directives.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-2-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[Rebased with conflicts resolved automatically, except for
accel/tcg/tcg-all.c]
2019-06-11 20:22:09 +02:00
accel qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
audio
authz authz: Normalize #include "authz/trace.h" to "trace.h" 2019-05-13 08:58:55 +02:00
backends
block block/io: bdrv_pdiscard: support int64_t bytes parameter 2019-06-04 16:55:58 +02:00
bsd-user qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
capstone@22ead3e0bf
chardev
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
fsdev fsdev: Error out when unsupported option is passed 2019-05-17 17:34:48 +02:00
gdb-xml
hw qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
include qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
io
libdecnumber
linux-headers linux headers: update against Linux 5.2-rc1 2019-05-21 16:58:56 +02:00
linux-user qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02: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
po
python/qemu
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
qom qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02: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
stubs semihosting: enable chardev backed output for console 2019-05-28 10:28:50 +01:00
target qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
tcg tcg/arm: Remove mostly unreachable tlb special case 2019-06-10 07:03:42 -07:00
tests tests/tcg: target/mips: Add README for MSA tests 2019-06-07 11:53:07 +02:00
trace
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
.gitlab-ci.yml
.gitmodules
.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
configure configure: remove tpm_passthrough & tpm_emulator 2019-06-03 14:03:02 +02:00
COPYING
COPYING.LIB
cpus-common.c
cpus.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
device_tree.c
device-hotplug.c
disas.c
dma-helpers.c
dump.c
exec.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
gdbstub.c semihosting: move semihosting configuration into its own directory 2019-05-28 10:28:50 +01:00
gitdm.config
HACKING
hmp-commands-info.hx
hmp-commands.hx
hmp.c block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
hmp.h
ioport.c
iothread.c
job-qmp.c
job.c
Kconfig.host
LICENSE
MAINTAINERS qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +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 qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
module-common.c
monitor.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02: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
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
qemu-edid.c
qemu-ga.texi
qemu-img-cmds.hx
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
qemu-keymap.c
qemu-nbd.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02: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
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
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
VERSION
version.rc
vl.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +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