Statistics
| Branch: | Revision:

root / hw / block @ feature-archipelago

Name Size
  dataplane
Makefile.objs 547 Bytes
block.c 1.9 kB
cdrom.c 4.1 kB
ecc.c 3 kB
fdc.c 69.7 kB
hd-geometry.c 5.5 kB
m25p80.c 21.3 kB
nand.c 23.3 kB
nvme.c 24.1 kB
nvme.h 20.9 kB
onenand.c 24.9 kB
pflash_cfi01.c 30.2 kB
pflash_cfi02.c 24 kB
tc58128.c 4.3 kB
virtio-blk.c 22.4 kB
xen_blkif.h 3.5 kB
xen_disk.c 31.1 kB

Latest revisions

# Date Author Comment
e7a1d6c5 02/25/2014 12:50 pm Peter Maydell

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

Block patches

  1. gpg: Signature made Fri 21 Feb 2014 21:42:24 GMT using RSA key ID C88F2FD6
  2. gpg: Good signature from "Kevin Wolf <>"
  • remotes/kevin/tags/for-upstream: (54 commits)...
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 <>

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()...

58da5b1e 02/20/2014 07:57 pm Olaf Hering

xen_disk: fix io accounting

bdrv_acct_done was called unconditional. But in case the ioreq has no
segments there is no matching bdrv_acct_start call. This could lead to
bogus accounting values.

Found by code inspection.

Signed-off-by: Olaf Hering <>...

c7bcc85d 02/14/2014 10:12 pm Paolo Bonzini

qdev: Remove hex8/32/64 property types

Replace them with uint8/32/64.

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

6749695e 02/14/2014 05:22 pm Andreas Färber

nand: Don't use qdev_create() in nand_init()

Commit 7426aa72c36c908a7d0eae3e38568bb0a70de479 (nand: Don't inherit
from Sysbus) changed the parent type of TYPE_NAND but continued to use
qdev_create(), which handled a NULL BusState as SysBus.

Use object_new() instead, and reuse the TYPE_NAND define while at it....

170a6034 01/31/2014 11:05 pm Markus Armbruster

dataplane: Comment fix

Signed-off-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

1b7fd729 01/24/2014 06:40 pm Paolo Bonzini

block: rename buffer_alignment to guest_block_size

The alignment field is now set to the value that is promised to the
guest, rather than required by the host. The next patches will make
QEMU aware of the host-provided values, so make this clear.

The alignment is also not about memory buffers, but about the sectors on...

debe40fb 01/10/2014 09:05 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/block' into staging

  • stefanha/block:
    commit: Remove unused check
    qemu-iotests: Update test cases for commit active
    commit: Support commit active layer
    block: Add commit_active_start()
    mirror: Move base to MirrorBlockJob...
f3b17640 12/23/2013 01:27 am Markus Armbruster

isa: Clean up use of cannot_instantiate_with_device_add_yet

Drop it when there's no obvious reason why device_add could not work.
Else keep and document why.

  • isa-fdc: drop
  • i8042: drop, even though its I/O base is hardcoded (because you
    could conceivably still add one to a board that has none), and even...

View revisions

Also available in: Atom