From: "Eric Benton" Subject: Re: PV-on-HVM Support Date: Sun, 29 Oct 2006 14:44:04 +0200 Message-ID: <29545330610290444u77a1916bi62bd2fc173f7a6e6@mail.gmail.com> References: <29545330610290210s1d17a0a5gbcf337601bfef64e@mail.gmail.com> <1162117572.16379.76.camel@localhost.localdomain> <29545330610290239t84585cbp369ba2098b58e9d4@mail.gmail.com> <1162119937.16379.82.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1964044556==" Return-path: In-Reply-To: <1162119937.16379.82.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1964044556== Content-Type: multipart/alternative; boundary="----=_Part_64865_12444709.1162125844591" ------=_Part_64865_12444709.1162125844591 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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. > > ------=_Part_64865_12444709.1162125844591 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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.


------=_Part_64865_12444709.1162125844591-- --===============1964044556== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1964044556==--