aboutsummaryrefslogtreecommitdiff
path: root/block/qcow.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-05-25 10:29:13 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-27 09:45:54 -0500
commit4099df586a0f16522383c4e4a9613e7c2dcd2491 (patch)
tree4ca7408b950130cebfcfcf75708e4b16e56f0f19 /block/qcow.c
parent94c6d6d815c0295b101b45a101007fcf22c5171a (diff)
downloadqemu-4099df586a0f16522383c4e4a9613e7c2dcd2491.zip
qemu-4099df586a0f16522383c4e4a9613e7c2dcd2491.tar.gz
qemu-4099df586a0f16522383c4e4a9613e7c2dcd2491.tar.bz2
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>
Diffstat (limited to 'block/qcow.c')
0 files changed, 0 insertions, 0 deletions