From: Stefano Stabellini Subject: Re: [RFC] Virtual disk configuration, PV vs. emulated, backward compatibility etc Date: Thu, 29 Jul 2010 16:59:33 +0100 Message-ID: References: <1280246290.5872.8932.camel@zakaz.uk.xensource.com> <19536.21817.469833.377542@mariner.uk.xensource.com> <4C505E9E.2090109@goop.org> <19537.38227.38120.755998@mariner.uk.xensource.com> <19537.41521.772417.34655@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <19537.41521.772417.34655@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Ian Campbell , Jeremy Fitzhardinge , xen-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 29 Jul 2010, Ian Jackson wrote: > Stefano Stabellini writes ("Re: [Xen-devel] [RFC] Virtual disk configuration, PV vs. emulated, backward compatibility etc"): > > On Thu, 29 Jul 2010, Ian Jackson wrote: > > > 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). > > There are definitely people who are using emulated scsi disks; perhaps > they just haven't updated yet. I am not so sure about that > > > 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. > > Well, no, they can't, because their bootloader probably doesn't > understand anything besides what they're actually using. > they only have to change the device name, not the device class > Certainly stealing the major number for scsi disks seems quite > dangerous. pv-usb is hardly that unlikely a scenario. we are not doing that for pvusb