]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
qmp: use 'id' parameter instead of 'device'
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 6 Feb 2020 09:53:53 +0000 (10:53 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 6 Feb 2020 12:50:33 +0000 (13:50 +0100)
commit922869f22310b35b1a7bf8ead1558ab30f0c93a1
tree7d07d9a020637cd016b2d46e3c730ae70bef191e
parentce9fce7985bfbc595dc08ab29db618e0db6f5ac6
qmp: use 'id' parameter instead of 'device'

'device' is deprecated since 2.8 in favor of 'id' [0], but since we
always consistently set the id on our drives anyway we can substitute it
easily.

[0] see files qapi/block.json and qapi/block-core.json in QEMU source
code, the online documentation doesn't mention it AFAICT

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/QemuServer.pm