Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Jonathan Afek
Jonathan Afek HACK make aarch64 HLT instruction break in gdb
We use that to debug user mode applications where we don't
know exactly where they will be loaded because of ASLR
and in general we don't know they are the only user-mode
code in this location so we patch the executable to include
an HLT instruction where we want to break and execute qemu
with a gdb attached and it breaks when the emulated CPU hits
the HLT instruction
Latest commit cd7d398 Jun 5, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
accel Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into… Jul 17, 2018
audio audio: add audio timer trace points Jul 3, 2018
backends hostmem: drop error variable from host_memory_backend_get_memory() Jun 28, 2018
block throttle-groups: fix hang when group member leaves Jul 19, 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 qemu-char: check errno together with ret < 0 Jul 6, 2018
contrib vhost-blk: turn on pre-defined RO feature bit Jun 1, 2018
crypto crypto: Implement TLS Pre-Shared Keys (PSK). Jul 3, 2018
default-configs sm501: Implement i2c part for reading monitor EDID Jul 7, 2018
disas target/m68k: correctly disassemble move16 Jul 2, 2018
docs tracing: Use double-dash spelling for trace option Jul 19, 2018
dtc @ e543880 Update dtc to fix compilation problem on Mac OS 10.6 Jan 10, 2018
fpu fpu/softfloat: Define floatN_silence_nan in terms of parts_silence_nan May 17, 2018
fsdev use g_path_get_basename instead of basename Mar 6, 2018
gdb-xml s390x/gdb: add gs registers Jul 14, 2017
hw add the loading of a static Trust Cache Jun 5, 2019
include remove dependency on OSX header file to enable compilation on other p… Jun 5, 2019
io Delete AF_UNIX socket after close Jun 28, 2018
libdecnumber build: remove CONFIG_LIBDECNUMBER Oct 16, 2017
linux-user Zero out the host's `msg_control` buffer Jul 15, 2018
migration migration: reorder MIG_CMD_POSTCOPY_RESUME Jul 10, 2018
nbd nbd/server: fix nbd_co_send_block_status Jul 8, 2018
net tap: fix memory leak on success to create a tap device Jul 20, 2018
pc-bios sam460ex: Update u-boot-sam460ex firmware Jul 9, 2018
po po: add missing translations in de, fr, it, zh Dec 14, 2016
qapi cli qmp: Mark --preconfig, exit-preconfig experimental Jul 16, 2018
qga qga: fix file descriptor leak Jul 16, 2018
qobject qobject: Let qobject_from_jsonf() fail instead of abort Jul 3, 2018
qom qom/object: Add a new function object_initialize_child() Jul 17, 2018
replay replay: save vmstate of the asynchronous events Mar 12, 2018
roms sam460ex: Update u-boot-sam460ex firmware Jul 9, 2018
scripts qapi: Do not expose "allow-preconfig" in query-qmp-schema Jul 16, 2018
scsi pr-manager-helper: fix memory leak on event Jul 6, 2018
slirp slirp: reformat m_inc routine Jun 8, 2018
stubs linux-aio: properly bubble up errors from initialization Jun 27, 2018
target HACK make aarch64 HLT instruction break in gdb Jun 5, 2019
tcg tcg/aarch64: limit mul_vec size Jul 19, 2018
tests Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into… Jul 17, 2018
trace tracing: Use double-dash spelling for trace option Jul 19, 2018
ui ui/cocoa.m: replace scrollingDeltaY with deltaY Jul 12, 2018
util opts: remove redundant check for NULL parameter Jul 17, 2018
.dir-locals.el Add .dir-locals.el file to configure emacs coding style Oct 8, 2015
.editorconfig add editorconfig Jul 20, 2017
.exrc qemu: add .exrc Sep 7, 2012
.gdbinit .gdbinit: load QEMU sub-commands when gdb starts Jun 7, 2017
.gitignore .gitignore: add .gcov files Jul 5, 2018
.gitmodules vgabios: remove submodule and build rules. Jul 2, 2018
.gitpublish Add a git-publish configuration file Mar 5, 2018
.mailmap maint: Add .mailmap entries for patches claiming list authorship Apr 9, 2018
.shippable.yml shippable: Remove Debian 8 libfdt kludge May 11, 2018
.travis.yml travis: add gcovr summary for GCOV build Jul 5, 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 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: New section "Incompatible changes", copy libvir-list Jul 16, 2018
Makefile build-system: add coverage-report target Jul 5, 2018
Makefile.objs hw/i2c: Add trace events Jun 8, 2018 dump: add Windows dump format to dump-guest-memory Jun 29, 2018
README README: Fix typo 'git-publish' Mar 8, 2018
arch_init.c arch_init: sort architectures Jun 1, 2018
balloon.c qapi: Empty out qapi-schema.json Mar 2, 2018
block.c block: Poll after drain on attaching a node Jul 10, 2018
blockdev-nbd.c qapi: new qmp command nbd-server-add-bitmap Jun 21, 2018
blockdev.c Revert "block: Remove deprecated -drive geometry options" Jul 10, 2018
blockjob.c block: Really pause block jobs on drain Jun 18, 2018
bootdevice.c Makefile: Move bootdevice.o to common-obj-y Jul 4, 2017
bt-host.c all: Clean up includes Feb 4, 2016
bt-vhci.c all: Clean up includes Feb 4, 2016
configure Revert "Makefile: Rename TARGET_DIRS to TARGET_LIST" Jul 5, 2018
cpus-common.c *_run_on_cpu: introduce run_on_cpu_data type Oct 31, 2016
cpus.c tcg: fix --disable-tcg build breakage Jun 22, 2018
device-hotplug.c Revert "block: Remove deprecated -drive option addr" Jul 10, 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 dump: add Windows dump format to dump-guest-memory Jun 29, 2018
exec.c tcg: simplify !CONFIG_TCG handling of tb_invalidate_* Jul 2, 2018
gdbstub.c gdbstub: Prevent fd leakage Jun 1, 2018
hmp-commands-info.hx qapi: add conditions to VNC type/commands/events on the schema Jul 3, 2018
hmp-commands.hx Revert "block: Remove deprecated -drive geometry options" Jul 10, 2018
hmp.c cli qmp: Mark --preconfig, exit-preconfig experimental Jul 16, 2018
hmp.h hmp: add exit_preconfig Jun 21, 2018
ioport.c trace: switch to modular code generation for sub-directories Jan 31, 2017
iothread.c iothread: workaround glib bug which hangs qmp-test Apr 10, 2018
job-qmp.c job: Add error message for failing jobs May 30, 2018
job.c job: Add job_progress_increase_remaining() Jun 18, 2018
memory.c memory/hmp: Print owners/parents in "info mtree" Jun 28, 2018 exec: Fix MAP_RAM for cached access Jun 28, 2018
memory_mapping.c Replace all occurances of __FUNCTION__ with __func__ Jan 22, 2018
module-common.c all: Clean up includes Feb 4, 2016
monitor.c monitor: Fix tracepoint crash on JSON syntax error Jul 16, 2018
numa.c numa: report all DIMM/NVDIMMs as plugged memory Jun 28, 2018
os-posix.c qemu-options: Bail out on unsupported options instead of silently ign… May 8, 2018
qdev-monitor.c qom: introduce object_class_get_list_sorted Mar 12, 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 qemu-doc: Move appendix "Deprecated features" to its own file Jul 16, 2018
qemu-doc.texi qemu-doc: Move appendix "Deprecated features" to its own file Jul 16, 2018
qemu-ga.texi qemu-ga: Remove stray 'q' in documentation Oct 28, 2016
qemu-img-cmds.hx qemu-img: Remove deprecated -s snapshot_id_or_name option Jun 11, 2018
qemu-img.c qemu-img: align result of is_allocated_sectors Jul 12, 2018
qemu-img.texi qemu-img: Document copy offloading implications with -S and -c Jul 12, 2018
qemu-io-cmds.c qemu-io: Let command functions return error code Jun 11, 2018
qemu-io.c qemu-io: Exit with error when a command failed Jun 11, 2018
qemu-keymap.c Drop superfluous includes of qapi-types.h and test-qapi-types.h Feb 9, 2018
qemu-nbd.c block: Cancel job in bdrv_close_all() callers May 23, 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 Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into… Jul 17, 2018
qemu-seccomp.c seccomp: allow sched_setscheduler() with SCHED_IDLE policy Jul 12, 2018
qemu-tech.texi cli qmp: Mark --preconfig, exit-preconfig experimental Jul 16, 2018
qemu.nsi Use HTTPS for 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 qapi: Move qapi-schema.json to qapi/, rename generated files Mar 2, 2018
trace-events job: Add lifecycle QMP commands May 23, 2018
version.rc Use HTTPS for and other domains Nov 21, 2017
vl.c Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into… Jul 2, 2018
win_dump.c dump: add Windows live system dump Jun 29, 2018
win_dump.h dump: add Windows live system dump Jun 29, 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 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 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 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 on

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

-- End
You can’t perform that action at this time.