All of lore.kernel.org
 help / color / mirror / Atom feed
* PCI pass through vs. slot
@ 2006-12-05 18:41 ron minnich
  2006-12-06  8:39 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: ron minnich @ 2006-12-05 18:41 UTC (permalink / raw)
  To: xen-devel

I am a bit confused on the PCI stuff.

PASSTHRU-- does this mean that pcifront is not needed? Or only that
the PCI is not limited as it is with slot.

In general, none of the docs are getting me anywhere with xen 3.0.3.
Example: I run this:
  echo -n 0000:2:0.1>/sys/bus/pci/drivers/pciback/new_slot
  echo -n 0000:2:0.0>/sys/bus/pci/drivers/pciback/new_slot
  echo -n bind 0000:2:0.0 > /sys/bus/pci/drivers/pciback/bind
  echo -n bind 0000:2:0.1 > /sys/bus/pci/drivers/pciback/bind


It fails in one of two ways. If there is a driver present for that
device, the driver symlink has a value, and it seems that it can not
be changed to "pciback".

if there is no driver present, there is no driver symlink, and xen
seems not be be able to set it. So the domain can not be started.

Any good writeups on PCI passthrough? I need Plan 9 to have raw access
toa device.

ron

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PCI pass through vs. slot
  2006-12-05 18:41 PCI pass through vs. slot ron minnich
@ 2006-12-06  8:39 ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2006-12-06  8:39 UTC (permalink / raw)
  To: ron minnich, xen-devel




On 5/12/06 6:41 pm, "ron minnich" <rminnich@gmail.com> wrote:

> I am a bit confused on the PCI stuff.
> 
> PASSTHRU-- does this mean that pcifront is not needed? Or only that
> the PCI is not limited as it is with slot.

No, it means that the device address (bus,slot,fn) is 'passed through'
unmodified to pcifront, with no remapping. You still need pcifront!

 -- Keir

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-06  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 18:41 PCI pass through vs. slot ron minnich
2006-12-06  8:39 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.