qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 0/2] move qcow2_invalidate_cache() out of cor


From: Denis V. Lunev
Subject: Re: [Qemu-devel] [PATCH v2 0/2] move qcow2_invalidate_cache() out of coroutine context
Date: Tue, 23 Feb 2016 15:39:37 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 02/23/2016 01:47 PM, Amit Shah wrote:
Hi Denis,

On (Tue) 23 Feb 2016 [13:09:26], Amit Shah wrote:
On (Fri) 12 Feb 2016 [09:39:32], Denis V. Lunev wrote:
There is a possibility to hit an assert in qcow2_get_specific_info that
s->qcow_version is undefined. This happens when VM in starting from
suspended state, i.e. it processes incoming migration, and in the same
time 'info block' is called.

The problem is that qcow2_invalidate_cache() closes the image and
memset()s BDRVQcowState in the middle.

This operation should not be performed in coroutine context.

Changes from v1:
- fixed spelling. Eric, thank you for spell checking
BTW I noticed this just now: the commit subject line for both the
patches is the same.  Please avoid that in the future.
The pull req failed to apply due to another patchset - could you
please do a v3 with better subject lines for the patches?

Thanks,

                Amit
no prob, I'll send new patch later today.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]