]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qmp-commands.hx
vhost-user-test: use tmpfs by default
[mirror_qemu.git] / qmp-commands.hx
index 66f03007ecd73fc1ad925755ca9891b1e7dd07ec..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
 
     {