Statistics
| Branch: | Revision:

root @ 5d12aa63

Name Size
  audio
  backends
  block
  bsd-user
  default-configs
  disas
  docs
  fpu
  fsdev
  gdb-xml
  hw
  include
  libcacard
  linux-headers
  linux-user
  net
  pc-bios
  po
  qapi
  qga
  qobject
  qom
  roms
  scripts
  slirp
  stubs
  sysconfigs
  target-alpha
  target-arm
  target-cris
  target-i386
  target-lm32
  target-m68k
  target-microblaze
  target-mips
  target-moxie
  target-openrisc
  target-ppc
  target-s390x
  target-sh4
  target-sparc
  target-unicore32
  target-xtensa
  tcg
  tests
  trace
  ui
  util
.exrc 220 Bytes
.gitignore 1.9 kB
.gitmodules 810 Bytes
.mailmap 1.3 kB
.travis.yml 2.8 kB
CODING_STYLE 3.1 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 22.6 kB
HACKING 7 kB
LICENSE 846 Bytes
MAINTAINERS 17.9 kB
Makefile 17.5 kB
Makefile.objs 3.9 kB
Makefile.target 5.1 kB
README 88 Bytes
VERSION 7 Bytes
aio-posix.c 6.2 kB
aio-win32.c 6 kB
arch_init.c 34.4 kB
async.c 6.9 kB
balloon.c 3.7 kB
block-migration.c 22.8 kB
block.c 151.8 kB
blockdev-nbd.c 3 kB
blockdev.c 70.5 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
configure 127.3 kB
coroutine-gthread.c 5.8 kB
coroutine-sigaltstack.c 8.3 kB
coroutine-ucontext.c 5.6 kB
coroutine-win32.c 2.6 kB
cpu-exec.c 29.4 kB
cpus.c 37 kB
cputlb.c 10.6 kB
device-hotplug.c 2.2 kB
device_tree.c 8.5 kB
disas.c 14 kB
dma-helpers.c 7 kB
dtc 0 Bytes
dump.c 23.2 kB
exec.c 76.5 kB
gdbstub.c 43.2 kB
hmp-commands.hx 48.2 kB
hmp.c 47.9 kB
hmp.h 4.5 kB
iohandler.c 6 kB
ioport.c 8.9 kB
kvm-all.c 52.2 kB
kvm-stub.c 2.4 kB
main-loop.c 13.5 kB
memory.c 57.3 kB
memory_mapping.c 10.3 kB
migration-exec.c 1.8 kB
migration-fd.c 1.6 kB
migration-rdma.c 104.9 kB
migration-tcp.c 2.3 kB
migration-unix.c 2.3 kB
migration.c 19.7 kB
monitor.c 146.1 kB
nbd.c 30.5 kB
os-posix.c 8.5 kB
os-win32.c 4.2 kB
page_cache.c 5.5 kB
pixman 0 Bytes
qapi-schema.json 122.8 kB
qdev-monitor.c 20.2 kB
qdict-test-data.txt 88.4 kB
qemu-bridge-helper.c 11.1 kB
qemu-char.c 99.3 kB
qemu-coroutine-io.c 3 kB
qemu-coroutine-lock.c 4.8 kB
qemu-coroutine-sleep.c 1.3 kB
qemu-coroutine.c 3 kB
qemu-doc.texi 91 kB
qemu-file.c 17.5 kB
qemu-img-cmds.hx 2.6 kB
qemu-img.c 78.6 kB
qemu-img.texi 18.8 kB
qemu-io-cmds.c 54.3 kB
qemu-io.c 11.6 kB
qemu-log.c 4.8 kB
qemu-nbd.c 19.4 kB
qemu-nbd.texi 2.5 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 113.2 kB
qemu-seccomp.c 7.9 kB
qemu-tech.texi 22.9 kB
qemu-timer.c 15.8 kB
qemu.nsi 7.2 kB
qemu.sasl 1.3 kB
qmp-commands.hx 92 kB
qmp.c 16 kB
qtest.c 13.8 kB
rules.mak 6.4 kB
savevm.c 32.5 kB
spice-qemu-char.c 9.5 kB
tcg-runtime.c 2.4 kB
tci.c 35.6 kB
thread-pool.c 9.5 kB
thunk.c 8.8 kB
tpm.c 7.6 kB
trace-events 77.9 kB
translate-all.c 53.4 kB
translate-all.h 995 Bytes
user-exec.c 19.8 kB
version.rc 797 Bytes
vl.c 122.1 kB
vmstate.c 15.5 kB
xbzrle.c 4 kB
xen-all.c 35.7 kB
xen-mapcache.c 12.4 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
ddf5636d 02/21/2014 10:02 pm Max Reitz

