]> Git Repo - qemu.git/commit - ui/cocoa.m
blockdev: read-only-mode for blockdev-change-medium
authorMax Reitz <[email protected]>
Wed, 11 Nov 2015 03:49:44 +0000 (04:49 +0100)
committerKevin Wolf <[email protected]>
Wed, 11 Nov 2015 15:23:34 +0000 (16:23 +0100)
commit39ff43d9e1f42b1d829a955e546cddab87ac0626
tree40a4f937d8fe47ab085bf7950253c348a941e3d2
parent1068674927a08cb9f535946abe2f91529b13160c
blockdev: read-only-mode for blockdev-change-medium

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: Max Reitz <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
blockdev.c
hmp.c
qapi/block-core.json
qmp-commands.hx
qmp.c
ui/cocoa.m
This page took 0.021981 seconds and 4 git commands to generate.