WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0 of 2] stubdoms and sector size > 512
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 21 May 2009 12:40:46 +0100
Delivery-date: Thu, 21 May 2009 04:39:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 0 of 2] stubdoms and sector size > 512, Stefano Stabellini <=