qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] buffer alignment for block backends


From: Stefano Stabellini
Subject: Re: [Qemu-devel] buffer alignment for block backends
Date: Thu, 09 Apr 2009 14:30:42 +0100
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

Christoph Hellwig wrote:

> On Thu, Apr 09, 2009 at 11:07:28AM +0100, Stefano Stabellini wrote:
>> +    acb->bounce = qemu_blockalign(qiov->size);
> 
> Why don't you pass a BlockDriverState to it so that it automatically
> does the best alignment for the underlying driver?
> 

This is a good idea.

What if I add a new field to BlockDriverState called 'alignment'
defaulted to 512?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]