Home
last modified time | relevance | path

Searched hist:"6700 dfb1b8c2828aa0c851136892c4774de87c95" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/block/
H A Dblock-gen.hdiff 6700dfb1b8c2828aa0c851136892c4774de87c95 Mon Nov 28 08:23:35 CST 2022 Emanuele Giuseppe Esposito <eesposit@redhat.com> block-coroutine-wrapper.py: support also basic return types

Extend the regex to cover also return type, pointers included.
This implies that the value returned by the function cannot be
a simple "int" anymore, but the custom return type.
Therefore remove poll_state->ret and instead use a per-function
custom "ret" field.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-Id: <20221128142337.657646-13-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/scripts/
H A Dblock-coroutine-wrapper.pydiff 6700dfb1b8c2828aa0c851136892c4774de87c95 Mon Nov 28 08:23:35 CST 2022 Emanuele Giuseppe Esposito <eesposit@redhat.com> block-coroutine-wrapper.py: support also basic return types

Extend the regex to cover also return type, pointers included.
This implies that the value returned by the function cannot be
a simple "int" anymore, but the custom return type.
Therefore remove poll_state->ret and instead use a per-function
custom "ret" field.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-Id: <20221128142337.657646-13-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>