|
From: | Kevin Wolf |
Subject: | Re: [PATCH v5 08/15] block: distinguish between bdrv_create running in coroutine and not |
Date: | Wed, 23 Nov 2022 17:55:33 +0100 |
Am 23.11.2022 um 12:42 hat Emanuele Giuseppe Esposito geschrieben: > Call two different functions depending on whether bdrv_create > is in coroutine or not, following the same pattern as > generated_co_wrapper functions. > > This allows to also call the coroutine function directly, > without using CreateCo or relying in bdrv_create(). > > Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |