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] Defining PCI values

To: "Dirk H. Schulz" <dirk.schulz@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Defining PCI values
From: Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx>
Date: Tue, 06 Sep 2005 22:34:34 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Sep 2005 12:31:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <431D4DEA.5080400@xxxxxxxxxxxxx>
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>
References: <431CB0BB.9090603@xxxxxxxxxxxxx> <431CDF48.5090803@xxxxxxxxxxxxxxxx> <431D4DEA.5080400@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.6 (X11/20050802)
Hi Dirk,

Just ignore the leading "0000"

so 0000:02:01.0 would be:
phys_dom0_hide=(02:01.0)
pci = ['02,01,0']

Marcus.

Dirk H. Schulz wrote:
> Hi Markus,
> 
> Marcus Brown schrieb:
> 
>> Hi Dirk,
>>
>> You'll find that grub's menu needs syntax like:
>> kernel          /xen-2.0.7.gz root=/dev/ram0 ro dom0_mem=131072
>> physdev_dom0_hide=(00:0a.0)(00:0b.0)(00:06.0)
>>
>> and that a domain config file needs:
>> pci = ['00,0b,0', '00,0a,0' ]
>>  
>>
> 
> I found both in your example configs in the firewall thread.
> 
>>> From memory this is explained in the xen users manual.
>>
>>  
>>
> That only states "The components (/x/, / y/ and /z/) of the list may be
> formatted as either decimal or hexadecimal".
> 
> My problem is: How do I *translate* from
> 
> 0000:02:01.0
> 
> 
> to these two notations? I still did not really comprehend what
> hexadecimal exactly is and I do not know what "0000:02:01.0" is ...
> 
> Somewhere I found a hint that the output of lspci can be used in both
> configs - that is why I tried that.
> 
> Thanks for your help.
> 
> Dirk
> 
>> Marcus.
>>
>>
>> Dirk H. Schulz wrote:
>>  
>>
>>> Hi folks,
>>>
>>> I am trying to set up a driver domain (I want to add a privileged domain
>>> that is responsible for network interfaces).
>>>
>>> lspci gives me the following values for my NICs:
>>>
>>> 0000:02:01.0 Ethernet controller: ....
>>> 0000.02.02.0 Ethernet controller: ....
>>>
>>> Now what do I have to write into the domain config file (pci =
>>> ['0000:02:01.0','0000:02:02.0'] is not accepted=?
>>> And what do I have to write into /boot/grub/menu.lst?
>>> physdev_dom0_hide=(0000:02:01.0)(0000:02:01.0) does not lead to hiding
>>> the two pci devices.
>>>
>>> I hope it is just a syntax error. :-)
>>>
>>> Dirk
>>>

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

<Prev in Thread] Current Thread [Next in Thread>