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

[Xen-devel] incorrect disk numbering with qemu



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"

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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