From: Ian Campbell Subject: Re: incorrect disk numbering with qemu Date: Thu, 16 Jan 2014 11:49:52 +0000 Message-ID: <1389872992.6697.9.camel@kazak.uk.xensource.com> References: <20140115171244.GA2596@aepfle.de> <1389806527.3793.106.camel@kazak.uk.xensource.com> <20140115174510.GA5171@aepfle.de> <1389869890.6697.6.camel@kazak.uk.xensource.com> <20140116114411.GA29530@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140116114411.GA29530@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Anthony Perard , Stefano Stabellini , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-01-16 at 12:44 +0100, Olaf Hering wrote: > On Thu, Jan 16, Ian Campbell wrote: > > > Not quite. Each xvd[a-d] creates both a PV and an emulated IDE device > > hd[a-d], which refer to the same underlying volume. > > > > This allows you to boot from hda, do an unplug and then switch to using > > xvda. > > Not really: In the end hda is connected to the emulated IDE, so today > its really "sda" in domU because pata_piix will drive it. true. > sda was connected to emulated LSI SCSI. Where did this come from? Did you request it somehow? I don't believe there was ever an emulated SCSI controller by default. Are you sure that this sda wasn't referring to the same backing volume as xvda? > But xvda was not connected to any > emulated controller, its PV only. Are you sure it wasn't showing up with a different name? Or perhaps by enabling LSI SCSI you have suppressed the default IDE controllers. > Thats how it is done with qemu-trad. It was not *the* way though. > So having hda and xvda in the same config was working, and maybe even > supported? Maybe working, but not supported IMHO. > With qemu-upstream this appearently changed. I'm not saying this change > in behaviour is good or bad, just that something changed. Some people > still use the kernel names instead of UUID or LABEL. So they have to > adjust their config in domU and also in domU.cfg before they switch from > qemu-trad to qemu-upstream. > > > Olaf