]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qmp-commands.hx
sPAPR: Introduce rtas_ldq()
[mirror_qemu.git] / qmp-commands.hx
index 5a5440636d46a16a7a0607082325f8cfd2bf0efe..d2ba800d5effaddcae4c437452ef1f67c0aaaaa9 100644 (file)
@@ -321,13 +321,18 @@ Remove a device.
 
 Arguments:
 
-- "id": the device's ID (json-string)
+- "id": the device's ID or QOM path (json-string)
 
 Example:
 
 -> { "execute": "device_del", "arguments": { "id": "net1" } }
 <- { "return": {} }
 
+Example:
+
+-> { "execute": "device_del", "arguments": { "id": "/machine/peripheral-anon/device[0]" } }
+<- { "return": {} }
+
 EQMP
 
     {
@@ -2192,6 +2197,23 @@ EQMP
         .mhandler.cmd_new = qmp_marshal_query_events,
     },
 
+SQMP
+query-qmp-schema
+----------------
+
+Return the QMP wire schema.  The returned value is a json-array of
+named schema entities.  Entities are commands, events and various
+types.  See docs/qapi-code-gen.txt for information on their structure
+and intended use.
+
+EQMP
+
+    {
+        .name       = "query-qmp-schema",
+        .args_type  = "",
+        .mhandler.cmd_new = qmp_query_qmp_schema,
+    },
+
 SQMP
 query-chardev
 -------------