
16 Jan
2014
16 Jan
'14
10:40 a.m.
On Thu, Jan 16, 2014 at 16:59:50 +0800, Jincheng Miao wrote:
If nodedev-detach with '--driver', it does not check whether host currentlly supports vfio passthrough. That will cause the detached node device failed to bind to vfio driver when iommu is off: "kernel: vfio-pci: probe of 0000:01:00.0 failed with error -22"
https://bugzilla.redhat.com/show_bug.cgi?id=1046919
So it should check passthrough support before set stub driver.
Thanks, I'll include a polished version of this patch in my series fixing bug 1046919. Jirka