OpenVZ Forum - RDF feed
type: channel
items: PCI Passthrough
items: Re: PCI Passthrough

PCI Passthrough
type: item
description: Hi! The Wiki documentation sounds like it would/should be possible to get a plain PCI device passed into a VE. The device is not really a network device/network card, so it's not not just a network driver. My - simple? - question is: how to do this (with vzctl)? The device to be exported: (lspci -s 01:09.0 -v -v): ************************************************************ ************************************************************ myHN:~# lspci -s 01:09.0 -v -v -k 01:09.0 Multimedia controller: Philips Semiconductors TriMedia TM1300 (rev 82) Subsystem: AVM GmbH Fritz!Card DSL Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64 (750ns min, 250ns max), Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 11 Region 0: Memory at fd800000 (32-bit, non-prefetchable) [size=8M] Region 1: Memory at fd600000 (32-bit, non-prefetchable) [size=2M] myHN:~# ************************************************************ ************************************************************ Related to this (primary) question: How to access the device from inside the VE/VPS? Loading modules? Thanks for any hints! P.S. All the above is running on amd64/4core machines
creator: fwse
date: 2009-08-23T16:05:31-00:00

Re: PCI Passthrough
type: item
description: No, this won't be possible by concept!! OpenVZ is an OS-level virtualization. That means that there is exactly one kernel and set of modules which are shared amongst all VEs. This is NOT like Xen! Using a PCI device inside a VE depends on the device driver. You can load the driver only on HN! Usually you will get a device node to access your device. In this case you can make the devicenode be accessible from a VE.
creator: divB
date: 2009-09-07T22:57:02-00:00

Re: PCI Passthrough
type: item
description: Quote: >Using a PCI device inside a VE depends on the device driver. You >can load the driver only on HN! >Usually you will get a device node to access your device. In this >case you can make the devicenode be accessible from a VE. QUESTION: How can I create this device node in the client? mknod says "no permission", creating it in Host (+moving to client) doesn't work, too, there is no permission to use the module and modprobe is not allowed. thanks, Andrew
creator: andreas2
date: 2009-09-08T14:45:32-00:00

Re: PCI Passthrough
type: item
description: vzctl --help ! Regards, divB
creator: divB
date: 2009-09-08T18:50:18-00:00