aboutsummaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-09-06 18:58:52 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-12 15:17:21 +0200
commit9e6a4c9177bc95aa04438458d75442e80db9ad33 (patch)
treeeee4af4845c084f5a78fe0cea533565b9c85198f /blockdev.c
parent2c6942fa7b332a95286071b92d233853e1000948 (diff)
downloadqemu-9e6a4c9177bc95aa04438458d75442e80db9ad33.zip
qemu-9e6a4c9177bc95aa04438458d75442e80db9ad33.tar.gz
qemu-9e6a4c9177bc95aa04438458d75442e80db9ad33.tar.bz2
block: Drop BlockDriverState member removable
It's a confused mess (see previous commit). No users remain. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
-rw-r--r--blockdev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/blockdev.c b/blockdev.c
index ddf1f8f..154cc84 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -473,17 +473,12 @@ DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi)
}
break;
case MEDIA_CDROM:
- bdrv_set_removable(dinfo->bdrv, 1);
dinfo->media_cd = 1;
break;
}
break;
case IF_SD:
- /* FIXME: This isn't really a floppy, but it's a reasonable
- approximation. */
case IF_FLOPPY:
- bdrv_set_removable(dinfo->bdrv, 1);
- break;
case IF_PFLASH:
case IF_MTD:
break;