Re: [Qemu-devel] [PATCH 04/12] io: Make qio_channel_yield() interruptible

2019-02-19 Thread Kevin Wolf
Am 18.02.2019 um 18:11 hat Paolo Bonzini geschrieben: > On 18/02/19 17:18, Kevin Wolf wrote: > > Similar to how qemu_co_sleep_ns() allows to be preempted by an external > > coroutine entry, allow reentering qio_channel_yield() early. > > > > Signed-off-by: Kevin Wolf > > --- > >

Re: [Qemu-devel] [PATCH 04/12] io: Make qio_channel_yield() interruptible

2019-02-18 Thread Eric Blake
On 2/18/19 10:18 AM, Kevin Wolf wrote: > Similar to how qemu_co_sleep_ns() allows to be preempted by an external allows preemption from an external > coroutine entry, allow reentering qio_channel_yield() early. > > Signed-off-by: Kevin Wolf > --- > include/io/channel.h | 9 ++--- >

Re: [Qemu-devel] [PATCH 04/12] io: Make qio_channel_yield() interruptible

2019-02-18 Thread Paolo Bonzini
On 18/02/19 17:18, Kevin Wolf wrote: > Similar to how qemu_co_sleep_ns() allows to be preempted by an external > coroutine entry, allow reentering qio_channel_yield() early. > > Signed-off-by: Kevin Wolf > --- > include/io/channel.h | 9 ++--- > io/channel.c | 10 ++ > 2

[Qemu-devel] [PATCH 04/12] io: Make qio_channel_yield() interruptible

2019-02-18 Thread Kevin Wolf
Similar to how qemu_co_sleep_ns() allows to be preempted by an external coroutine entry, allow reentering qio_channel_yield() early. Signed-off-by: Kevin Wolf --- include/io/channel.h | 9 ++--- io/channel.c | 10 ++ 2 files changed, 16 insertions(+), 3 deletions(-) diff