[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] hmp: Allow using a qdev id in block_set_io_thro
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH] hmp: Allow using a qdev id in block_set_io_throttle |
Date: |
Tue, 8 May 2018 14:06:29 +0200 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
Am 09.03.2018 um 15:11 hat Alberto Garcia geschrieben:
> The QMP version of this command can take a qdev ID since 7a9877a02635,
> but the HMP version is still using the deprecated block device name so
> there's no way to refer to a block device added like this:
>
> -blockdev
> node-name=disk0,driver=qcow2,file.driver=file,file.filename=hd.qcow2
> -device virtio-blk-pci,id=virtio-blk-pci0,drive=disk0
>
> This patch works around this problem by using the specified name as a
> qdev ID if the block device name is not found.
>
> Signed-off-by: Alberto Garcia <address@hidden>
Thanks, applied to the block branch.
Kevin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-block] [PATCH] hmp: Allow using a qdev id in block_set_io_throttle,
Kevin Wolf <=