WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Restricting number of nics seen by Domain 0

To: Stephen Childs <Stephen.Childs@xxxxxxxxx>
Subject: Re: [Xen-users] Restricting number of nics seen by Domain 0
From: Czakó Krisztián <slapic@xxxxxxxxxxx>
Date: Fri, 27 May 2005 19:42:12 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 27 May 2005 17:42:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4295EDAC.8020004@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Pilátus-Comp Kft.
References: <4295EDAC.8020004@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2005-05-26, cs keltezéssel 16.39-kor Stephen Childs ezt írta:
> Alternatively if there is a Linux kernel parameter that can be used to 
> disable a NIC that would also do. (I have accidentally configured two NICs 
> with the same IP address and can't log into the (remote) machine over the 
> network, but I can get to the grub prompt over a serial-over-lan console so 
> hence am limited to what can be done with Xen/XenLinux kernel parameters).

You can hide a pci device if you know its id.
Add this to xen's boot parameters (kernel xen.gz etc...):
physdev_dom0_hide=(01:00.0)
this will hide the pci device 01:00.0 from domain0.
You still have to guess the right id... normally lspci does it.

Regards,
Slapic



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users