[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] PCI passthrough for multiple device not working.



Hi,

PCI passthrough for multiple device not working

I have install xcp-xapi package and created one Ubuntu domain(domU).

For PCI passthrough I did-

On dom0
root@dom0:~# xe vm-param-set other-config:pci=0/0000:00:00.0,1/0000:00:1b.0 uuid=11ee7266-1de8-a8fa-f786-db3dce38680c

On domU
root@dd-domu:~# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)


Here I can only see single device, I want to passthough multiple devices.

Please let me know what I am missing here.


dom0 kernel logs-
root@dom0:~# vi /var/log/kern.log
Sep 19 06:07:44 dom0 kernel: [   12.097800] type=1400 audit(1379585264.895:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=944 comm="apparmor_parser"
Sep 19 06:07:44 dom0 kernel: [   12.155402] Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
Sep 19 06:07:45 dom0 kernel: [   12.202582] HDMI status: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=0
Sep 19 06:07:45 dom0 kernel: [   12.202734] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input3
Sep 19 06:07:45 dom0 kernel: [   12.202971] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
Sep 19 06:07:45 dom0 kernel: [   12.655129] XENBUS: Unable to read cpu state
Sep 19 06:07:45 dom0 kernel: [   12.655951] XENBUS: Unable to read cpu state
Sep 19 06:07:45 dom0 kernel: [   12.656677] XENBUS: Unable to read cpu state
Sep 19 06:07:45 dom0 kernel: [   12.657396] XENBUS: Unable to read cpu state
Sep 19 06:07:54 dom0 kernel: [   21.643100] eth0: no IPv6 routers present
Sep 19 06:07:55 dom0 kernel: [   22.443098] xenbr0: no IPv6 routers present
Sep 19 06:07:59 dom0 kernel: [   26.475100] xenbr0: port 1(eth0) entering forwarding state
Sep 19 06:08:54 dom0 kernel: [   81.594834] Disabling lock debugging due to kernel taint
Sep 19 06:08:54 dom0 kernel: [   81.595317] blktap_device_init: blktap device major 251
Sep 19 06:08:54 dom0 kernel: [   81.595320] blktap_ring_init: blktap ring major: 249
Sep 19 06:08:57 dom0 kernel: [   85.033702] kjournald starting.  Commit interval 5 seconds
Sep 19 06:08:57 dom0 kernel: [   85.037354] EXT3-fs (dm-0): using internal journal
Sep 19 06:08:57 dom0 kernel: [   85.037361] EXT3-fs (dm-0): mounted filesystem with ordered data mode
Sep 19 06:08:58 dom0 kernel: [   85.794472] block tda: sector-size: 512/512+0 capacity: 59748352 discard: 0+0 flush: 0x0
Sep 19 06:09:00 dom0 kernel: [   87.667460] block tda: sector-size: 512/512+0 capacity: 59748352 discard: 0+0 flush: 0x0
Sep 19 06:09:00 dom0 kernel: [   87.907229] device vif1.0 entered promiscuous mode
Sep 19 06:09:00 dom0 kernel: [   87.909079] ADDRCONF(NETDEV_UP): vif1.0: link is not ready
Sep 19 06:09:00 dom0 kernel: [   88.142346] xen-blkback:ring-ref 8, event-channel 9, protocol 1 (x86_64-abi)
Sep 19 06:09:01 dom0 kernel: [   89.193959] ADDRCONF(NETDEV_CHANGE): vif1.0: link becomes ready
Sep 19 06:09:01 dom0 kernel: [   89.194010] xenbr0: port 2(vif1.0) entering forwarding state
Sep 19 06:09:01 dom0 kernel: [   89.194013] xenbr0: port 2(vif1.0) entering forwarding state
Sep 19 06:09:10 dom0 kernel: [   98.203104] vif1.0: no IPv6 routers present
Sep 19 06:10:46 dom0 kernel: [  193.820011] xenbr0: port 2(vif1.0) entering forwarding state
Sep 19 06:10:46 dom0 kernel: [  193.820078] xenbr0: port 2(vif1.0) entering disabled state
Sep 19 06:10:53 dom0 kernel: [  200.437640] block tda: sector-size: 512/512+0 capacity: 59748352 discard: 0+0 flush: 0x0
Sep 19 06:10:54 dom0 kernel: [  201.886160] block tda: sector-size: 512/512+0 capacity: 59748352 discard: 0+0 flush: 0x0
Sep 19 06:10:54 dom0 kernel: [  202.086932] device vif2.0 entered promiscuous mode
Sep 19 06:10:54 dom0 kernel: [  202.088820] ADDRCONF(NETDEV_UP): vif2.0: link is not ready
Sep 19 06:10:54 dom0 kernel: [  202.098640] pciback 0000:00:00.0: seizing device
Sep 19 06:10:54 dom0 kernel: [  202.153240] xen-pciback: vpci: 0000:00:00.0: assign to virtual slot 0
Sep 19 06:10:55 dom0 kernel: [  202.399274] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
Sep 19 06:10:55 dom0 kernel: [  202.399323] pciback 0000:00:1b.0: seizing device
Sep 19 06:10:55 dom0 kernel: [  202.399371] xen: registering gsi 22 triggering 0 polarity 1
Sep 19 06:10:55 dom0 kernel: [  202.399376] xen_map_pirq_gsi: returning irq 22 for gsi 22
Sep 19 06:10:55 dom0 kernel: [  202.399378] xen: --> pirq=22 -> irq=22 (gsi=22)
Sep 19 06:10:55 dom0 kernel: [  202.399380] Already setup the GSI :22
Sep 19 06:10:55 dom0 kernel: [  202.399382] pciback 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
Sep 19 06:10:55 dom0 kernel: [  202.399387] pciback 0000:00:1b.0: PCI INT A disabled
Sep 19 06:10:55 dom0 kernel: [  202.523209] pciback 0000:00:1b.0: restoring config space at offset 0x4 (was 0x4, writing 0xfe520004)
Sep 19 06:10:55 dom0 kernel: [  202.523218] pciback 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
Sep 19 06:11:05 dom0 kernel: [  212.783554] xen-blkback:ring-ref 8, event-channel 9, protocol 1 (x86_64-abi)
Sep 19 06:11:06 dom0 kernel: [  213.835153] ADDRCONF(NETDEV_CHANGE): vif2.0: link becomes ready
Sep 19 06:11:06 dom0 kernel: [  213.835217] xenbr0: port 2(vif2.0) entering forwarding state
Sep 19 06:11:06 dom0 kernel: [  213.835222] xenbr0: port 2(vif2.0) entering forwarding state
Sep 19 06:11:15 dom0 kernel: [  222.851102] vif2.0: no IPv6 routers present


Thanks,
Pravin
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.