Subject: Re: problems hiding pci devices
To: None <port-xen@netbsd.org>
From: Evaldo Gardenali <evaldo@gardenali.biz>
List: port-xen
Date: 10/13/2005 02:29:28
This is a cryptographically signed message in MIME format.

--------------ms020905040000050407010209
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi!

Florian Heigl wrote:
> xen-host-2# pcictl pci1 list
> 002:06:0: Schneider & Koch product 0x9000 (ethernet network, revision 0x11)

just a reminder... you need to convert those numbers to hex, but in this 
case it doesnt matter ;)

> snippet from menu.lst:
> ----------------------
> title Xen 2.0 / NetBSD (hda0, vga)
>   root(hd0,0)
>   kernel (hd0,a)/xen.gz dom0_mem=524288
>   physdev_dom0_hide='(02:06.0)'
>   module (hd0,a)/netbsd-XEN0.gz root=/dev/hda1 ro console=tty0

Try this (a single line with all parameters, no quote on the pci dev):
kernel (hd0,a)/xen.gz dom0_mem=524288 physdev_dom0_hide=(02:06.0)

Random Boring Comment: too much ram on the administrative domain? (You 
are not supposed to run services on the domain0, and probably 64MB or 
128MB is more than enough)

Have fun

Evaldo

--------------ms020905040000050407010209
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILuDCC
BdgwggPAoAMCAQICAwEkXDANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wNTA1
MTgxMzQ2MzFaFw0wNjA1MTgxMzQ2MzFaMIGNMRkwFwYDVQQDExBFdmFsZG8gR2FyZGVuYWxp
MSMwIQYJKo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