[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] buffer alignment for block backends
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] buffer alignment for block backends |
Date: |
Thu, 9 Apr 2009 16:38:51 +0100 |
User-agent: |
KMail/1.9.9 |
On Thursday 09 April 2009, Samuel Thibault wrote:
> Anthony Liguori, le Thu 09 Apr 2009 08:11:27 -0500, a écrit :
> > >- ide.c:ide_init2
> >
> > This buffer is only used when not doing DMA. When doing DMA, we are
> > able to do zero-copy IO so the alignment of the request depends on how
> > the guest aligned the request. I suspect you'll find a lot of guests
> > that, in practice, do not align requests at 4k boundaries.
>
> Eeeeerrr, why shoudn't they? Guests usually work on pages, which are
> already aligned on 4k boundaries.
Assuming that page == 4k is going to get you into all sorts of trouble.
Paul
- Re: [Qemu-devel] buffer alignment for block backends, (continued)
- Re: [Qemu-devel] buffer alignment for block backends, Stefano Stabellini, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Gerd Hoffmann, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Stefano Stabellini, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Samuel Thibault, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Anthony Liguori, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Jamie Lokier, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Samuel Thibault, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Lennart Sorensen, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Stefano Stabellini, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Samuel Thibault, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends,
Paul Brook <=
- Re: [Qemu-devel] buffer alignment for block backends, Samuel Thibault, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Anthony Liguori, 2009/04/09
- Re: [Qemu-devel] buffer alignment for block backends, Samuel Thibault, 2009/04/09
Re: [Qemu-devel] buffer alignment for block backends, Stefano Stabellini, 2009/04/09
Re: [Qemu-devel] buffer alignment for block backends, Christoph Hellwig, 2009/04/09
Re: [Qemu-devel] buffer alignment for block backends, Stefano Stabellini, 2009/04/09
Re: [Qemu-devel] buffer alignment for block backends, Christoph Hellwig, 2009/04/09