[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] coroutine: add libucontext as external library
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH] coroutine: add libucontext as external library |
Date: |
Tue, 9 Mar 2021 10:32:22 +0000 |
User-agent: |
Mutt/2.0.5 (2021-01-21) |
On Tue, Mar 09, 2021 at 10:20:07AM +0000, Peter Maydell wrote:
> On Tue, 9 Mar 2021 at 09:59, Joelle van Dyne <j@getutm.app> wrote:
> >
> > On Tue, Mar 9, 2021 at 1:36 AM Daniel P. Berrangé <berrange@redhat.com>
> > wrote:
> > > The README here:
> > >
> > > https://github.com/kaniini/libucontext
> > >
> > > indicates that it is intentionally limiting what registers it saves
> > > and restores, explicitly excluding FPU.
> > >
> > > Peter & Paolo expressed concern about this, indicating FPU reg support
> > > was a requirement for QEMU:
> > >
> > > https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg05525.html
> > >
> > Does it make a difference if this is provided as an option and not as
> > a replacement? Would it make sense to add some warning at configure
> > time? Right now none of the concurrency backends are supported on iOS
> > and it's possible support will go away on macOS as well in the future.
> > QEMU would not be able to run at all.
>
> We don't currently support iOS; if we add it we definitely don't
> want to add it as a "we know this has buggy coroutine support"
> target, because that's a path to weird hard-to-diagnose bugs.
If we consider the biggest coroutine user is the block layer, then
"hard to diagnose bugs" may easily translate to "hard to disagnose
data corruption of your guest disks", which is even worse.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH] coroutine: add libucontext as external library, Joelle van Dyne, 2021/03/08
- Re: [PATCH] coroutine: add libucontext as external library, Daniel P . Berrangé, 2021/03/09
- Re: [PATCH] coroutine: add libucontext as external library, Joelle van Dyne, 2021/03/09
- Re: [PATCH] coroutine: add libucontext as external library, Paolo Bonzini, 2021/03/09
- Re: [PATCH] coroutine: add libucontext as external library, Daniel P . Berrangé, 2021/03/09
- Re: [PATCH] coroutine: add libucontext as external library, Marc-André Lureau, 2021/03/09
- Re: [PATCH] coroutine: add libucontext as external library, Paolo Bonzini, 2021/03/09
Re: [PATCH] coroutine: add libucontext as external library, Stefan Hajnoczi, 2021/03/09