Hi, Is James Harper / GPL PV drivers borrowed some GPL code from the Linux kernel related to enumering PCI devices on Windows or something like this? Can someone please clarify this. Thank you in advance. ~Shri _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Hi, > Is James Harper / GPL PV drivers > borrowed some GPL code from the Linux kernel related to enumering PCI devices > on Windows or something like this? > Can someone please clarify this. Thank you in advance.I'm not sure what the question is. I used the Linux PV stuff as inspiration for the GPLPV drivers and there is some direct cut & paste in there but Windows is sufficiently different to Linux that most of the work had to be done from scratch. Or maybe you asking about PCI passthrough? James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi james. Perhaps you can help me. So I have pic pass through working for an Nvidia card which is my 2nd graphics adapter. I wish to dedicate it to a particular domU. Besides adding the below line in my domU config file; pci = [''07:00.0''] What else do I need to do before compiling Nvidia drivers (I found a few write ups that tell you how to do this) in that domU? Incidentally, do you know how to make the above pci line work in the new domU config syntax? - Brian On Jan 7, 2010, at 5:03 PM, James Harper wrote:>> Hi, >> Is James Harper / GPL PV drivers >> borrowed some GPL code from the Linux kernel related to enumering >> PCI devices >> on Windows or something like this? >> Can someone please clarify this. Thank you in advance. > > I''m not sure what the question is. I used the Linux PV stuff as > inspiration for the GPLPV drivers and there is some direct cut & > paste in there but Windows is sufficiently different to Linux that > most of the work had to be done from scratch. > > Or maybe you asking about PCI passthrough? > > James > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Hi james. > > Perhaps you can help me. > > So I have pic pass through working for an Nvidia card which is my 2nd > graphics adapter. > > I wish to dedicate it to a particular domU. > > Besides adding the below line in my domU config file; > > pci = [''07:00.0''] > > What else do I need to do before compiling Nvidia drivers (I found a > few write ups that tell you how to do this) in that domU? > > Incidentally, do you know how to make the above pci line work in the > new domU config syntax? >Someone else is working on pci passthrough for GPLPV. It might be ready for some testing shortly. I''ve never used pci passthrough at all (well... not since xen 2.0 anyway) but from discussions I''ve had it appears that once PV drivers become present, Xen (or qemu at least) assumes that the PV drivers will handle the passthrough function instead of qemu. That may be incorrect though... hopefully someone else can enlighten me. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jan 07, 2010 at 05:15:28PM -0800, Brian Krusic wrote:> Hi james. > > Perhaps you can help me. > > So I have pic pass through working for an Nvidia card which is my 2nd > graphics adapter. > > I wish to dedicate it to a particular domU. > > Besides adding the below line in my domU config file; > > pci = [''07:00.0''] > > What else do I need to do before compiling Nvidia drivers (I found a > few write ups that tell you how to do this) in that domU? >VGA/graphics pci passthrough is pretty much different from a ''normal'' PCI passthrough (NIC, disk controller/HBA, usb host, sound card). VGA passthrough requires emulation of various legacy x86 memory ranges, IO ports, and whatnot. It also requires re-execution of VGA adapter BIOS in the guest. Various people have gotten it working with xen-unstable (upcoming Xen 4.0) but I think all of them needed some custom modified patches. Intel guys have been working on VGA passthrough stuff. See xen-devel mailinglist archives about Xen VGA passthrough. -- Pasi> Incidentally, do you know how to make the above pci line work in the > new domU config syntax? > > - Brian > > On Jan 7, 2010, at 5:03 PM, James Harper wrote: > > >>Hi, > >>Is James Harper / GPL PV drivers > >>borrowed some GPL code from the Linux kernel related to enumering > >>PCI devices > >>on Windows or something like this? > >>Can someone please clarify this. Thank you in advance. > > > >I''m not sure what the question is. I used the Linux PV stuff as > >inspiration for the GPLPV drivers and there is some direct cut & > >paste in there but Windows is sufficiently different to Linux that > >most of the work had to be done from scratch. > > > >Or maybe you asking about PCI passthrough? > > > >James > >_______________________________________________ > >Xen-users mailing list > >Xen-users@lists.xensource.com > >http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Pasi, just the info I was looking for. Thanks again. - Brian On Jan 7, 2010, at 10:20 PM, Pasi Kärkkäinen wrote:> On Thu, Jan 07, 2010 at 05:15:28PM -0800, Brian Krusic wrote: >> Hi james. >> >> Perhaps you can help me. >> >> So I have pic pass through working for an Nvidia card which is my 2nd >> graphics adapter. >> >> I wish to dedicate it to a particular domU. >> >> Besides adding the below line in my domU config file; >> >> pci = [''07:00.0''] >> >> What else do I need to do before compiling Nvidia drivers (I found a >> few write ups that tell you how to do this) in that domU? >> > > VGA/graphics pci passthrough is pretty much different from a ''normal'' > PCI passthrough (NIC, disk controller/HBA, usb host, sound card). > > VGA passthrough requires emulation of various legacy x86 memory > ranges, > IO ports, and whatnot. It also requires re-execution of VGA adapter > BIOS > in the guest. > > Various people have gotten it working with xen-unstable (upcoming > Xen 4.0) > but I think all of them needed some custom modified patches. > > Intel guys have been working on VGA passthrough stuff. > See xen-devel mailinglist archives about Xen VGA passthrough. > > -- Pasi > >> Incidentally, do you know how to make the above pci line work in the >> new domU config syntax? >> >> - Brian >> >> On Jan 7, 2010, at 5:03 PM, James Harper wrote: >> >>>> Hi, >>>> Is James Harper / GPL PV drivers >>>> borrowed some GPL code from the Linux kernel related to enumering >>>> PCI devices >>>> on Windows or something like this? >>>> Can someone please clarify this. Thank you in advance. >>> >>> I''m not sure what the question is. I used the Linux PV stuff as >>> inspiration for the GPLPV drivers and there is some direct cut & >>> paste in there but Windows is sufficiently different to Linux that >>> most of the work had to be done from scratch. >>> >>> Or maybe you asking about PCI passthrough? >>> >>> James >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users