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] [RFC] Virtual disk configuration, PV vs. emulated, backw

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] Virtual disk configuration, PV vs. emulated, backward compatibility etc
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 29 Jul 2010 16:07:18 +0100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 29 Jul 2010 08:07:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19537.38227.38120.755998@xxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <1280246290.5872.8932.camel@xxxxxxxxxxxxxxxxxxxxxx> <19536.21817.469833.377542@xxxxxxxxxxxxxxxxxxxxxxxx> <4C505E9E.2090109@xxxxxxxx> <19537.38227.38120.755998@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 29 Jul 2010, Ian Jackson wrote:
> Jeremy Fitzhardinge writes ("Re: [Xen-devel] [RFC] Virtual disk 
> configuration, PV vs. emulated, backward compatibility etc"):
> >   On 07/28/2010 09:05 AM, Ian Jackson wrote:
> > > For Linux HVM guests using PV-on-HVM drivers, users are recommended to
> > > supply as few hd* devices as possible and use pure xvd* devices for
> > > the rest.  Modern PV-on-HVM drivers will map the hd* devices to
> > > /dev/xvdHDa etc.
> > 
> > I think we've decided to make blkfront register pv versions of emulated 
> > devices as hdX/sdX rather than using xvdHD.  We don't do this in pv domains.
> 
> Stealing the major number from the ide and scsi drivers, or just the
> name ?
> 

Both

> What if the domain has real sd* devices too ?  (pvscsi, pvusb + usb
> mass storage, passthrough, ...)
> 

Clashes are theoretically possible but very hard to produce in practice.
We are "stealing" device names only for emulated IDE and SCSI disks, and
emulated SCSI disks don't even work at the moment. So you would need to
passthrough an IDE controller whose disks are configured as hd* (most
distros use sd* for IDE disks).
I think we are doing exactly what the user asked us to: setting up an
hdX device; in these very unlikely scenarios the user knows what he is
doing and can change the configuration.

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

<Prev in Thread] Current Thread [Next in Thread>