]> git.ipfire.org Git - thirdparty/qemu.git/commit
raw-posix: Don't use file name for host_cdrom detection on Linux
authorKevin Wolf <kwolf@redhat.com>
Thu, 2 Sep 2010 15:48:32 +0000 (17:48 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 13 Sep 2010 12:31:58 +0000 (14:31 +0200)
commit375d40709e55e132f7fe9d83acd4aa6e30d43971
treed3f6ecdcdc34ed886e66212e068e6cc055beafbc
parente632519ab82a5f9310427e7756dba880c86386d0
raw-posix: Don't use file name for host_cdrom detection on Linux

On Linux, we have code to detect CD-ROMs using an ioctl. We shouldn't lose
anything but false positives by removing the check for a /dev/cd* path.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 897804d6299af372a43110799cbe1d6804d5e1bc)
block/raw-posix.c