From: Anthony Liguori <anthony@codemonkey.ws>
To: xen-devel@lists.xensource.com
Subject: Re: How HVM domain distingush ioemu disk and VBD disk
Date: Tue, 12 Sep 2006 09:05:36 -0500 [thread overview]
Message-ID: <pan.2006.09.12.14.05.36.177259@codemonkey.ws> (raw)
In-Reply-To: 117E3EB5059E4E48ADFF2822933287A4F92CC6@pdsmsx404.ccr.corp.intel.com
On Tue, 12 Sep 2006 12:50:18 +0800, Yu, Ke wrote:
> Hi,
>
> From cset 10921, ioemu: prefix is removed from disk config in
> /etc/xen/xmexample.hvm. Now HVM VBD driver is available, this thus raises
> a question: how would HVM domain know if one disk is a qemu-dm disk or a
> VBD disk?
>
> From current implementation, qemu-dm will recognize disk had, hdb, hdc,
> hdd, and VBD drive can recognize all disk (had~hdd, hde, hdf ...) .
Huh. I didn't know we did that.
> So the
> result is: qemu-dm will mount /dev/hda-hdd, and VBD driver will mount the
> rest (/dev/hde,...).
I assume that VBD means the paravirtual driver. If so, we really
shouldn't even give the option of exposing as hdX or sdX but rather only
expose as xvdX (or whatever our assigned prefix it).
Might as well make it a policy for HVM before people start using something
else. Upstream will never allow us to hijack other major/minor numbers so
we should stop doing it as soon as possible.
Of course, using our assigned names also solves your problem so it makes
everyone happy :-)
Regards,
Anthony Liguori
> Actually, VBD will also try to mount /dev/hda..., but
> failed with error message "register_blkdev: cannot get major 3 for ide",
> since the /hda is already mounted as qemu-dm disk.
>
> This looks a litt bit confusing. So I just wonder: is this the expected
> behavor? Do we intend having some explicit mechanism to indentify ioemu
> disk and VBD disk?
>
> Best Regards
> Ke_______________________________________________ Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
prev parent reply other threads:[~2006-09-12 14:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-12 4:50 How HVM domain distingush ioemu disk and VBD disk Yu, Ke
2006-09-12 14:05 ` Anthony Liguori [this message]
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=pan.2006.09.12.14.05.36.177259@codemonkey.ws \
--to=anthony@codemonkey.ws \
--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.