block: Add reference parameter to bdrv_open()

Allow bdrv_open() to handle references to existing block devices just as
bdrv_file_open() is already capable of.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

2e40134b 02/21/2014 10:02 pm Max Reitz

block: Make bdrv_file_open() static

Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the
call to bdrv_file_open(). Additionally, make bdrv_file_open() static and
therefore bdrv_open() the only way to call it.

Consequently, all existing calls to bdrv_file_open() have to be adjusted...

5d12aa63 02/21/2014 10:02 pm Max Reitz

block: Reuse reference handling from bdrv_open()

Remove the reference parameter and the related handling code from
bdrv_file_open(), since it exists in bdrv_open() now as well.

Signed-off-by: Max Reitz <>
Reviewed-by: Benoit Canet <>...

a71835a0 02/21/2014 10:02 pm Kevin Wolf

qcow2: Set zero flag for discarded clusters

Instead of making the backing file contents visible again after a discard
request, set the zero flag if possible (i.e. on version >= 3).

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>

e6dc8a1f 02/21/2014 10:02 pm Kevin Wolf

block: Fix bdrv_is_first_non_filter()

Consider top level BlockDriverStates as well.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Benoit Canet <>
Tested-by: Benoit Canet <>

f67503e5 02/21/2014 10:02 pm Max Reitz

block: Change BDS parameter of bdrv_open() to **

Make bdrv_open() take a pointer to a BDS pointer, similarly to
bdrv_file_open(). If a pointer to a NULL pointer is given, bdrv_open()
will create a new BDS with an empty name; if the BDS pointer is not
NULL, that existing BDS will be reused (in the same way as bdrv_open()...

3e890c77 02/21/2014 04:54 pm Peter Maydell

Merge remote-tracking branch 'remotes/stefanha/tags/qtest-monitor-process-pull-request' into staging

qtest resource cleanup pull request

  1. gpg: Signature made Wed 19 Feb 2014 14:46:34 GMT using RSA key ID 81AB73C8
  2. gpg: Good signature from "Stefan Hajnoczi <>"...
7a87a7b3 02/21/2014 04:38 pm Peter Maydell

Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging

Tracing pull request

  1. gpg: Signature made Wed 19 Feb 2014 15:42:20 GMT using RSA key ID 81AB73C8
  2. gpg: Good signature from "Stefan Hajnoczi <>"
  3. gpg: aka "Stefan Hajnoczi <>"...
e607784f 02/21/2014 04:31 pm Peter Maydell

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging

This fixes a target-i386 emulation regression

  1. gpg: Signature made Wed 19 Feb 2014 15:42:12 GMT using RSA key ID C88F2FD6
  2. gpg: Good signature from "Kevin Wolf <>"...
9bd9d5e3 02/21/2014 01:47 pm Peter Maydell

Merge remote-tracking branch 'remotes/riku/linux-user-for-upstream' into staging

  • remotes/riku/linux-user-for-upstream:
    linux-user: Fix error handling in target_to_host_semarray()
    linux-user: Implement BLKPG ioctl
    linux-user: Fix error handling in lock_iovec()...

View all revisions | View revisions

Also available in: Atom