• M
    blockdev: read-only-mode for blockdev-change-medium · 39ff43d9
    Max Reitz 提交于
    Add an option to qmp_blockdev_change_medium() which allows changing the
    read-only status of the block device whose medium is changed.
    
    Some drives do not have a inherently fixed read-only status; for
    instance, floppy disks can be set read-only or writable independently of
    the drive. Some users may find it useful to be able to therefore change
    the read-only status of a block device when changing the medium.
    Signed-off-by: NMax Reitz <mreitz@redhat.com>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    39ff43d9
hmp.c 70.7 KB