|
From: | Eric Blake |
Subject: | Re: [Qemu-block] [Qemu-devel] [PATCH 2/8] qcow2: make qcow2_co_create2() a coroutine_fn |
Date: | Thu, 1 Mar 2018 16:56:17 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 03/01/2018 10:36 AM, Paolo Bonzini wrote:
From: Stefan Hajnoczi <address@hidden> qcow2_create2() calls qemu_co_mutex_lock(). Only a coroutine_fn may call another coroutine_fn. In fact, qcow2_create2 is always called from coroutine context. Rename the function to add the "co" moniker and add coroutine_fn. Reported-by: Marc-André Lureau <address@hidden> Signed-off-by: Stefan Hajnoczi <address@hidden> Message-Id: <address@hidden> Signed-off-by: Paolo Bonzini <address@hidden> Message-Id: <address@hidden> Signed-off-by: Paolo Bonzini <address@hidden>
More of the funny double-Message-Id/S-o-b. Reviewed-by: Eric Blake <address@hidden> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |