On Mon, Mar 01, 2010 at 11:34:43PM +0100, Mark Hurenkamp
wrote:> Hi,
>
>
> Does anyone know if pvm pci passthrough is supposed to work on xen/next
> branch? I''m trying to get a device passed to the pvm, but things
don''t work
> the same as on xen/master (where i used pciback).
>
iirc xen/next is still missing some pci passthrough stuff.
Btw the module is called xen-pciback nowadays.
-- Pasi
> Here''s what i do on xen/master dom0:
> echo -n "0000:05:00.0" > /sys/bus/pci/drivers/cx23885/unbind
> echo -n "0000:05:00.0" > /sys/bus/pci/drivers/pciback/new_slot
> echo -n "0000:05:00.0" > /sys/bus/pci/drivers/pciback/bind
>
> Then when i boot the pvm using also xen/master kernel, it shows up on
lspci,
> and i can load the driver.
>
> But when i run xen/next dom0, pciback doesn''t seem to exist, so i
use pci-stub
> to grab the device:
>
> lspci -n
> 05:00.0 0400: 14f1:8852 (rev 02)
>
> echo -n "14f1 8852" > /sys/bus/pci/drivers/pci-stub/new_id
> echo -n "0000:05:00.0" > /sys/bus/pci/drivers/cx23885/unbind
> echo -n "0000:05:00.0" > /sys/bus/pci/drivers/pci-stub/bind
>
> Now i boot the same pvm using xen/next kernel, however nothing shows up on
> lspci after the pvm is up.
>
> Is this not working yet? Or am i just doing something wrong?
>
> My config file is the same for both, and contains the following:
>
> bootloader = "/usr/bin/pygrub"
> maxmem = 1024
> memory = 1024
> name = "pvm"
> vif = [ ''mac=aa:20:00:00:02:17, bridge=br0'' ]
> disk = [
> ''phy:mirror/pvm_root,hda1,w'',
> ''phy:mirror/pvm_swap,hda2,w'',
> ]
> pci = [
> ''0000:05:00.0''
> ]
> vcpus=2
>
>
>
> Regards,
> Mark.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users