Statistics
| Branch: | Revision:

root / hw / block @ c1a1af87

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 30.8 kB

Latest revisions

# Date Author Comment
fa21a7b1 12/17/2013 09:42 pm Roy Franz

Add max device width parameter for NOR devices

For handling CFI and device ID reads, we need to not only know the
width that a NOR flash device is configured for, but also its maximum
width. The maximum width addressing mode is used for multi-width
parts no matter which width they are configured for. The most common...

4433e660 12/17/2013 09:42 pm Roy Franz

Fix CFI query responses for NOR flash

This change fixes the CFI query responses to handle NOR device
widths that are different from the bank width. Support is also
added for multi-width devices in a x8 configuration. This is
typically x8/x16 devices, but the CFI specification mentions...

0163a2dc 12/17/2013 09:42 pm Roy Franz

Fix NOR flash device ID reading

Fix NOR flash manufacturer and device ID reading. This now
properly takes into account device widths and device max widths
as required. The reading of these IDs uses the same max_width
dependent addressing as CFI queries....

4b6fedca 12/17/2013 09:42 pm Roy Franz

rename pflash_t member width to bank_width

Rename the 'width' member of the pflash_t structure
in preparation for adding a bank_width member.

Signed-off-by: Roy Franz <>
Reviewed-by: Peter Maydell <>
Message-id: ...

1997b485 12/17/2013 09:42 pm Roy Franz

Add device-width property to pflash_cfi01

The width of the devices that make up the flash interface
is required to mask certain commands, in particular the
write length for buffered writes. This length will be presented
to each device on the interface by the program writing the flash,...

2003889f 12/17/2013 09:42 pm Roy Franz

return status for each NOR flash device

Now that we know how wide each flash device that makes up the bank is,
return status for each device in the bank. Leave existing code
that treats 32 bit wide banks as composed of two 16 bit devices as otherwise
we may break configurations that do not set the device_width propery....

75884afd 12/09/2013 10:46 pm Andreas Färber

virtio-blk: Convert to QOM realize

Signed-off-by: Andreas Färber <>
Signed-off-by: Paolo Bonzini <>

306ec6c3 12/09/2013 10:46 pm Andreas Färber

virtio: Convert exit to unrealize

Signed-off-by: Andreas Färber <>
Signed-off-by: Paolo Bonzini <>

3ffeeef7 12/09/2013 10:46 pm Andreas Färber

virtio-blk-dataplane: Improve error reporting

Return an Error so that it can be propagated later.

Tested-by: Stefan Hajnoczi <>
Acked-by: Stefan Hajnoczi <>
[AF: Rebased]
Signed-off-by: Andreas Färber <>...

179b417e 12/09/2013 10:46 pm Andreas Färber

virtio-blk: QOM realize preparations

Rename variable qdev -> dev since that's what realize's argument is called
by convention.

Signed-off-by: Andreas Färber <>
Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom