|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] blkfront/back and sector size of 2048 with CDROM's
On 5/2/08 00:09, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:
> It looks like mounting a physical CDROM under the windows gpl pv drivers
> doesn't work, and I suspect that the problem is because the CDROM uses a
> sector size of 2048 instead of 512.
>
> Do the pages passed between the front and backend scale to using
> different sector sizes, or do I have to do some magic to fudge them back
> to 512?
The 'sectors' referenced in blkif requests are always 512 bytes. So if you
read 'sector-size' of 2048 from xenstore during blkif setup, that means that
the #sector alignments and sizes you send in requests must be multiples of
4.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|