aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-blk.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 /hw/virtio-blk.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 'hw/virtio-blk.c')
-rw-r--r--hw/virtio-blk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index d5d4757..6d1a7cf 100644
--- a/hw/virtio-blk.c
+++ b/hw/virtio-blk.c
@@ -599,7 +599,6 @@ VirtIODevice *virtio_blk_init(DeviceState *dev, BlockConf *conf,
s->qdev = dev;
register_savevm(dev, "virtio-blk", virtio_blk_id++, 2,
virtio_blk_save, virtio_blk_load, s);
- bdrv_set_removable(s->bs, 0);
bdrv_set_dev_ops(s->bs, &virtio_block_ops, s);
s->bs->buffer_alignment = conf->logical_block_size;