Modern PV on HVM kernels map hd* devices to xvd*. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> diff -r 137ad3347504 docs/misc/vbd-interface.txt --- a/docs/misc/vbd-interface.txt Mon Feb 14 17:02:55 2011 +0000 +++ b/docs/misc/vbd-interface.txt Wed Feb 16 16:57:46 2011 +0000 @@ -116,7 +116,7 @@ For Linux HVM guests using PV-on-HVM dri For Linux HVM guests using PV-on-HVM drivers, users are recommended to supply as few hd* devices as possible and use pure xvd* devices for the rest. Modern PV-on-HVM drivers will map the hd* devices to -/dev/xvdHDa etc. +/dev/xvd* etc. Some Linux HVM guests with broken PV-on-HVM drivers do not cope properly if both hda and hdc are supplied, nor with both hda and xvda, _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2011-Feb-16 17:05 UTC
Re: [Xen-devel] [PATCH] fix vbd-interface document
On Wed, 16 Feb 2011, Stefano Stabellini wrote:> Modern PV on HVM kernels map hd* devices to xvd*. > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > diff -r 137ad3347504 docs/misc/vbd-interface.txt > --- a/docs/misc/vbd-interface.txt Mon Feb 14 17:02:55 2011 +0000 > +++ b/docs/misc/vbd-interface.txt Wed Feb 16 16:57:46 2011 +0000 > @@ -116,7 +116,7 @@ For Linux HVM guests using PV-on-HVM dri > For Linux HVM guests using PV-on-HVM drivers, users are recommended to > supply as few hd* devices as possible and use pure xvd* devices for > the rest. Modern PV-on-HVM drivers will map the hd* devices to > -/dev/xvdHDa etc. > +/dev/xvd* etc.Sorry I sent it too quicky. It should be: +/dev/xvda etc. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, 2011-02-16 at 17:02 +0000, Stefano Stabellini wrote:> Modern PV on HVM kernels map hd* devices to xvd*. > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > diff -r 137ad3347504 docs/misc/vbd-interface.txt > --- a/docs/misc/vbd-interface.txt Mon Feb 14 17:02:55 2011 +0000 > +++ b/docs/misc/vbd-interface.txt Wed Feb 16 16:57:46 2011 +0000 > @@ -116,7 +116,7 @@ For Linux HVM guests using PV-on-HVM dri > For Linux HVM guests using PV-on-HVM drivers, users are recommended to > supply as few hd* devices as possible and use pure xvd* devices for > the rest. Modern PV-on-HVM drivers will map the hd* devices to > -/dev/xvdHDa etc. > +/dev/xvd* etc.xvdHDa was a proposal which never actually saw the light of day, right? Otherwise both need mentioning... _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2011-Feb-16 17:16 UTC
Re: [Xen-devel] [PATCH] fix vbd-interface document
On Wed, 16 Feb 2011, Ian Campbell wrote:> On Wed, 2011-02-16 at 17:02 +0000, Stefano Stabellini wrote: > > Modern PV on HVM kernels map hd* devices to xvd*. > > > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > > > diff -r 137ad3347504 docs/misc/vbd-interface.txt > > --- a/docs/misc/vbd-interface.txt Mon Feb 14 17:02:55 2011 +0000 > > +++ b/docs/misc/vbd-interface.txt Wed Feb 16 16:57:46 2011 +0000 > > @@ -116,7 +116,7 @@ For Linux HVM guests using PV-on-HVM dri > > For Linux HVM guests using PV-on-HVM drivers, users are recommended to > > supply as few hd* devices as possible and use pure xvd* devices for > > the rest. Modern PV-on-HVM drivers will map the hd* devices to > > -/dev/xvdHDa etc. > > +/dev/xvd* etc. > > xvdHDa was a proposal which never actually saw the light of day, right? >right _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, 2011-02-16 at 17:16 +0000, Stefano Stabellini wrote:> On Wed, 16 Feb 2011, Ian Campbell wrote: > > On Wed, 2011-02-16 at 17:02 +0000, Stefano Stabellini wrote: > > > Modern PV on HVM kernels map hd* devices to xvd*. > > > > > > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > > > > > diff -r 137ad3347504 docs/misc/vbd-interface.txt > > > --- a/docs/misc/vbd-interface.txt Mon Feb 14 17:02:55 2011 +0000 > > > +++ b/docs/misc/vbd-interface.txt Wed Feb 16 16:57:46 2011 +0000 > > > @@ -116,7 +116,7 @@ For Linux HVM guests using PV-on-HVM dri > > > For Linux HVM guests using PV-on-HVM drivers, users are recommended to > > > supply as few hd* devices as possible and use pure xvd* devices for > > > the rest. Modern PV-on-HVM drivers will map the hd* devices to > > > -/dev/xvdHDa etc. > > > +/dev/xvd* etc. > > > > xvdHDa was a proposal which never actually saw the light of day, right? > > > > rightGood, then: Acked-by: Ian Campbell <ian.campbell@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] fix vbd-interface
document"):> On Wed, 16 Feb 2011, Stefano Stabellini wrote:
> > diff -r 137ad3347504 docs/misc/vbd-interface.txt
> > --- a/docs/misc/vbd-interface.txt Mon Feb 14 17:02:55 2011 +0000
> > +++ b/docs/misc/vbd-interface.txt Wed Feb 16 16:57:46 2011 +0000
> > @@ -116,7 +116,7 @@ For Linux HVM guests using PV-on-HVM dri
> > For Linux HVM guests using PV-on-HVM drivers, users are recommended
to
> > supply as few hd* devices as possible and use pure xvd* devices for
> > the rest. Modern PV-on-HVM drivers will map the hd* devices to
> > -/dev/xvdHDa etc.
> > +/dev/xvd* etc.
>
> Sorry I sent it too quicky. It should be:
>
> +/dev/xvda etc.
I think this could do with some additional explanation and an
adjustment to the recommended setup. How about this.
Ian.
diff --git a/docs/misc/vbd-interface.txt b/docs/misc/vbd-interface.txt
index ce5ce4f..d97c458 100644
--- a/docs/misc/vbd-interface.txt
+++ b/docs/misc/vbd-interface.txt
@@ -114,9 +114,10 @@ only. Modern PV drivers will map these to
identically-named devices
in the guest.
For Linux HVM guests using PV-on-HVM drivers, users are recommended to
-supply as few hd* devices as possible and use pure xvd* devices for
-the rest. Modern PV-on-HVM drivers will map the hd* devices to
-/dev/xvdHDa etc.
+supply as few hd* devices as possible, and for the rest of the disks,
+to use pure xvd* devices starting at xvde. Modern PV-on-HVM drivers
+will map provided hd* devices to the corresponding /dev/xvd* (for
+example, hda is presented also as /dev/xvda).
Some Linux HVM guests with broken PV-on-HVM drivers do not cope
properly if both hda and hdc are supplied, nor with both hda and xvda,
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Stefano Stabellini
2011-Feb-17 18:38 UTC
Re: [Xen-devel] [PATCH] fix vbd-interface document
On Thu, 17 Feb 2011, Ian Jackson wrote:> Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] fix vbd-interface document"): > > On Wed, 16 Feb 2011, Stefano Stabellini wrote: > > > diff -r 137ad3347504 docs/misc/vbd-interface.txt > > > --- a/docs/misc/vbd-interface.txt Mon Feb 14 17:02:55 2011 +0000 > > > +++ b/docs/misc/vbd-interface.txt Wed Feb 16 16:57:46 2011 +0000 > > > @@ -116,7 +116,7 @@ For Linux HVM guests using PV-on-HVM dri > > > For Linux HVM guests using PV-on-HVM drivers, users are recommended to > > > supply as few hd* devices as possible and use pure xvd* devices for > > > the rest. Modern PV-on-HVM drivers will map the hd* devices to > > > -/dev/xvdHDa etc. > > > +/dev/xvd* etc. > > > > Sorry I sent it too quicky. It should be: > > > > +/dev/xvda etc. > > I think this could do with some additional explanation and an > adjustment to the recommended setup. How about this. >that''s a good idea _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] fix vbd-interface
document"):> On Thu, 17 Feb 2011, Ian Jackson wrote:
> > I think this could do with some additional explanation and an
> > adjustment to the recommended setup. How about this.
> >
>
> that''s a good idea
Thanks, I''ve applied it.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel