commit | 98f28ad7a7d26e5e77c5cb37b262d76d6ccd963d | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Tue Jul 06 14:37:44 2010 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jul 13 17:48:17 2010 +0200 |
tree | a17198bf6887562708d62a0cf13b17777645cd67 | |
parent | d75d25e34e4b4eb6a18122b5fa3baac70cea0f2b [diff] |
ide scsi virtio-blk: Reject empty drives unless media is removable Disks without media make no sense. For SCSI, a Linux guest kernel complains during boot. I didn't try other combinations. scsi-generic doesn't need the additional check, because it already requires bdrv_is_sg(), which fails without media. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>