[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] qemu-io: Fix writethrough check in reopen
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-block] [PATCH] qemu-io: Fix writethrough check in reopen |
Date: |
Mon, 27 Aug 2018 11:10:46 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Tue 21 Aug 2018 06:18:57 PM CEST, Alberto Garcia wrote:
> "qemu-io reopen" doesn't allow changing the writethrough setting of
> the cache, but the check is wrong, causing an error even on a simple
> reopen with the default parameters:
>
> $ qemu-img create -f qcow2 hd.qcow2 1M
> $ qemu-system-x86_64 -monitor stdio -drive if=virtio,file=hd.qcow2
> (qemu) qemu-io virtio0 reopen
> Cannot change cache.writeback: Device attached
>
> Signed-off-by: Alberto Garcia <address@hidden>
This patch is now part of the "Misc reopen-related patches" series:
https://lists.gnu.org/archive/html/qemu-block/2018-08/msg00846.html
Berto