On Tue, 2013-07-09 at 12:15 +0200, Guillaume Thouvenin wrote: > Guillaume Thouvenin <guillaume.thouvenin@xxxxxxxxxx> a écrit : > > > I'd like to test a nvidia K1 with pci assignement by using the > > pci-stub module or the vfio module. I'm running an ubuntu raring as > > the host and a version 1.4.0 of qemu-system-x86 1.4.0. > > I just tested with QEMU emulator version 1.5.50 that I compiled from > git but I have the same issue. The kernel running on the host is a > 3.8.0-23-generic that comes with ubuntu. > > I also tried to reset the card before binding it but I got the same issue: > > NVIDIA: could not open the device file /dev/nvidia0 (Input/output error). > Unable to determine the device handle for GPU 0000:00:03.0: Unknown Error > > even if in /dev I have: > > $ ls -l /dev/nvidia* > crw-rw-rw- 1 root root 195, 0 juil. 9 12:09 /dev/nvidia0 > crw-rw-rw- 1 root root 195, 255 juil. 9 12:09 /dev/nvidiactl Are you sure that nvidia-smi is relevant to the K1/K2 devices? Does it work on the host? I wouldn't be surprised if a system management interface tries to use backdoors that are not available in a VM. Are there other tests you can do to check whether the device is otherwise available? Also, I'm curious to see what these cards look like, could you provide an 'sudo lspci -vvv' of the host system? Thanks, Alex -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html