kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PCI passthrough problem
@ 2015-10-01  7:27 Phil (list)
  2015-10-01 12:32 ` Mauricio Tavares
  0 siblings, 1 reply; 7+ messages in thread
From: Phil (list) @ 2015-10-01  7:27 UTC (permalink / raw)
  To: kvm

If this isn't the right place to ask, any pointers to the correct place
are appreciated...

I'm trying to see if I can get PCI passthrough working for a video
capture card (Hauppauge Colossus 1x PCIe) under a Windows XP guest (32
-bit).  Things appear to be somewhat working (Windows is seeing the
device, the drivers successfully installed, and device manager
indicates everything is working) however when I fire up the capture
application, it is not able to find the device despite Windows
recognizing it (no errors, it just doesn't 'see' any installed capture
devices).  There is also a secondary capture/viewer application that
won't even install due to not being able to find a capture card.  Since
that wasn't the behavior when running it natively under Windows, I'm
assuming that the issue is related to PCI passthrough but it's
difficult to be certain since I'm not seeing any errors beyond the
capture applications not being able to find the device.

Some details on my setup: i7-2600 running on a Q77 motherboard with VT
-d enabled in bios.  I'm running Debian Linux (testing) with qemu-kvm
1:2.4+dfsg-3 and am passing intel_iommu=on as a kernel parameter on
boot.  These are the main details I can think of to share, but if there
is any additional info that would be useful, please let me know and
I'll be happy to provide it.

Having read through a few different posts around the 'net on how to do
PCI passthrough (pretty much everything I've found was discussing GPUs,
and almost always on a different distro), the only thing that jumps out
as a potential problem is that the card in question does not appear to
support FLR.  However, I'm not clear if that's an absolute requirement
for PCI passthrough or something that is specific to GPU support? 
 Beyond that, I'm at a loss as to what the issue could be...

Thanks,
Phil

^ permalink raw reply	[flat|nested] 7+ messages in thread
* PCI Passthrough Problem
@ 2010-01-22  5:24 Aaron Clausen
  2010-01-22  5:47 ` Yolkfull Chow
  0 siblings, 1 reply; 7+ messages in thread
From: Aaron Clausen @ 2010-01-22  5:24 UTC (permalink / raw)
  To: kvm

I'm trying once again to get PCI passthrough working (KVM 84 on Ubuntu
9.10), and I'm getting this error :

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
/usr/bin/kvm -S -M pc-0.11 -m 4096 -smp 4 -name mailserver -uuid
76a83471-e94a-3658-fa61-8eceaa74ffc2 -monitor
unix:/var/run/libvirt/qemu/mailserver.monitor,server,nowait -localtime
-boot c -drive file=,if=ide,media=cdrom,index=2 -drive
file=/var/lib/libvirt/images/mailserver.img,if=virtio,index=0,boot=on
-drive file=/var/lib/libvirt/images/mailserver-2.img,if=virtio,index=1
-net nic,macaddr=54:52:00:1b:b2:56,vlan=0,model=virtio,name=virtio.0
-net tap,fd=17,vlan=0,name=tap.0 -serial pty -parallel none -usb
-usbdevice tablet -vnc 127.0.0.1:0 -k en-us -vga cirrus -pcidevice
host=0a:01.0
char device redirected to /dev/pts/0
get_real_device: /sys/bus/pci/devices/0000:0a:01.0/config: Permission denied
init_assigned_device: Error: Couldn't get real device (0a:01.0)!
Failed to initialize assigned device host=0a:01.0

Any thoughts?

-- 
Aaron Clausen
mightymartianca@gmail.com

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

end of thread, other threads:[~2015-10-02 20:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01  7:27 PCI passthrough problem Phil (list)
2015-10-01 12:32 ` Mauricio Tavares
2015-10-02  2:38   ` Phil (list)
2015-10-02  3:00     ` Alex Williamson
2015-10-02 20:09       ` Phil (list)
  -- strict thread matches above, loose matches on Subject: below --
2010-01-22  5:24 PCI Passthrough Problem Aaron Clausen
2010-01-22  5:47 ` Yolkfull Chow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).