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

[Xen-bugs] [Bug 1657] New: Stubdomain fails to passthrough PCI device



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1657

           Summary: Stubdomain fails to passthrough PCI device
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ar.fahrutdinov@xxxxxxxxx


XEN: 4.0.1-rc6
Kernel: 2.6.32.18 from Jeremy git
Device: Intel Corporation 82576 Gigabit Network Connection (rev 01)

I create VM config with follow parameters

builder='hvm'
memory = 2048
name = "fedora-13"
vcpus=2
pae=1
acpi=1
vif = [ 'bridge=xenbr0,mac=00:16:3E:1F:4A:81' ]
disk = [ 
'file:/mnt/storage0/images/fedora-13.img,hda,w',
'file:/mnt/storage0/iso/Fedora-13-x86_64-Live.iso,hdc:cdrom,r'
]
pci=['07:10.2']
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'destroy'
device_model='stubdom-dm'
boot='c'
vnc=1
usb=1
usbdevice="tablet"

and when I try "xm create ./fedora-13.xen" it fails with message
"Error: Failed to assign device to IOMMU
(0000:07:10.2@100,msitranslate=1,power_mgmt=0)"

If I substitute device_model to qemu-dm, VM starts sucsessfully and PCI device
is accessible within it.

PCI device is reserved in GRUB config and after boot "lspci -vvv" shows it is
reserver by pciback driver/


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

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