malahal@us.ibm.com
2005-Jul-14 21:36 UTC
[Xen-devel] Does physdev_dom0_hide work with the unstable builds?
I used physdev_dom0_hide=''(01:00.0)'' but the device still shows up in the domain0. Is not supposed to work with the unstable builds? I am trying to use an Ethernet PCI card directly by a user domain. What is the easiest way to do that? Thanks in advance. Thanks, Malahal. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Pratt
2005-Jul-14 21:53 UTC
RE: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
> I used physdev_dom0_hide=''(01:00.0)'' but the device still > shows up in the domain0. Is not supposed to work with the > unstable builds?I''m afraid this feature is currently unavailable in unstable -- it was broken by the ACPI changes. I hope we can get it back before the final 3.0.0 release, but to my knowledge no-one is currently working on it. Ian> I am trying to use an Ethernet PCI card directly by a user domain. > What is the easiest way to do that? Thanks in advance. > > Thanks, Malahal. > > _______________________________________________ > 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
malahal@us.ibm.com
2005-Jul-14 22:38 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
So, how do I use my second Ethernet PCI card directly by a guest OS? I am a rookie, would appreciate if someone gives me all the relevant instructions. Thanks, Malahal. Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote:> > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > shows up in the domain0. Is not supposed to work with the > > unstable builds? > > I''m afraid this feature is currently unavailable in unstable -- it was > broken by the ACPI changes. I hope we can get it back before the final > 3.0.0 release, but to my knowledge no-one is currently working on it. > > Ian > > > I am trying to use an Ethernet PCI card directly by a user domain. > > What is the easiest way to do that? Thanks in advance. > > > > Thanks, Malahal. > > > > _______________________________________________ > > 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
Kevin Fox
2005-Jul-14 22:47 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
The physdev_dom0_hide seems to work ok for me on 2.0.6, but I still haven''t gotten a domU kernel to boot with physical access compiled in yet. Let me know if you figure it out. Thanks, Kevin On Thu, 2005-07-14 at 15:38 -0700, malahal@us.ibm.com wrote:> So, how do I use my second Ethernet PCI card directly by a guest OS? > I am a rookie, would appreciate if someone gives me all the relevant > instructions. > > Thanks, Malahal. > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > shows up in the domain0. Is not supposed to work with the > > > unstable builds? > > > > I''m afraid this feature is currently unavailable in unstable -- it was > > broken by the ACPI changes. I hope we can get it back before the final > > 3.0.0 release, but to my knowledge no-one is currently working on it. > > > > Ian > > > > > I am trying to use an Ethernet PCI card directly by a user domain. > > > What is the easiest way to do that? Thanks in advance. > > > > > > Thanks, Malahal. > > > > > > _______________________________________________ > > > 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Neugebauer, Rolf
2005-Jul-14 23:31 UTC
RE: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > bounces@lists.xensource.com] On Behalf Of malahal@us.ibm.com > Sent: 14 July 2005 23:39 > To: Ian Pratt > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] Does physdev_dom0_hide work with the unstable > builds? > > So, how do I use my second Ethernet PCI card directly by a guest OS? > I am a rookie, would appreciate if someone gives me all the relevant > instructions.As Ian said, this is currently broken in -unstable The reason is that PCI enumeration was moved from Xen into dom0 and dom0 currently doesn''t export the PCI config space to other domains. What needs to happen for -unstable is that dom0 needs to stop device drivers being started for specified devices and have a frontend/backend combination to allow other guests to scan "their" portion of the PCI config space. In 2.x this is done by Xen itself. In 2.x this should work. you need to hide the PCI device from dom0 and in the guest OS config file need to specify the PCI ID that domain should have access to. rolf> Thanks, Malahal. > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > shows up in the domain0. Is not supposed to work with the > > > unstable builds? > > > > I''m afraid this feature is currently unavailable in unstable -- itwas> > broken by the ACPI changes. I hope we can get it back before thefinal> > 3.0.0 release, but to my knowledge no-one is currently working onit.> > > > Ian > > > > > I am trying to use an Ethernet PCI card directly by a user domain. > > > What is the easiest way to do that? Thanks in advance. > > > > > > Thanks, Malahal. > > > > > > _______________________________________________ > > > 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2005-Jul-15 00:28 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
> The physdev_dom0_hide seems to work ok for me on 2.0.6, but I still > haven''t gotten a domU kernel to boot with physical access compiled in > yet. Let me know if you figure it out.Try using a Xen0 kernel in the dom0 - that should get you started. There are no security implications of this. The only difference is that xen0 kernel has more stuff compiled in, so it''s bigger. Cheers, Mark> Thanks, > Kevin > > On Thu, 2005-07-14 at 15:38 -0700, malahal@us.ibm.com wrote: > > So, how do I use my second Ethernet PCI card directly by a guest OS? > > I am a rookie, would appreciate if someone gives me all the relevant > > instructions. > > > > Thanks, Malahal. > > > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > > shows up in the domain0. Is not supposed to work with the > > > > unstable builds? > > > > > > I''m afraid this feature is currently unavailable in unstable -- it was > > > broken by the ACPI changes. I hope we can get it back before the final > > > 3.0.0 release, but to my knowledge no-one is currently working on it. > > > > > > Ian > > > > > > > I am trying to use an Ethernet PCI card directly by a user domain. > > > > What is the easiest way to do that? Thanks in advance. > > > > > > > > Thanks, Malahal. > > > > > > > > _______________________________________________ > > > > 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 > > _______________________________________________ > 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
Kevin Fox
2005-Jul-15 16:48 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
I assumed you meant Xen0 in domU. That worked. Thanks for the help. :) Can this tidbit be added to the user docs? I''m sure it would be useful to others. On Fri, 2005-07-15 at 01:28 +0100, Mark Williamson wrote:> > The physdev_dom0_hide seems to work ok for me on 2.0.6, but I still > > haven''t gotten a domU kernel to boot with physical access compiled in > > yet. Let me know if you figure it out. > > Try using a Xen0 kernel in the dom0 - that should get you started. There are > no security implications of this. The only difference is that xen0 kernel > has more stuff compiled in, so it''s bigger. > > Cheers, > Mark > > > Thanks, > > Kevin > > > > On Thu, 2005-07-14 at 15:38 -0700, malahal@us.ibm.com wrote: > > > So, how do I use my second Ethernet PCI card directly by a guest OS? > > > I am a rookie, would appreciate if someone gives me all the relevant > > > instructions. > > > > > > Thanks, Malahal. > > > > > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > > > shows up in the domain0. Is not supposed to work with the > > > > > unstable builds? > > > > > > > > I''m afraid this feature is currently unavailable in unstable -- it was > > > > broken by the ACPI changes. I hope we can get it back before the final > > > > 3.0.0 release, but to my knowledge no-one is currently working on it. > > > > > > > > Ian > > > > > > > > > I am trying to use an Ethernet PCI card directly by a user domain. > > > > > What is the easiest way to do that? Thanks in advance. > > > > > > > > > > Thanks, Malahal. > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > _______________________________________________ > > 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
Kevin Fox
2005-Jul-15 19:41 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
One more quick question. The xen0 kernel in domU works, but I can''t load modules in domU. With the same kernel, I can load modules in dom0. insmod /lib/modules/2.6.11.10-xen0/kernel/net/ipv4/netfilter/ip_tables.ko insmod: QM_MODULES: Function not implemented insmod: cannot open /proc/ksyms No such file or directory Any ideas? Thanks, Kevin On Fri, 2005-07-15 at 01:28 +0100, Mark Williamson wrote:> > The physdev_dom0_hide seems to work ok for me on 2.0.6, but I still > > haven''t gotten a domU kernel to boot with physical access compiled in > > yet. Let me know if you figure it out. > > Try using a Xen0 kernel in the dom0 - that should get you started. There are > no security implications of this. The only difference is that xen0 kernel > has more stuff compiled in, so it''s bigger. > > Cheers, > Mark > > > Thanks, > > Kevin > > > > On Thu, 2005-07-14 at 15:38 -0700, malahal@us.ibm.com wrote: > > > So, how do I use my second Ethernet PCI card directly by a guest OS? > > > I am a rookie, would appreciate if someone gives me all the relevant > > > instructions. > > > > > > Thanks, Malahal. > > > > > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > > > shows up in the domain0. Is not supposed to work with the > > > > > unstable builds? > > > > > > > > I''m afraid this feature is currently unavailable in unstable -- it was > > > > broken by the ACPI changes. I hope we can get it back before the final > > > > 3.0.0 release, but to my knowledge no-one is currently working on it. > > > > > > > > Ian > > > > > > > > > I am trying to use an Ethernet PCI card directly by a user domain. > > > > > What is the easiest way to do that? Thanks in advance. > > > > > > > > > > Thanks, Malahal. > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > _______________________________________________ > > 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
Mark Williamson
2005-Jul-15 20:42 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
> I assumed you meant Xen0 in domU. That worked. Thanks for the help. :)Ahhhhh, yes. You''re right of course (although what I actually said was strictly correct, it was completely useless ;-))> Can this tidbit be added to the user docs? I''m sure it would be useful > to others.If you get a chance, could you stick it in the Wiki somewhere? A "documentation wishlist" would be a good thing to have on the wiki, anyhow. We can then comb through this to update the docs before the next release. Cheers, Mark> On Fri, 2005-07-15 at 01:28 +0100, Mark Williamson wrote: > > > The physdev_dom0_hide seems to work ok for me on 2.0.6, but I still > > > haven''t gotten a domU kernel to boot with physical access compiled in > > > yet. Let me know if you figure it out. > > > > Try using a Xen0 kernel in the dom0 - that should get you started. There > > are no security implications of this. The only difference is that xen0 > > kernel has more stuff compiled in, so it''s bigger. > > > > Cheers, > > Mark > > > > > Thanks, > > > Kevin > > > > > > On Thu, 2005-07-14 at 15:38 -0700, malahal@us.ibm.com wrote: > > > > So, how do I use my second Ethernet PCI card directly by a guest OS? > > > > I am a rookie, would appreciate if someone gives me all the relevant > > > > instructions. > > > > > > > > Thanks, Malahal. > > > > > > > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > > > > shows up in the domain0. Is not supposed to work with the > > > > > > unstable builds? > > > > > > > > > > I''m afraid this feature is currently unavailable in unstable -- it > > > > > was broken by the ACPI changes. I hope we can get it back before > > > > > the final 3.0.0 release, but to my knowledge no-one is currently > > > > > working on it. > > > > > > > > > > Ian > > > > > > > > > > > I am trying to use an Ethernet PCI card directly by a user > > > > > > domain. What is the easiest way to do that? Thanks in advance. > > > > > > > > > > > > Thanks, Malahal. > > > > > > > > > > > > _______________________________________________ > > > > > > 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 > > > > > > _______________________________________________ > > > 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2005-Jul-15 20:48 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
> One more quick question. The xen0 kernel in domU works, but I can''t load > modules in domU. With the same kernel, I can load modules in dom0. > > insmod /lib/modules/2.6.11.10-xen0/kernel/net/ipv4/netfilter/ip_tables.ko > insmod: QM_MODULES: Function not implemented > > insmod: cannot open /proc/ksyms No such file or directory > > Any ideas?Seems odd. *Is* there a /proc/ksyms? Can you cat it? Cheers, Mark> Thanks, > Kevin > > On Fri, 2005-07-15 at 01:28 +0100, Mark Williamson wrote: > > > The physdev_dom0_hide seems to work ok for me on 2.0.6, but I still > > > haven''t gotten a domU kernel to boot with physical access compiled in > > > yet. Let me know if you figure it out. > > > > Try using a Xen0 kernel in the dom0 - that should get you started. There > > are no security implications of this. The only difference is that xen0 > > kernel has more stuff compiled in, so it''s bigger. > > > > Cheers, > > Mark > > > > > Thanks, > > > Kevin > > > > > > On Thu, 2005-07-14 at 15:38 -0700, malahal@us.ibm.com wrote: > > > > So, how do I use my second Ethernet PCI card directly by a guest OS? > > > > I am a rookie, would appreciate if someone gives me all the relevant > > > > instructions. > > > > > > > > Thanks, Malahal. > > > > > > > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > > > > shows up in the domain0. Is not supposed to work with the > > > > > > unstable builds? > > > > > > > > > > I''m afraid this feature is currently unavailable in unstable -- it > > > > > was broken by the ACPI changes. I hope we can get it back before > > > > > the final 3.0.0 release, but to my knowledge no-one is currently > > > > > working on it. > > > > > > > > > > Ian > > > > > > > > > > > I am trying to use an Ethernet PCI card directly by a user > > > > > > domain. What is the easiest way to do that? Thanks in advance. > > > > > > > > > > > > Thanks, Malahal. > > > > > > > > > > > > _______________________________________________ > > > > > > 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 > > > > > > _______________________________________________ > > > 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
Kevin Fox
2005-Jul-15 21:15 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
I checked to see if my insmod in domU was the same as the one in dom0 and they were different. I forgot to pin the domU to stable and it got upgraded to the one in debian unstable. I copied the insmod from dom0 to domU and gave it a try, and it works fine there. Apparently debian unstable has some issues... Sorry for the confusion. Thanks, Kevin PS, there isn''t a /proc/ksyms in either dom0 or domU On Fri, 2005-07-15 at 21:48 +0100, Mark Williamson wrote:> > One more quick question. The xen0 kernel in domU works, but I can''t load > > modules in domU. With the same kernel, I can load modules in dom0. > > > > insmod /lib/modules/2.6.11.10-xen0/kernel/net/ipv4/netfilter/ip_tables.ko > > insmod: QM_MODULES: Function not implemented > > > > insmod: cannot open /proc/ksyms No such file or directory > > > > Any ideas? > > Seems odd. *Is* there a /proc/ksyms? Can you cat it? > > Cheers, > Mark > > > > Thanks, > > Kevin > > > > On Fri, 2005-07-15 at 01:28 +0100, Mark Williamson wrote: > > > > The physdev_dom0_hide seems to work ok for me on 2.0.6, but I still > > > > haven''t gotten a domU kernel to boot with physical access compiled in > > > > yet. Let me know if you figure it out. > > > > > > Try using a Xen0 kernel in the dom0 - that should get you started. There > > > are no security implications of this. The only difference is that xen0 > > > kernel has more stuff compiled in, so it''s bigger. > > > > > > Cheers, > > > Mark > > > > > > > Thanks, > > > > Kevin > > > > > > > > On Thu, 2005-07-14 at 15:38 -0700, malahal@us.ibm.com wrote: > > > > > So, how do I use my second Ethernet PCI card directly by a guest OS? > > > > > I am a rookie, would appreciate if someone gives me all the relevant > > > > > instructions. > > > > > > > > > > Thanks, Malahal. > > > > > > > > > > Ian Pratt [m+Ian.Pratt@cl.cam.ac.uk] wrote: > > > > > > > I used physdev_dom0_hide=''(01:00.0)'' but the device still > > > > > > > shows up in the domain0. Is not supposed to work with the > > > > > > > unstable builds? > > > > > > > > > > > > I''m afraid this feature is currently unavailable in unstable -- it > > > > > > was broken by the ACPI changes. I hope we can get it back before > > > > > > the final 3.0.0 release, but to my knowledge no-one is currently > > > > > > working on it. > > > > > > > > > > > > Ian > > > > > > > > > > > > > I am trying to use an Ethernet PCI card directly by a user > > > > > > > domain. What is the easiest way to do that? Thanks in advance. > > > > > > > > > > > > > > Thanks, Malahal. > > > > > > > > > > > > > > _______________________________________________ > > > > > > > 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 > > > > > > > > _______________________________________________ > > > > 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
Rusty Russell
2005-Jul-17 17:06 UTC
Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds?
On Fri, 2005-07-15 at 12:41 -0700, Kevin Fox wrote:> One more quick question. The xen0 kernel in domU works, but I can''t load > modules in domU. With the same kernel, I can load modules in dom0. > > insmod /lib/modules/2.6.11.10-xen0/kernel/net/ipv4/netfilter/ip_tables.ko insmod: QM_MODULES: Function not implemented1) This is a dom0 module, 2) This is a 2.4 module utility message. Rusty. -- A bad analogy is like a leaky screwdriver -- Richard Braakman _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel