QEMU With E2K User Support
Go to file
Markus Armbruster 15280c360e qdict qlist: Make most helper macros functions
The macro expansions of qdict_put_TYPE() and qlist_append_TYPE() need
qbool.h, qnull.h, qnum.h and qstring.h to compile.  We include qnull.h
and qnum.h in the headers, but not qbool.h and qstring.h.  Works,
because we include those wherever the macros get used.

Open-coding these helpers is of dubious value.  Turn them into
functions and drop the includes from the headers.

This cleanup makes the number of objects depending on qapi/qmp/qnum.h
from 4551 (out of 4743) to 46 in my "build everything" tree.  For
qapi/qmp/qnull.h, the number drops from 4552 to 21.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180201111846.21846-10-armbru@redhat.com>
2018-02-09 13:52:15 +01:00
accel Add the WHPX vcpu API 2018-02-07 14:09:26 +01:00
audio Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
backends Drop superfluous includes of qapi/qmp/qerror.h 2018-02-09 13:51:35 +01:00
block qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
bsd-user
capstone@22ead3e0bf
chardev Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
contrib Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
crypto Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
default-configs i2c: Add a CONFIG_I2C master switch to the configuration files 2018-02-05 18:09:45 +01:00
disas target/xtensa updates: 2018-01-24 16:59:36 +00:00
docs Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
dtc@e54388015a Update dtc to fix compilation problem on Mac OS 10.6 2018-01-10 12:53:00 +11:00
fpu
fsdev Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
gdb-xml
hw qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
include qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
io Clean up includes 2018-02-09 05:05:11 +01:00
libdecnumber
linux-headers linux-headers: update 2018-01-22 11:07:47 +01:00
linux-user Clean up includes 2018-02-09 05:05:11 +01:00
migration qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
nbd Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
net Drop superfluous includes of qapi/qmp/qerror.h 2018-02-09 13:51:35 +01:00
pc-bios roms/seabios-hppa: Update submodule and image 2018-02-04 14:11:18 -08:00
po
qapi qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
qga Include qmp-commands.h exactly where needed 2018-02-09 13:52:10 +01:00
qobject qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
qom qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
replay Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
roms roms/seabios-hppa: Update submodule and image 2018-02-04 14:11:18 -08:00
scripts Eliminate qapi/qmp/types.h 2018-02-09 13:52:15 +01:00
scsi Clean up includes 2018-02-09 05:05:11 +01:00
slirp slirp: add in6_dhcp_multicast() 2018-01-14 18:16:13 +01:00
stubs Include qmp-commands.h exactly where needed 2018-02-09 13:52:10 +01:00
target qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
tcg tcg/ppc: Allow a 32-bit offset to the constant pool 2018-01-16 08:21:56 -08:00
tests qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
trace Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
ui Eliminate qapi/qmp/types.h 2018-02-09 13:52:15 +01:00
util qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
.dir-locals.el
.editorconfig
.exrc
.gdbinit
.gitignore contrib/vhost-user-blk: introduce a vhost-user-blk sample application 2018-01-18 21:52:37 +02:00
.gitmodules pc-bios: Add hppa-firmware.img and git submodule 2018-01-31 05:30:50 -08:00
.mailmap
.shippable.yml
.travis.yml * socket option parsing fix (Daniel) 2018-02-07 20:40:36 +00:00
arch_init.c target/hppa: Skeleton support for hppa-softmmu 2018-01-30 10:08:18 -08:00
balloon.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
block.c Include qmp-commands.h exactly where needed 2018-02-09 13:52:10 +01:00
blockdev-nbd.c Drop superfluous includes of qapi/qmp/qerror.h 2018-02-09 13:51:35 +01:00
blockdev.c qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
blockjob.c Include qmp-commands.h exactly where needed 2018-02-09 13:52:10 +01:00
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure * socket option parsing fix (Daniel) 2018-02-07 20:40:36 +00:00
COPYING
COPYING.LIB
COPYING.PYTHON
cpus-common.c
cpus.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
device_tree.c
device-hotplug.c
disas.c
dma-helpers.c
dump.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
exec.c tcg: Replace fprintf(stderr, "*\n" with error_report() 2018-02-06 18:29:46 +01:00
gdbstub.c
HACKING
hmp-commands-info.hx target/m68k: add HMP command "info tlb" 2018-01-25 16:02:25 +01:00
hmp-commands.hx -----BEGIN PGP SIGNATURE----- 2018-01-29 14:29:17 +00:00
hmp.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
hmp.h Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
ioport.c
iothread.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
LICENSE
MAINTAINERS block: Add VFIO based NVMe driver 2018-02-08 09:22:03 +08:00
Makefile qapi: force a UTF-8 locale for running Python 2018-02-05 19:53:54 -02:00
Makefile.objs hw/hppa: Implement DINO system board 2018-01-31 05:30:50 -08:00
Makefile.target
memory_ldst.inc.c
memory_mapping.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
memory.c * socket option parsing fix (Daniel) 2018-02-07 20:40:36 +00:00
module-common.c
monitor.c qdict qlist: Make most helper macros functions 2018-02-09 13:52:15 +01:00
numa.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
os-posix.c
os-win32.c
qapi-schema.json
qdev-monitor.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-doc.texi docs: Add section for NVMe VFIO driver 2018-02-08 09:22:03 +08:00
qemu-ga.texi
qemu-img-cmds.hx
qemu-img.c Drop superfluous includes of qapi/qmp/qerror.h 2018-02-09 13:51:35 +01:00
qemu-img.texi
qemu-io-cmds.c block: Keep nodes drained between reopen_queue/multiple 2017-12-22 15:05:32 +01:00
qemu-io.c
qemu-keymap.c Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
qemu-nbd.c
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx Add the Windows Hypervisor Platform accelerator. 2018-02-07 14:09:26 +01:00
qemu-seccomp.c
qemu-tech.texi
qemu.nsi
qemu.sasl
qmp.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
qtest.c
README
replication.c
replication.h
rules.mak build-sys: silence make by default or V=0 2018-01-12 13:22:02 +01:00
thunk.c
tpm.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
trace-events find_ram_offset: Add comments and tracing 2018-01-16 14:54:52 +01:00
VERSION
version.rc
vl.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00

         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 git://git.qemu.org/qemu.git

When submitting patches, the preferred 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


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