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

RE: [Xen-devel] Re: How HVM domain distingush ioemu disk and VBD disk

To: "Anthony Liguori" <anthony@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: How HVM domain distingush ioemu disk and VBD disk
From: "Yu, Ke" <ke.yu@xxxxxxxxx>
Date: Tue, 12 Sep 2006 23:05:57 +0800
Delivery-date: Tue, 12 Sep 2006 08:07:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbWdTid9lL9+ptrTLeZ85612K1d6QABQ4UQ
Thread-topic: [Xen-devel] Re: How HVM domain distingush ioemu disk and VBD disk
Anthony Liguori wrote:
> 
> I assume that VBD means the paravirtual driver.  If so, we really
> shouldn't even give the option of exposing as hdX or sdX but rather
> only expose as xvdX (or whatever our assigned prefix it).
> 
> Might as well make it a policy for HVM before people start using
> something else.  Upstream will never allow us to hijack other
> major/minor numbers so we should stop doing it as soon as possible.
> 
> Of course, using our assigned names also solves your problem so it
> makes everyone happy :-)
> 
> Regards,
> 
> Anthony Liguori

Thanks for the info. Yes. xvdX works. I tried the following config. 
disk = [ 'file:/var/images/min-el3-i386.img,hda,w', 
'file:/var/images/data.img,xvda,w' ]
and I can mount /dev/xvda in HVM domain using PV driver.

One remaining issue is that: PV driver still complains "register_blkdev: cannot 
get major 3 for ide", since it will try to connect /dev/hda. This error message 
is confusing to user, althouhg it actually do no harm. 

Best Regards
Ke

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Re: How HVM domain distingush ioemu disk and VBD disk, Yu, Ke <=