Official QEMU mirror. Please see http://wiki.qemu.org/Contribute/SubmitAPatch for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
Clone or download
pm215 Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-reques…
…t' into staging

Pull request

# gpg: Signature made Wed 16 Jan 2019 01:00:25 GMT
# gpg:                using RSA key 7DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
# Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
#      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E

* remotes/jnsnow/tags/bitmaps-pull-request:
  Revert "hbitmap: Add @advance param to hbitmap_iter_next()"
  Revert "test-hbitmap: Add non-advancing iter_next tests"
  Revert "block/dirty-bitmap: Add bdrv_dirty_iter_next_area"
  block/mirror: fix and improve do_sync_target_write
  tests: add tests for hbitmap_next_dirty_area
  dirty-bitmap: add bdrv_dirty_bitmap_next_dirty_area
  tests: add tests for hbitmap_next_zero with specified end parameter
  dirty-bitmap: improve bdrv_dirty_bitmap_next_zero

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Latest commit 681d613 Jan 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accel qemu/queue.h: leave head structs anonymous unless necessary Jan 11, 2019
audio audio/alsaaudio: Remove compiler check around pragma Dec 12, 2018
backends hostmem: use object id for memory region name with >= 4.0 Jan 7, 2019
block Revert "hbitmap: Add @advance param to hbitmap_iter_next()" Jan 15, 2019
bsd-user avoid TABs in files that only contain a few Jan 11, 2019
capstone @ 22ead3e disas: Add capstone as submodule Oct 26, 2017
chardev configure: bump spice-server required version to 0.12.5 Jan 10, 2019
contrib contrib/gitdm: add another name to WaveComp map Jan 14, 2019
crypto remove space-tab sequences Jan 11, 2019
default-configs default-configs: Enable USB support for RISC-V machines Jan 10, 2019
disas remove space-tab sequences Jan 11, 2019
docs nbd: Document timeline of various features Jan 4, 2019
dtc @ 88f1890 Update dtc/libfdt submodule to v1.4.7 Oct 2, 2018
fpu hardfloat: implement float32/64 comparison Dec 17, 2018
fsdev qemu/queue.h: leave head structs anonymous unless necessary Jan 11, 2019
gdb-xml s390x/gdb: add gs registers Jul 14, 2017
hw Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-req… Jan 14, 2019
include Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-reques… Jan 17, 2019
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 avoid TABs in files that only contain a few Jan 11, 2019
migration qemu/queue.h: leave head structs anonymous unless necessary Jan 11, 2019
nbd dirty-bitmap: improve bdrv_dirty_bitmap_next_zero Jan 15, 2019
net slirp: add clock_get_ns() callback Jan 13, 2019
pc-bios Merge remote-tracking branch 'remotes/kraxel/tags/ui-20190110-pull-re… Jan 10, 2019
po po/Makefile: Modern shell scripting (use $() instead of ``) Oct 24, 2018
qapi nbd: Remove x-nbd-server-add-bitmap Jan 14, 2019
qga qemu/queue.h: simplify reverse access to QTAILQ Jan 11, 2019
qobject json: Fix to reject duplicate object member names Dec 13, 2018
qom qom: Don't keep error value between object_property_parse() calls Jan 10, 2019
replay replay: Exit on errors reading from replay log Nov 8, 2018
roms roms: seabios: Rename CROSS_COMPILE to CROSS_PREFIX Jan 11, 2019
scripts scripts: add script to convert multiline comments into 4-line format Jan 11, 2019
scsi file-posix: Switch to .bdrv_co_ioctl Dec 14, 2018
slirp slirp: check data length while emulating ident function Jan 14, 2019
stubs net: do not depend on slirp internals Jan 13, 2019
target i386/kvm: add a comment explaining why .feat_names are commented out … Jan 14, 2019
tcg avoid TABs in files that only contain a few Jan 11, 2019
tests Revert "hbitmap: Add @advance param to hbitmap_iter_next()" Jan 15, 2019
trace trace: simple style changes Dec 12, 2018
ui Merge remote-tracking branch 'remotes/kraxel/tags/input-20190111-pull… Jan 14, 2019
util Revert "hbitmap: Add @advance param to hbitmap_iter_next()" Jan 15, 2019
.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 qapi: Reduce Makefile boilerplate Dec 11, 2018
.gitmodules gitmodules: use 'https://' instead of 'git://' Nov 12, 2018
.gitpublish Add a git-publish configuration file Mar 5, 2018
.mailmap maint: Grammar fix to mailmap Dec 11, 2018
.shippable.yml .shippable.yml: disable the win cross tests Dec 17, 2018
.travis.yml travis: bump to Xenial baseline Jan 14, 2019
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 Merge remote-tracking branch 'remotes/stsquad/tags/pull-misc-gitdm-ne… Jan 15, 2019
Makefile build-sys: use a separate slirp-obj-y && slirp.mo Jan 14, 2019
Makefile.objs build-sys: use a separate slirp-obj-y && slirp.mo Jan 14, 2019
Makefile.target build-sys: use a separate slirp-obj-y && slirp.mo Jan 14, 2019
README README: use 'https://' instead of 'git://' Nov 12, 2018
VERSION Open 4.0 development tree 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: Assert that flags are up-to-date in bdrv_reopen_prepare() Dec 14, 2018
blockdev-nbd.c nbd: Merge nbd_export_bitmap into nbd_export_new Jan 14, 2019
blockdev.c block: remove 'x' prefix from experimental bitmap APIs Jan 14, 2019
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 Merge remote-tracking branch 'remotes/stsquad/tags/pull-testing-next-… Jan 14, 2019
cpus-common.c qemu/queue.h: simplify reverse access to QTAILQ Jan 11, 2019
cpus.c cpus.c: Fix race condition in cpu_stop_current() Jan 7, 2019
device-hotplug.c blockdev: Convert drive_new() to Error Oct 19, 2018
device_tree.c device_tree.c: Don't use load_image() Dec 14, 2018
disas.c disas: Add RISC-V support Dec 25, 2018
dma-helpers.c block: explicitly acquire aiocontext in bottom halves that need it Feb 21, 2017
dump.c qemu/queue.h: simplify reverse access to QTAILQ Jan 11, 2019
exec.c qemu/queue.h: typedef QTAILQ heads Jan 11, 2019
gdbstub.c gdbstub: add multiprocess extension support Jan 7, 2019
gitdm.config contrib: add a basic gitdm config Dec 17, 2018
hmp-commands-info.hx hmp-commands-info: add sync-profile Aug 23, 2018
hmp-commands.hx Deprecate HMP `cpu-add` Dec 11, 2018
hmp.c nbd: Allow bitmap export during QMP nbd-server-add Jan 14, 2019
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 qemu/queue.h: simplify reverse access to QTAILQ Jan 11, 2019
memory_ldst.inc.c exec: Fix MAP_RAM for cached access Jun 28, 2018
memory_mapping.c qemu/queue.h: simplify reverse access to QTAILQ Jan 11, 2019
module-common.c all: Clean up includes Feb 4, 2016
monitor.c qemu/queue.h: leave head structs anonymous unless necessary Jan 11, 2019
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 Mention that QMP 'cpu-add' will be deprecated Jan 10, 2019
qemu-doc.texi target-i386: Reenable RDTSCP support on Opteron_G[345] CPU models CPU… Jan 14, 2019
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 block: Remove flags parameter from bdrv_reopen_queue() Dec 14, 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 qemu-nbd: Add --bitmap=NAME option Jan 14, 2019
qemu-nbd.texi qemu-nbd: Add --bitmap=NAME option Jan 14, 2019
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 xen: Replace few mentions of xend by libxl Jan 14, 2019
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 qmp hmp: Make system_wakeup check wake-up support and run state Dec 18, 2018
qtest.c avoid TABs in files that only contain a few Jan 11, 2019
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 test: replace gtester with a TAP driver Jan 11, 2019
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 Remove broken Xen PV domain builder Jan 14, 2019
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

README

         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