]> git.proxmox.com Git - 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>
Wed, 8 Sep 2010 10:39:16 +0000 (12:39 +0200)
commit897804d6299af372a43110799cbe1d6804d5e1bc
treeb44dbc5f752ef33cf923820b6ae0b78de1d31b9d
parentb407a81e70306e8199315e39576939dc7ac925d5
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>
block/raw-posix.c