[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Do we need CONFIG_AIO?
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] Do we need CONFIG_AIO? |
Date: |
Mon, 25 May 2009 14:29:29 +0200 |
User-agent: |
Mutt/1.3.28i |
On Mon, May 25, 2009 at 12:49:08PM +0100, Stefano Stabellini wrote:
> > Currently all aio code in the raw-posix block driver depends on a
> > CONFIG_AIO symbol that gets set based on the availability of the
> > pthreads library. Beeing able to rely on unconditional aio support
> > means we could remove the whole code for plain bdrv_read/bdrv_write
> > in raw-posix.c which is about 300 lines of code and a duplicated code
> > path. Is there any Posix-ish platform qemu supports that does not
> > have pthreads support?
> >
>
> MiniOS.
> I would appreciate if you keep that flag.
I can't find MiniOS mentioned anywhere in the qemu tree. From googling
around it seems to be some Xen demo kernel. Do you plan to merge
support for it one day? And what's the use case for qemu on MiniOS?
If it's anything performance sensitive the lack of aio will cause quite
severe stalling of the guest.
Re: [Qemu-devel] Do we need CONFIG_AIO?, Anthony Liguori, 2009/05/26