[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/6] block/qdev: Allow configuring WCE with q
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/6] block/qdev: Allow configuring WCE with qdev properties |
Date: |
Fri, 8 Jul 2016 17:21:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 06.07.2016 16:45, 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
- [Qemu-devel] [PATCH v3 3/6] commit: Fix use of error handling policy, (continued)
- [Qemu-devel] [PATCH v3 3/6] commit: Fix use of error handling policy, Kevin Wolf, 2016/07/06
- [Qemu-devel] [PATCH v3 5/6] qemu-iotests: Test setting WCE with qdev, Kevin Wolf, 2016/07/06
- [Qemu-devel] [PATCH v3 1/6] block/qdev: Allow node name for drive properties, Kevin Wolf, 2016/07/06
- [Qemu-devel] [PATCH v3 6/6] block: Remove BB options from blockdev-add, Kevin Wolf, 2016/07/06
- [Qemu-devel] [PATCH v3 4/6] block/qdev: Allow configuring rerror/werror with qdev properties, Kevin Wolf, 2016/07/06
- [Qemu-devel] [PATCH v3 2/6] block/qdev: Allow configuring WCE with qdev properties, Kevin Wolf, 2016/07/06
- Re: [Qemu-devel] [PATCH v3 2/6] block/qdev: Allow configuring WCE with qdev properties,
Max Reitz <=
- Re: [Qemu-devel] [PATCH v3 0/6] block: Move BB options from blockdev-add to qdev, Kevin Wolf, 2016/07/08