All of lore.kernel.org
 help / color / mirror / Atom feed
* incorrect disk numbering with qemu
@ 2014-01-15 17:12 Olaf Hering
  2014-01-15 17:22 ` Ian Campbell
  0 siblings, 1 reply; 9+ messages in thread
From: Olaf Hering @ 2014-01-15 17:12 UTC (permalink / raw)
  To: xen-devel; +Cc: Anthony Perard, Ian Campbell, Stefano Stabellini


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"

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-01-16 15:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-15 17:12 incorrect disk numbering with qemu Olaf Hering
2014-01-15 17:22 ` Ian Campbell
2014-01-15 17:45   ` Olaf Hering
2014-01-16 10:58     ` Ian Campbell
2014-01-16 11:44       ` Olaf Hering
2014-01-16 11:49         ` Ian Campbell
2014-01-16 12:01           ` Olaf Hering
2014-01-16 15:15         ` Stefano Stabellini
2014-01-16 15:31           ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.