On 06/27/2016 06:19 AM, Paolo Bonzini wrote: > > > 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.
Interesting idea; should be fairly easy to attempt. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature