qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/2] raw_bsd: Convert to byte-based interface


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 2/2] raw_bsd: Convert to byte-based interface
Date: Mon, 27 Jun 2016 14:19:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


On 24/06/2016 05:58, Eric Blake wrote:
> Since the raw format driver is just passing things through, we can
> do byte-based read and write if the underlying protocol does
> likewise.
> 
> There's one tricky part - if we probed the image format, we document
> that we restrict operations on the initial sector.  Rather than
> trying to handle a read-modify-write on the first sector, it's
> easiest to just include in our restrictions that partial writes to
> the first sector are not permitted.

Can we just set the alignment to at least 512 if probed?  It's the
practical guest alignment anyway.

Paolo



reply via email to

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