[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 08/15] qcow2: set inactive flag
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 08/15] qcow2: set inactive flag |
Date: |
Fri, 4 Aug 2017 15:00:00 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 08/01/2017 09:19 AM, Anton Nefedov wrote:
> Qcow2State and BlockDriverState flags have to be in sync
>
> Signed-off-by: Anton Nefedov <address@hidden>
> ---
> block/qcow2.c | 1 +
> 1 file changed, 1 insertion(+)
Is this a bug fix needed for 2.10?
>
> diff --git a/block/qcow2.c b/block/qcow2.c
> index 66aa8c2..2a1d2f2 100644
> --- a/block/qcow2.c
> +++ b/block/qcow2.c
> @@ -2138,6 +2138,7 @@ static int qcow2_inactivate(BlockDriverState *bs)
>
> if (result == 0) {
> qcow2_mark_clean(bs);
> + s->flags |= BDRV_O_INACTIVE;
> }
>
> return result;
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v4 00/15] qcow2: space preallocation and COW improvements, Anton Nefedov, 2017/08/01
- [Qemu-devel] [PATCH v4 04/15] block: treat BDRV_REQ_ALLOCATE as serialising, Anton Nefedov, 2017/08/01
- [Qemu-devel] [PATCH v4 08/15] qcow2: set inactive flag, Anton Nefedov, 2017/08/01
- Re: [Qemu-devel] [PATCH v4 08/15] qcow2: set inactive flag,
Eric Blake <=
- [Qemu-devel] [PATCH v4 07/15] qcow2: preallocation at image expand, Anton Nefedov, 2017/08/01
- [Qemu-devel] [PATCH v4 01/15] mirror: inherit supported write/zero flags, Anton Nefedov, 2017/08/01
- [Qemu-devel] [PATCH v4 06/15] block: support BDRV_REQ_ALLOCATE in passthrough drivers, Anton Nefedov, 2017/08/01
- [Qemu-devel] [PATCH v4 05/15] file-posix: support BDRV_REQ_ALLOCATE, Anton Nefedov, 2017/08/01
- [Qemu-devel] [PATCH v4 09/15] qcow2: truncate preallocated space, Anton Nefedov, 2017/08/01
- [Qemu-devel] [PATCH v4 03/15] block: introduce BDRV_REQ_ALLOCATE flag, Anton Nefedov, 2017/08/01