From: Stefan Bader <stefan.bader@canonical.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Rzeszutek@rly20j.srv.mailcontrol.com,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Wilk <konrad.wilk@oracle.com>,
"Konrad@rly45j.srv.mailcontrol.com"
<Konrad@rly45j.srv.mailcontrol.com>,
Alex Bligh <alex@alex.org.uk>
Subject: Re: xen_emul_unplug on xen 4.1, HVM guest 2.6.38
Date: Thu, 27 Oct 2011 15:48:33 +0200 [thread overview]
Message-ID: <4EA96131.4090906@canonical.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1110271436100.3519@kaball-desktop>
On 27.10.2011 15:42, Stefano Stabellini wrote:
> I take we are still talking about PV on HVM guests here.
>
> On Thu, 27 Oct 2011, Stefan Bader wrote:
>> At least one part is not Ubuntu specific. And that is that the unplug logic
>> decides to unplug emulated devices based on having the pci and the blkfront
>> driver *available* (built-in or module). But later on the blkfront driver
>> ignores all devices that are not *named* in a way to map to the xvd major.
>> Which leaves you without any usable devices when you named your disk hda in
>> the config file and you do not prevent unplugging.
>
> If you name your disk hda (as you should), blkfront is going to create
> /dev/xvda in your guest.
> It is not ignoring your disk, it just using "xvd" to name the device in
> the guest.
>
>
>> Still I would love to see this unplug handling become a bit more obvious. If
>> unplug was successful, then blkfront should not ignore the devices. Or maybe
>> just make the config more what-you-write-is-what-you-get and having hd or sd
>> there only gives you emulated devices and xvd gives you pv devices.
>
> Yes, if the unplug is unsuccessful blkfront should not ignore the
> device: it is going to create a /dev/xvd* for you.
Hm, did you mean unsuccessful? Because then I think it *should* ignore the pv
disk. If it was successful then it *should not*. Or am I understanding this wrong?
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2011-10-27 13:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 13:17 xen_emul_unplug on xen 4.1, HVM guest 2.6.38 Alex Bligh
2011-10-26 13:49 ` Konrad Rzeszutek Wilk
2011-10-26 14:12 ` Pasi Kärkkäinen
2011-10-26 14:47 ` Alex Bligh
2011-10-26 14:56 ` Ian Campbell
2011-10-26 15:59 ` Pasi Kärkkäinen
2011-10-26 16:22 ` Ian Campbell
2011-10-26 16:25 ` Alex Bligh
2011-10-26 16:43 ` Ian Campbell
2011-10-27 8:02 ` Stefan Bader
2011-10-27 13:42 ` Stefano Stabellini
2011-10-27 13:45 ` Stefan Bader
2011-10-27 14:08 ` Stefano Stabellini
2011-10-27 14:13 ` Stefan Bader
2011-10-27 14:25 ` Stefano Stabellini
2011-10-27 14:46 ` Stefan Bader
2011-10-27 13:48 ` Stefan Bader [this message]
2011-10-27 14:09 ` Stefano Stabellini
2011-10-26 15:54 ` Pasi Kärkkäinen
-- strict thread matches above, loose matches on Subject: below --
2011-10-26 17:43 Alex Bligh
2011-10-27 9:27 ` Ian Campbell
2011-10-27 13:13 ` Konrad Rzeszutek Wilk
2011-10-27 13:27 ` Stefano Stabellini
2011-10-27 13:35 ` Ian Campbell
2011-10-27 13:18 ` Alex Bligh
2011-10-27 13:35 ` Stefano Stabellini
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=4EA96131.4090906@canonical.com \
--to=stefan.bader@canonical.com \
--cc=Ian.Campbell@citrix.com \
--cc=Konrad@rly45j.srv.mailcontrol.com \
--cc=Rzeszutek@rly20j.srv.mailcontrol.com \
--cc=alex@alex.org.uk \
--cc=konrad.wilk@oracle.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.