Statistics
| Branch: | Revision:

root / hw / block @ d8ee2591

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 22.4 kB
pflash_cfi02.c 24 kB
tc58128.c 4.3 kB
virtio-blk.c 22.1 kB
xen_blkif.h 3.5 kB
xen_disk.c 30.8 kB

Latest revisions

# Date Author Comment
d8ee2591 11/06/2013 05:57 am Peter Maydell

bswap.h: Remove cpu_to_be16wu()

Replace the legacy cpu_to_be16wu() with stw_be_p().

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>
Reviewed-by: Michael S. Tsirkin <>
Message-id: ...

d32f7d25 11/05/2013 06:47 pm Andreas Färber

shix: Don't require firmware presence for qtest

Adopt error_report() while at it.

Reviewed-by: Stefan Hajnoczi <>
Reviewed-by: Aurelien Jarno <>
Signed-off-by: Andreas Färber <>

b0eb759f 10/31/2013 05:58 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pci, pc, acpi fixes, enhancements

This includes some pretty big changes:
- pci master abort support by Marcel
- pci IRQ API rework by Marcel
- acpi generation support by myself

Everything has gone through several revisions, latest versions have been on...

b432779a 10/18/2013 02:02 pm Stefan Weil

virtio: Remove unneeded memcpy

Report from valgrind:

19521 Source and destination overlap in memcpy(0x31d38938, 0x31d38938, 64)
19521 at 0x4A0A343: memcpy@@GLIBC_2.14 (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
19521 by 0x42774E: virtio_blk_device_init (virtio-blk.c:686)...
9e64f8a3 10/14/2013 05:11 pm Marcel Apfelbaum

hw: set interrupts using pci irq wrappers

pci_set_irq and the other pci irq wrappers use
PCI_INTERRUPT_PIN config register to compute device
INTx pin to assert/deassert.

An irq is allocated using pci_allocate_irq wrapper
only if is needed by non pci devices....

4f8a066b 10/11/2013 05:50 pm Kevin Wolf

blockdev: Remove IF_* check for read-only blockdev_init

IF_NONE allows read-only, which makes forbidding it in this place
for other types pretty much pointless.

Instead, make sure that all devices for which the check would have
errored out check in their init function that they don't get a read-only...

a76f48e5 10/10/2013 05:23 pm Matthew Daley

xen_disk: mark ioreq as mapped before unmapping in error case

Commit 4472beae modified the semantics of ioreq_{un,}map so that they are
idempotent if called when they're not needed (ie., twice in a row). However,
it neglected to handle the case where batch mapping is not being used (the...

ef5bc962 09/20/2013 08:27 pm Paolo Bonzini

virtio-blk: do not relay a previous driver's WCE configuration to the current

The following sequence happens:
- the SeaBIOS virtio-blk driver does not support the WCE feature, which
causes QEMU to disable writeback caching

- the Linux virtio-blk driver resets the device, finds WCE is available...

34b5d2c6 09/12/2013 11:12 am Max Reitz

block: Error parameter for open functions

Add an Error ** parameter to bdrv_open, bdrv_file_open and associated
functions to allow more specific error messages.

Signed-off-by: Max Reitz <>

8caf907f 09/06/2013 04:25 pm Cornelia Huck

dataplane: Fix startup race.

Avoid trying to setup dataplane again if dataplane setup is already in
progress. This may happen if an eventfd is triggered during setup.

I saw this occasionally with an experimental s390 irqfd implementation:

virtio_blk_handle_output...

View revisions

Also available in: Atom