qemu-patch-raspberry4/block
Christoph Hellwig 4099df586a raw-posix: fix hdev_create
We do need hdev_create unconditionally on all platforms so that qemu-img
create support for host device works on all platforms.

Also relax the check to allow character devices in addition to block
devices.  On many Unix platforms block devices have buffered block
nodes and unbuffered character device nodes, and on FreeBSD the block
nodes don't even exist anymore.  Also on Linux we do support the
/dev/sgN scsi passthrough devices through the host device driver,
and probably the old-style /dev/raw/rawN raw devices although I haven't
tested that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-27 09:45:54 -05:00
..
bochs.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cloop.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cow.c Convert all block drivers to new bdrv_create 2009-05-22 10:50:31 -05:00
curl.c Add HTTP protocol using curl v6 2009-05-22 10:50:35 -05:00
dmg.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
nbd.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
parallels.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
qcow.c qcow/qcow2: Drop synchronous qcow_write() 2009-05-27 09:45:10 -05:00
qcow2.c qcow2: Update multiple refcounts at once 2009-05-27 09:45:20 -05:00
raw-posix.c raw-posix: fix hdev_create 2009-05-27 09:45:54 -05:00
raw-win32.c Convert all block drivers to new bdrv_create 2009-05-22 10:50:31 -05:00
vmdk.c Convert all block drivers to new bdrv_create 2009-05-22 10:50:31 -05:00
vpc.c Convert all block drivers to new bdrv_create 2009-05-22 10:50:31 -05:00
vvfat.c Drop bdrv_create2 2009-05-27 09:45:23 -05:00