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

Re: [Xen-devel] Re: Question on "xen-blkfront: handle Xen major numbers other than XENVBD"

On 13/07/11 17:19, Stefan Bader wrote:
> So for HVM they would be called hda in the cfg but sda in the domU.

Something like this caused a lot of confusion for folks around here:
they were expecting the _name_ used in the cfg to be the name in the
guest, ignoring the fact that neither hdX, xvdX nor sdX ever appear in a
Windows HVM.  Or indeed that, IDE, SCSI and SATA disks are all called
sdX nowadays.

As Stefan said, the name actually only tells you what sort of emulated
controller the disk is attached to: hd for IDE, sd for SCSI and xvd for
PV disks (no actual controller as such).    It might have been better to
have things like IDE(0,0), SCSI(0,3) and XVD(0) and let the guest OS
decide how to map those to names, much like it does for real hardware.


Xen-devel mailing list



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