|
From: | Alberto Garcia |
Subject: | Re: [Qemu-devel] [Qemu-block] [PATCH] block: add block_set_io_throttle virtio-blk-pci QMP example |
Date: | Wed, 17 Jan 2018 11:11:48 +0100 |
User-agent: | Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Wed 17 Jan 2018 10:07:00 AM CET, Stefan Hajnoczi wrote: > The block_set_io_throttle command can look up BlockBackends by the > attached qdev device ID. virtio-blk-pci is a special case because the > actual VirtIOBlock device is the "/virtio-backend" child of the PCI > adapter device. > > Add a QMP schema example so clients will know how to use > block_set_io_throttle on the virtio-blk-pci device. > > The alternative is to implement some sort of aliasing for qmp_get_blk() > but that is likely to cause confusion and could break future use cases. > Let's not go there. > > Cc: Kevin Wolf <address@hidden> > Signed-off-by: Stefan Hajnoczi <address@hidden> Reviewed-by: Alberto Garcia <address@hidden> Berto
[Prev in Thread] | Current Thread | [Next in Thread] |