[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/6] block/qdev: Allow configuring WCE with q
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/6] block/qdev: Allow configuring WCE with qdev properties |
Date: |
Sat, 2 Jul 2016 17:36:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 30.06.2016 16:13, Kevin Wolf wrote:
> As cache.writeback is a BlockBackend property and as such more related
> to the guest device than the BlockDriverState, we already removed it
> from the blockdev-add interface. This patch adds the new way to set it,
> as a qdev property of the corresponding guest device.
>
> For example: -drive if=none,file=test.img,node-name=img
> -device ide-hd,drive=img,write-cache=off
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> hw/block/block.c | 16 ++++++++++++++++
> hw/block/nvme.c | 1 +
> hw/block/virtio-blk.c | 1 +
> hw/ide/qdev.c | 1 +
> hw/scsi/scsi-disk.c | 1 +
> hw/usb/dev-storage.c | 1 +
> include/hw/block/block.h | 5 ++++-
> 7 files changed, 25 insertions(+), 1 deletion(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v2 2/6] block/qdev: Allow configuring WCE with qdev properties,
Max Reitz <=