summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMarc-André Lureau2016-06-23 15:03:06 +0200
committerMarkus Armbruster2017-01-16 09:19:46 +0100
commitbe3e83cb8a81cf1cc863708b4caead7b9252f6fb (patch)
tree062e7cb97f0ec293ce5eff8c5e06bef84f23e30c /docs
parentqmp-commands: move 'x-blockdev-insert-medium' doc to schema (diff)
downloadqemu-be3e83cb8a81cf1cc863708b4caead7b9252f6fb.tar.gz
qemu-be3e83cb8a81cf1cc863708b4caead7b9252f6fb.tar.xz
qemu-be3e83cb8a81cf1cc863708b4caead7b9252f6fb.zip
qmp-commands: move 'blockdev-change-medium' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/qmp-commands.txt46
1 files changed, 0 insertions, 46 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 3f34512955..70de4a6067 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -387,52 +387,6 @@ Delete a quorum's node
"child": "children.1" } }
<- { "return": {} }
-blockdev-change-medium
-----------------------
-
-Changes the medium inserted into a block device by ejecting the current medium
-and loading a new image file which is inserted as the new medium.
-
-Arguments:
-
-- "device": block device name (deprecated, use @id instead)
- (json-string, optional)
-- "id": the name or QOM path of the guest device (json-string, optional)
-- "filename": filename of the new image (json-string)
-- "format": format of the new image (json-string, optional)
-- "read-only-mode": new read-only mode (json-string, optional)
- - Possible values: "retain" (default), "read-only", "read-write"
-
-Examples:
-
-1. Change a removable medium
-
--> { "execute": "blockdev-change-medium",
- "arguments": { "id": "ide0-1-0",
- "filename": "/srv/images/Fedora-12-x86_64-DVD.iso",
- "format": "raw" } }
-<- { "return": {} }
-
-2. Load a read-only medium into a writable drive
-
--> { "execute": "blockdev-change-medium",
- "arguments": { "id": "floppyA",
- "filename": "/srv/images/ro.img",
- "format": "raw",
- "read-only-mode": "retain" } }
-
-<- { "error":
- { "class": "GenericError",
- "desc": "Could not open '/srv/images/ro.img': Permission denied" } }
-
--> { "execute": "blockdev-change-medium",
- "arguments": { "id": "floppyA",
- "filename": "/srv/images/ro.img",
- "format": "raw",
- "read-only-mode": "read-only" } }
-
-<- { "return": {} }
-
trace-event-get-state
---------------------