[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Defining PCI values



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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.