testing,
        uname -ri
                2.6.33-rc5-4-xen x86_64
        rpm -qa | grep -i Xen-4
                xen-4.0.0_20873_01-29.1.x86_64
        cat test.cfg
                name         = 'test'
                builder      = 'linux'
                bootloader   = '/usr/lib/xen/boot/domUloader.py'
                bootargs     = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen'
                disk         = [
'phy:/dev/VG0/boot,xvda,w','phy:/dev/VG0/swap,xvdb,w','phy:/dev/VG0/root,xvdc,w',]
                root         = '/dev/xvdc1'
                vfb          = ['']
        xm create -c ./test.cfg
boots OK.
but if (re)enabling pci passthrough,
        vi test.cfg
                        ...
                +       pci          = [ '04:07.0' ]
                        ...
        dmesg | grep "Command line"
                [    0.000000] Command line: ... 
guestdev=0000:04:07.0,0000:04:06.0
reassign_resources iommu=1 noirqdebug clocksource=xen mce=off
for a PCI card behind a shared bridge,
        lspci -vt | grep "\[04\]" -A1
                   +-14.4-[04]--+-06.0  Intel Corporation 82541PI Gigabit
Ethernet Controller
                   |            \-07.0  Silicon Image, Inc. SiI 3124 PCI-X
Serial ATA Controller
with,
        grep passthrough /etc/xen/xend-config.sxp
                (pci-passthrough-strict-check no)
        grep hide /etc/modprobe.d/99-local.conf
                options pciback hide=(0000:04:07.0)(0000:04:06.0)
and checking,
        lsmod | egrep -i "pciback|xen"
                pciback                54471  0
                xenbus_be               3474  4 netbk,blkbk,blktap,pciback
                xenblk                 26117  0
                cdrom                  42939  2 sr_mod,xenblk
                xennet                 37545  0
@ DomU init.
        xm create -c ./test.cfg
returns,
        Using config file "./test.cfg".
        Error: pci: PCI Backend and pci-stub don't own device 0000:04:07.0
that error looks to hail from recent changes to 'XendDomainInfo.py', cref:
        http://article.gmane.org/gmane.comp.emulators.xen.devel/76231
with strict-check disabled in /xend-config.sxp, shouldn't this be ok to do/use?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |