From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: incorrect disk numbering with qemu Date: Wed, 15 Jan 2014 18:12:44 +0100 Message-ID: <20140115171244.GA2596@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Anthony Perard , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org It seems qemu does not enumerate the configured disks correctly with a config like this: disk=[ 'raw:/some.iso,hda:cdrom,r', 'raw:/some.raw,xvda,w', ] With a PV guest it works fine, the guest has a hda and xvda device. But a HVM guest fails to start: qemu-system-i386: -drive file=/some.raw,if=ide,index=0,media=disk,format=raw,cache=writeback: drive with bus=0, unit=0 (index=0) exists I think that kind of config used to work with xend. Should the code which enumerates the disks be smarter? Olaf -- name="enum" memory=1024 disk=[ 'file:/some.iso,hda:cdrom,r', 'raw:/some.raw,xvda,r', ] vif=[ 'mac=00:16:3e:14:85:06,bridge=br0', ] vfb=['type=vnc,vncunused=1,keymap=de'] builder="linux" extra="ignore_loglevel xencons=hvc0 console=hvc0" kernel="/vmlinuz" ramdisk="/initrd" builder="hvm"