Go to file
Michael Clark 42b3a4b7cc
RISC-V: Remove unused class definitions
Removes a whole lot of unnecessary boilerplate code. Machines
don't need to be objects. The expansion of the SOC object model
for the RISC-V machines will happen in the future as SiFive
plans to add their FE310 and FU540 SOCs to QEMU. However, it
seems that this present boilerplate is complete unnecessary.

Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
2018-05-06 10:39:38 +12:00
accel AccelClass: Introduce accel_setup_post 2018-04-26 16:29:50 +01:00
audio
backends Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
block nbd patches for 2018-05-04 2018-05-04 14:42:46 +01:00
bsd-user
capstone@22ead3e0bf
chardev Revert "mux: fix ctrl-a b again" 2018-04-17 21:11:30 +01:00
contrib contrib/libvhost-user: add the protocol feature used for SET/GET message 2018-04-09 17:35:46 +03:00
crypto
default-configs
disas
docs qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
dtc@e54388015a
fpu fpu: Bound increment for scalbn 2018-04-17 14:52:38 +01:00
fsdev
gdb-xml
hw RISC-V: Remove unused class definitions 2018-05-06 10:39:38 +12:00
include RISC-V: Remove unused class definitions 2018-05-06 10:39:38 +12:00
io
libdecnumber
linux-headers
linux-user linux-user: remove useless padding in flock64 structure 2018-05-03 18:40:19 +02:00
migration nbd patches for 2018-05-04 2018-05-04 14:42:46 +01:00
nbd nbd/client: Fix error messages during NBD_INFO_BLOCK_SIZE 2018-05-04 08:23:37 -05:00
net
pc-bios pc-bios/s390: Update firmware images 2018-05-02 15:42:57 +02:00
po
qapi qapi: deprecate CpuInfoFast.arch 2018-05-04 08:27:53 +02:00
qga qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qobject qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
qom qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
replay
roms roms/u-boot-sam460ex: Change to qemu git mirror and update 2018-04-10 10:05:38 +10:00
scripts qapi: add SysEmuTarget to "common.json" 2018-05-04 08:27:53 +02:00
scsi qemu-pr-helper: Write pidfile more often 2018-04-09 16:36:40 +02:00
slirp
stubs
target QAPI patches for 2018-05-04 2018-05-04 13:49:08 +01:00
tcg tcg: workaround branch instruction overflow in tcg_out_qemu_ld/st 2018-05-01 11:56:55 -07:00
tests QAPI patches for 2018-05-04 2018-05-04 13:49:08 +01:00
trace
ui console: introduce dpy_gfx_update_full 2018-04-27 11:36:34 +02:00
util qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
.dir-locals.el
.editorconfig
.exrc
.gdbinit
.gitignore
.gitmodules roms/u-boot-sam460ex: Change to qemu git mirror and update 2018-04-10 10:05:38 +10:00
.gitpublish
.mailmap maint: Add .mailmap entries for patches claiming list authorship 2018-04-09 16:36:40 +02:00
.shippable.yml
.travis.yml
arch_init.c qapi: change the type of TargetInfo.arch from string to enum SysEmuTarget 2018-05-04 08:27:53 +02:00
balloon.c
block.c qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
blockdev-nbd.c
blockdev.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
blockjob.c
bootdevice.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure usb: ccid bugfix, misc small improvements. 2018-04-27 12:27:59 +01:00
COPYING
COPYING.LIB
COPYING.PYTHON
cpus-common.c
cpus.c qapi: discriminate CpuInfoFast on SysEmuTarget, not CpuInfoArch 2018-05-04 08:27:53 +02:00
device_tree.c device_tree: Increase FDT_MAX_SIZE to 1 MiB 2018-04-26 11:04:38 +01:00
device-hotplug.c
disas.c
dma-helpers.c
dump.c dump: Fix build with newer gcc 2018-04-09 16:36:40 +02:00
exec.c Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
gdbstub.c gdbstub: fix off-by-one in gdb_handle_packet() 2018-04-09 14:18:39 +01:00
HACKING
hmp-commands-info.hx
hmp-commands.hx
hmp.c migration: add postcopy total blocktime into query-migrate 2018-04-25 18:02:17 +01:00
hmp.h
ioport.c
iothread.c iothread: workaround glib bug which hangs qmp-test 2018-04-10 07:43:52 -05:00
LICENSE
MAINTAINERS MAINTAINERS: update Marcel Apfelbaum email 2018-05-03 20:52:29 +03:00
Makefile Makefile: install gtk message catalogs if CONFIG_GTK=y too, not only =m 2018-04-16 16:25:24 +01:00
Makefile.objs
Makefile.target
memory_ldst.inc.c
memory_mapping.c
memory.c
module-common.c
monitor.c qobject: Modify qobject_ref() to return obj 2018-05-04 08:27:53 +02:00
numa.c Clear mem_path if we fall back to anonymous RAM allocation 2018-04-27 18:05:23 +10:00
os-posix.c os-posix: cleanup: Replace perror with error_report 2018-04-26 16:29:51 +01:00
os-win32.c
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c
qemu-doc.texi qapi: deprecate CpuInfoFast.arch 2018-05-04 08:27:53 +02:00
qemu-ga.texi
qemu-img-cmds.hx
qemu-img.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qemu-img.texi
qemu-io-cmds.c
qemu-io.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qemu-keymap.c
qemu-nbd.c
qemu-nbd.texi
qemu-option-trace.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx vnc: fix use-after-free. 2018-04-27 11:39:31 +01:00
qemu-seccomp.c
qemu-tech.texi
qemu.nsi
qemu.sasl
qmp.c qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
qtest.c
README
replication.c
replication.h
rules.mak
thunk.c
tpm.c
trace-events
VERSION Open 2.13 development tree 2018-04-26 11:48:27 +01:00
version.rc
vl.c hw/s390x: Allow to configure the consoles with the "-serial" parameter 2018-04-30 10:48:29 +02: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, 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 git://git.qemu.org/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