QEMU with RISC-V (RV64G, RV32G) Emulation Support
Branch: riscv-qemu-3.1
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
accel cputlb: Remove tlb_c.pending_flushes Oct 31, 2018
audio pulseaudio: process audio data in smaller chunks Nov 12, 2018
backends hostmem: no need to check for host_memory_backend_mr_inited() in alloc() Nov 28, 2018
block Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2018-12-03'… Dec 3, 2018
bsd-user bsd-user: Use the IEC binary prefix definitions Jul 2, 2018
capstone @ 22ead3e disas: Add capstone as submodule Oct 26, 2017
chardev chardev: Indent list of chardevs Nov 5, 2018
contrib contrib: add elf2dmp tool Oct 2, 2018
crypto io: return 0 for EOF in TLS session read after shutdown Nov 19, 2018
default-configs hw/ppc/spapr_rng: Introduce CONFIG_SPAPR_RNG switch for spapr_rng.c Nov 8, 2018
disas disas/riscv: Fix `rdinstreth` constraint Dec 18, 2018
docs qcow2: Document some maximum size constraints Nov 19, 2018
dtc @ 88f1890 Update dtc/libfdt submodule to v1.4.7 Oct 2, 2018
fpu qemu/compiler: Wrap __attribute__((flatten)) in a macro Oct 17, 2018
fsdev fsdev: Clean up error reporting in qemu_fsdev_add() Oct 19, 2018
gdb-xml Second version of gdb stub support, using new FSF GDB xml files. Dec 18, 2018
hw SiFive CLIC (Core Level Interrupt Controller) test-beta1 Dec 18, 2018
include SiFive CLIC (Core Level Interrupt Controller) test-beta1 Dec 18, 2018
io io: return 0 for EOF in TLS session read after shutdown Nov 19, 2018
libdecnumber build: remove CONFIG_LIBDECNUMBER Oct 16, 2017
linux-headers linux-headers: update to 4.20-rc1 Oct 19, 2018
linux-user linux-uxer/riscv - fix stat on riscv32 linux-user Dec 18, 2018
migration vmstate: constify VMStateField Nov 27, 2018
nbd nbd/server: Advertise all contexts in response to bare LIST Nov 30, 2018
net net: hub: suppress warnings of no host network for qtest Dec 4, 2018
pc-bios update seabios to 1.12 Nov 20, 2018
po po/Makefile: Modern shell scripting (use $() instead of ``) Oct 24, 2018
qapi qapi: add query-display-options command Nov 27, 2018
qga qga: Add multiple include guard to guest-agent-core.h Nov 9, 2018
qobject qobject: Catch another straggler for use of qdict_put_str() Oct 26, 2018
qom Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2018-10-… Oct 23, 2018
replay replay: Exit on errors reading from replay log Nov 8, 2018
roms update seabios to 1.12 Nov 20, 2018
scripts checkpatch: g_test_message does not need a trailing newline Nov 27, 2018
scsi scsi: Address spurious clang warning Nov 27, 2018
slirp slirp: fork_exec(): create and connect child socket before fork() Nov 10, 2018
stubs Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2018-10-… Oct 23, 2018
target Second version of gdb stub support, using new FSF GDB xml files. Dec 18, 2018
tcg tcg/tcg-op.h: Add multiple include guard Nov 8, 2018
tests virtio-net-test: add large tx buffer test Dec 4, 2018
trace tracing: Use double-dash spelling for trace option Jul 19, 2018
ui ui: Allow specifying 'rendernode' display option for egl-headless Nov 16, 2018
util vfio-helpers: Fix qemu_vfio_open_pci() crash Nov 27, 2018
.dir-locals.el Add .dir-locals.el file to configure emacs coding style Oct 8, 2015
.editorconfig editorconfig: set emacs mode Nov 1, 2018
.exrc qemu: add .exrc Sep 7, 2012
.gdbinit .gdbinit: load QEMU sub-commands when gdb starts Jun 7, 2017
.gitignore edid: Ignore built binary Oct 5, 2018
.gitmodules gitmodules: use 'https://' instead of 'git://' Nov 12, 2018
.gitpublish Add a git-publish configuration file Mar 5, 2018
.mailmap mailmap: Add an item for Yongbok Kim Oct 18, 2018
.shippable.yml shippable: Remove Debian 8 libfdt kludge May 11, 2018
.travis.yml .travis.yml: split MacOSX builds and reduce target list Nov 14, 2018
CODING_STYLE CODING_STYLE: Define our preferred form for multiline comments Jun 15, 2018
COPYING COPYING: update from FSF Oct 12, 2008
COPYING.LIB Update FSF address in GPL/LGPL boilerplate Jan 4, 2009
Changelog Use HTTPS for qemu.org and other domains Nov 21, 2017
HACKING HACKING: document preference for g_new instead of g_malloc May 20, 2018
LICENSE vfio: move hw/misc/vfio.c to hw/vfio/pci.c Move vfio.h into include/h… Dec 19, 2014
MAINTAINERS MAINTAINERS: Add an entry for the Firmware Configuration (fw_cfg) device Nov 27, 2018
Makefile Makefile: Install new vgabios binaries Oct 15, 2018
Makefile.objs SiFive CLIC (Core Level Interrupt Controller) test-beta1 Dec 18, 2018
Makefile.target dump: add Windows dump format to dump-guest-memory Jun 29, 2018
README README: use 'https://' instead of 'git://' Nov 12, 2018
VERSION Update version for v3.1.0 release Dec 11, 2018
arch_init.c arch_init: sort architectures Jun 1, 2018
balloon.c balloon: Allow multiple inhibit users Aug 17, 2018
block.c block: Don't inactivate children before parents Nov 27, 2018
blockdev-nbd.c nbd/server: drop old-style negotiation Oct 3, 2018
blockdev.c blockdev: Consistently use snapshot_node_name in external_snapshot_pr… Nov 12, 2018
blockjob.c block: Use a single global AioWait Sep 25, 2018
bootdevice.c fw_cfg: ignore suffixes in the bootdevice list dependent on machine c… Aug 17, 2018
bt-host.c all: Clean up includes Feb 4, 2016
bt-vhci.c all: Clean up includes Feb 4, 2016
configure Second version of gdb stub support, using new FSF GDB xml files. Dec 18, 2018
cpus-common.c qom: convert the CPU list to RCU Aug 23, 2018
cpus.c cpus: run work items for all vCPUs if single-threaded Nov 27, 2018
device-hotplug.c blockdev: Convert drive_new() to Error Oct 19, 2018
device_tree.c device_tree: Add qemu_fdt_node_unit_path Jun 29, 2018
disas.c RISC-V Disassembler Mar 6, 2018
dma-helpers.c block: explicitly acquire aiocontext in bottom halves that need it Feb 21, 2017
dump.c qapi: Drop qapi_event_send_FOO()'s Error ** argument Aug 28, 2018
exec.c exec: introduce tlb_init Oct 19, 2018
gdbstub.c gdbstub: Remove unused include Oct 16, 2018
hmp-commands-info.hx hmp-commands-info: add sync-profile Aug 23, 2018
hmp-commands.hx hmp-commands: add sync-profile Aug 23, 2018
hmp.c qmp, hmp: make subsystem/system-vendor identities optional Oct 11, 2018
hmp.h hmp-commands: add sync-profile Aug 23, 2018
ioport.c trace: switch to modular code generation for sub-directories Jan 31, 2017
iothread.c iothread: fix crash with invalid properties Oct 12, 2018
job-qmp.c jobs: canonize Error object Aug 31, 2018
job.c job: Fix off-by-one assert checks for JobSTT and JobVerbTable Nov 12, 2018
memory.c memory: learn about non-volatile memory region Nov 6, 2018
memory_ldst.inc.c exec: Fix MAP_RAM for cached access Jun 28, 2018
memory_mapping.c memory-mapping: skip non-volatile memory regions in GuestPhysBlockList Nov 6, 2018
module-common.c all: Clean up includes Feb 4, 2016
monitor.c monitor: delay monitor iothread creation Nov 6, 2018
numa.c numa: Clean up error reporting in parse_numa() Oct 19, 2018
os-posix.c util: add qemu_write_pidfile() Oct 2, 2018
os-win32.c util: add qemu_write_pidfile() Oct 2, 2018
qdev-monitor.c qdev-monitor: Make device options help nicer Nov 5, 2018
qdict-test-data.txt Introduce QDict test data file Sep 4, 2009
qemu-bridge-helper.c all: Remove unnecessary glib.h includes Jun 7, 2016
qemu-deprecated.texi bt: Mark the bluetooth subsystem as deprecated Nov 12, 2018
qemu-doc.texi doc: replace x-root with rootdir for usb-mtp Oct 1, 2018
qemu-edid.c display/edid: add edid generator to qemu. Sep 27, 2018
qemu-ga.texi qemu-ga: Remove stray 'q' in documentation Oct 28, 2016
qemu-img-cmds.hx qemu-img: Add -C option for convert with copy offloading Jul 30, 2018
qemu-img.c qemu-img: Fix leak Nov 21, 2018
qemu-img.texi qemu-img: Add -C option for convert with copy offloading Jul 30, 2018
qemu-io-cmds.c qemu-io-cmds: Fix two format strings Nov 5, 2018
qemu-io.c qom: Clean up error reporting in user_creatable_add_opts_foreach() Oct 19, 2018
qemu-keymap.c ui: use enum to string helpers Aug 24, 2018
qemu-nbd.c qom: Clean up error reporting in user_creatable_add_opts_foreach() Oct 19, 2018
qemu-nbd.texi nbd: Add qemu-nbd -D for human-readable description Nov 2, 2016
qemu-option-trace.texi qemu-option-trace: -trace enable= is a pattern, not a file May 20, 2018
qemu-options-wrapper.h qemu-img: remove references to GEN_DOCS May 20, 2018
qemu-options.h Clean up ill-advised or unusual header guards Jul 12, 2016
qemu-options.hx hostmem-memfd: honour share=on/off property Nov 27, 2018
qemu-seccomp.c seccomp: Clean up error reporting in parse_sandbox() Oct 19, 2018
qemu-tech.texi cli qmp: Mark --preconfig, exit-preconfig experimental Jul 16, 2018
qemu.nsi Use HTTPS for qemu.org and other domains Nov 21, 2017
qemu.sasl Default to GSSAPI (Kerberos) instead of DIGEST-MD5 for SASL May 9, 2017
qmp.c cli qmp: Mark --preconfig, exit-preconfig experimental Jul 16, 2018
qtest.c qtest: Use cpu address space instead of system memory Jul 6, 2018
replication.c replication: Introduce new APIs to do replication operation Sep 13, 2016
replication.h block/replication: Remove protocol_name field Mar 26, 2018
rules.mak tests/docker/Makefile.include: handle empty TARGET_LIST Jun 4, 2018
thunk.c thunk: assert nb_fields is valid Jul 31, 2017
tpm.c tpm: Clean up error reporting in tpm_init_tpmdev() Oct 19, 2018
trace-events jobs: remove ret argument to job_completed; privatize it Aug 31, 2018
version.rc Use HTTPS for qemu.org and other domains Nov 21, 2017
vl.c vl.c: remove outdated comment Nov 27, 2018
win_dump.c dump: fix Windows dump memory run mapping Oct 2, 2018
win_dump.h dump: move Windows dump structures definitions Oct 2, 2018


         QEMU README

QEMU is a generic and open source machine & userspace emulator and

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.


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

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.

   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


The QEMU website is also maintained under source control.

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

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


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:



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

 - qemu-devel@nongnu.org
 - #qemu on irc.oftc.net

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


-- End