From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Pfafferodt Subject: Re: giving access to device to another domain Date: Sat, 12 Feb 2005 01:08:30 +0100 Message-ID: <200502120108.30410.syntron@web.de> References: <20050210233832.10c5db98.matxen@matws.net> <200502102240.47899.maw48@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In-Reply-To: <200502102240.47899.maw48@cl.cam.ac.uk> Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Am Donnerstag, 10. Februar 2005 23:40 schrieb Mark Williamson: > > the physdev_dom0_hide permit to hide a device from dom0 in order to be > > used in a xenU. > > Yes. > > > I suppose i have to add a (device (pci (bus xx) (dev yy) (func zz))) in > > the configuration file of the xenU domain. Do i have to compile somethi= ng > > special in the kernel (like the device frontend/backend options) apart > > from the driver of the pci device i want to export to xenU ? > > You'll need a kernel with PCI support and a driver for the device in > question. YOu could just use the xen0 kernel. > > > If lspci report this device like this : 0000:00:11.0 > > How do i have to fill the xx yy and zz value in the config file (for bu= s, > > dev and function options) ? My guess is xx=3D0x00 (bus), yy=3D0x11 (dev= ) and > > zz=3D0x0 (func) > > Sounds sane. Note that the syntax is different for physdev_dom0_hide > (something like "physdev_dom0_hide=3D(00:11.0)" should work but you should > check your xm dmesg to be sure the device has been correctly hidden). The xen kernel option like 'physdev_dom0_hide=3D(00:0c.0)' is working for m= e. In=20 the config file for the domain 'pci =3D [ '0x00,0x0c,0x00' ]' and 'pci =3D= =20 [ '0,12,0' ]' are not working but 'pci =3D [ '00,0c,00' ]' works fine. =20 Shouldn't the first two work? =46rom the user manual: =2D-- schnip --- =46lat Format: Include a list of PCI device addresses of the format:=20 =20 pci =3D ['x,y,z', ...] =20 where each element in the list is a string specifying the components of th= e=20 PCI device address, separated by commas. The components (x, y and z) of the= =20 list may be formatted as either decimal or hexadecimal. =2D-- schnap --- regards Matthias > > Cheers, > Mark > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel =2D-=20 Der Nachteil an Linux ist, dass man sich irgendwann nicht mehr an den Installationsvorgang erinnern kann. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click