Hi, I don''t see it in the sources. Is there a way that I could today, run a HVM domain with a PV network card? how to make it works? Thanks, Eric. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Sun, 2006-10-29 at 12:10 +0200, Eric Benton wrote:> I don''t see it in the sources. > Is there a way that I could today, run a HVM domain with a PV network > card?They are in the unmodified_drivers subdirectory of xen-unstable.hg. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks Ian... I''m feeling like I''m supposed to solve a riddle :-) 1. What''s all those patches? http://www.cl.cam.ac.uk/~sos22/pv-on-hvm/ 2. How do I incorporate these unmodified drivers in my build in order to create a working PV-on-HVM guest? Thanks in advance, Eric. On 10/29/06, Ian Campbell <Ian.Campbell@xensource.com> wrote:> > On Sun, 2006-10-29 at 12:10 +0200, Eric Benton wrote: > > I don''t see it in the sources. > > Is there a way that I could today, run a HVM domain with a PV network > > card? > > They are in the unmodified_drivers subdirectory of xen-unstable.hg. > > Ian. > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Sun, 2006-10-29 at 12:39 +0200, Eric Benton wrote:> Thanks Ian... > I''m feeling like I''m supposed to solve a riddle :-) > > 1. What''s all those patches? http://www.cl.cam.ac.uk/~sos22/pv-on-hvm/I''m not sure. I think they are probably Stevens patches from before they were merged into xen-unstable.> 2. How do I incorporate these unmodified drivers in my build in order > to create a working PV-on-HVM guest?There is a README in the unmodified_drivers subdirectory which explains what you need to do. It is basically the same as for building any out of tree driver: cd unmodified_drivers/linux-2.6 sh mkbuildtree i386 make -C /path/to/kernel/source M=$(pwd) modules modules_install The kernel source is usually pointed to by /lib/modules/$(uname -r)/build if you have the relevant kernel-headers package installed or if you built the kernel yourself. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> Thanks Ian... > I''m feeling like I''m supposed to solve a riddle :-) > > 1. What''s all those patches? http://www.cl.cam.ac.uk/~sos22/pv-on-hvm/Those are old versions of this stuff from before it got merged into mainline Xen. I''ve added a README warning people not to use them anymore; sorry for any confusion.> 2. How do I incorporate these unmodified drivers in my build in order to > create a working PV-on-HVM guest?You build a normal HVM guest, and then load these drivers in as modules. There''s a (very brief) readme in unmodified-drivers/linux-2.6 describing how to build and load them. Steven. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
1. Ok, thanks. 2. I didn''t understand how the PCI probing of a HVM is being done, if no new files were introduced to the hvm source tree (vmx). would you be kind to explain? The README states that we get 4 modules by doing so, that are needed to be loaded in a certain way (platform-pci first), so I guess that should be done in dom0. It''s kind of hard to know what to do If you don''t know the architecture. Thanks, Eric. On 10/29/06, Ian Campbell <Ian.Campbell@xensource.com> wrote:> > On Sun, 2006-10-29 at 12:39 +0200, Eric Benton wrote: > > Thanks Ian... > > I''m feeling like I''m supposed to solve a riddle :-) > > > > 1. What''s all those patches? http://www.cl.cam.ac.uk/~sos22/pv-on-hvm/ > > I''m not sure. I think they are probably Stevens patches from before they > were merged into xen-unstable. > > > 2. How do I incorporate these unmodified drivers in my build in order > > to create a working PV-on-HVM guest? > > There is a README in the unmodified_drivers subdirectory which explains > what you need to do. > > It is basically the same as for building any out of tree driver: > cd unmodified_drivers/linux-2.6 > sh mkbuildtree i386 > make -C /path/to/kernel/source M=$(pwd) modules modules_install > > The kernel source is usually pointed to by /lib/modules/$(uname > -r)/build if you have the relevant kernel-headers package installed or > if you built the kernel yourself. > > Ian. > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Sun, 2006-10-29 at 14:44 +0200, Eric Benton wrote:> 1. Ok, thanks. > 2. I didn''t understand how the PCI probing of a HVM is being done, if > no new files were introduced to the hvm source tree (vmx). would you > be kind to explain?There are no new files in the hvm source tree, that side of things is already included in xen 3.0.3.> The README states that we get 4 modules by doing so, that are needed > to be loaded in a certain way (platform-pci first), so I guess that > should be done in dom0. It''s kind of hard to know what to do If you > don''t know the architecture.The modules are the drivers to be loaded in your domU, there is nothing extra required in dom0. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
But all these supports are for PV-on-HVM for Linux, does Xen have any plan for PV-on-HVM for Windows? ----- Original Message ----- From: "Ian Campbell" <Ian.Campbell@XenSource.com> To: "Eric Benton" <benton71@gmail.com> Cc: <xen-devel@lists.xensource.com> Sent: Sunday, October 29, 2006 8:08 AM Subject: Re: [Xen-devel] PV-on-HVM Support> On Sun, 2006-10-29 at 14:44 +0200, Eric Benton wrote: >> 1. Ok, thanks. >> 2. I didn''t understand how the PCI probing of a HVM is being done, if >> no new files were introduced to the hvm source tree (vmx). would you >> be kind to explain? > > There are no new files in the hvm source tree, that side of things is > already included in xen 3.0.3. > >> The README states that we get 4 modules by doing so, that are needed >> to be loaded in a certain way (platform-pci first), so I guess that >> should be done in dom0. It''s kind of hard to know what to do If you >> don''t know the architecture. > > The modules are the drivers to be loaded in your domU, there is nothing > extra required in dom0. > > Ian. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel