diff --git a/blk-virtio.c b/blk-virtio.c index c1274e9..34c00d4 100644 --- a/blk-virtio.c +++ b/blk-virtio.c @@ -15,8 +15,7 @@ struct device { }; static struct device device = { - .host_features = (1UL << VIRTIO_BLK_F_SEG_MAX) - | (1UL << VIRTIO_BLK_F_GEOMETRY) + .host_features = (1UL << VIRTIO_BLK_F_GEOMETRY) | (1UL << VIRTIO_BLK_F_TOPOLOGY) | (1UL << VIRTIO_BLK_F_BLK_SIZE), };