Re: [vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-21 Thread rhett rhett
hi Alex, i finally fixed this problem. that's because my code lacks pci virtual channel support. after i add drivers\pci\vc.c to support this , everythings runs ok. thanks a lot. 2017-03-13 10:29 GMT+08:00 rhett rhett : > it's using qemu 1.2 , i tried the newest qemu , vers

Re: [vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-12 Thread rhett rhett
it's using qemu 1.2 , i tried the newest qemu , version 2.8 , the problem remains. 2017-03-10 22:08 GMT+08:00 Alex Williamson : > On Fri, 10 Mar 2017 10:42:28 +0800 > rhett rhett wrote: > > > sorry , update infomation right now > > > > > > i installed ce

Re: [vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-09 Thread rhett rhett
2017-03-09 21:49 GMT+08:00 Alex Williamson : > On Thu, 9 Mar 2017 11:47:32 +0800 > rhett rhett

Re: [vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-08 Thread rhett rhett
somebody can help me ? 2017-03-08 14:34 GMT+08:00 rhett rhett : > here's some more error log from centos guest: > > Mar 7 05:38:07 localhost kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel > Module 375.39 Tue Jan 31 20:47:00 PST 2017 (using threaded interrupts) > Mar

Re: [vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-07 Thread rhett rhett
:1060) Mar 7 05:43:40 localhost kernel: NVRM: rm_init_adapter failed for device bearing minor number 0 Mar 8 05:07:47 localhost kernel: nvidia: module license 'NVIDIA' taints kernel. Mar 8 05:07:47 localhost kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 2017-03-08 14:31 GMT+08

Re: [vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-07 Thread rhett rhett
. the biggest different is , that server is no pcie switcher. 2017-03-08 11:55 GMT+08:00 Alex Williamson : > On Wed, 8 Mar 2017 11:26:17 +0800 > rhett rhett wrote: > > > two gpus share the same irq , i found the reason. because the msi be > > disabled later , so irq 140 is b

Re: [vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-07 Thread rhett rhett
two gpus share the same irq , i found the reason. because the msi be disabled later , so irq 140 is being reused. but i don't know why somebady calls vfio_pci_ioctl to disable the msi. 2017-03-08 10:55 GMT+08:00 rhett rhett : > i have a question about vfio , here is my description. >

[vfio-users] vfio passthrough devices behind pcie switcher problem

2017-03-07 Thread rhett rhett
i have a question about vfio , here is my description. i have 8 gpus in my server machine , but they are all behind a pcie bridge. when i make a vfio passthrough , i can't use the gpus in my guest os. dmesg shows the following message [ 662.208072] vfio-pci :87:00.0: irq 140 for MSI/MSI-X