mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-05 21:21:54 +00:00
kvm: Make virtio block device read-only
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
40ce993fd2
commit
cb938db96e
@@ -33,6 +33,7 @@ static struct device device = {
|
||||
.blk_size = 4096,
|
||||
},
|
||||
.host_features = (1UL << VIRTIO_BLK_F_GEOMETRY)
|
||||
| (1UL << VIRTIO_BLK_F_RO)
|
||||
| (1UL << VIRTIO_BLK_F_BLK_SIZE),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user