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

[Xen-devel] [PATCH 0 of 2] stubdoms and sector size > 512



Hi all,
currently stubdoms do not work with physical cdrom drives because they
usually have disk sectors of 2048 bytes, that are not supported
correctly by blkfront and block-vbd.
The first patch fixes blkfront handling of sector sizes greater than
512, while the second patch fixes block-vbd to bounce any read or write
request with a buffer not aligned, a sector number not aligned or an
offset not aligned according to the sector size reported by blkfront.

With these two patches applied, you should be able to use for example
'phy:/dev/cdrom,hdc:cdrom,r' in the disk configuration of the vm.
However there is still an issue trying to start a stubdom based guest
with a configuration of this kind, if no cdroms are actually present in
the drive. A patch to fix that issue will come shortly.

Cheers,

Stefano Stabellini

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.