From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Cc: Anthony Perard <anthony.perard@citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: incorrect disk numbering with qemu
Date: Wed, 15 Jan 2014 18:12:44 +0100 [thread overview]
Message-ID: <20140115171244.GA2596@aepfle.de> (raw)
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"
next reply other threads:[~2014-01-15 17:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 17:12 Olaf Hering [this message]
2014-01-15 17:22 ` incorrect disk numbering with qemu 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140115171244.GA2596@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Campbell@citrix.com \
--cc=anthony.perard@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.