<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Sep 20, 2015 at 9:09 AM, Eddie Yen <span dir="ltr"><<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like X79 & X99 still the best choice that without these problems.<div><br></div><div>Now I'm already updated Kernel 4.2 and QEMU without re-install Ubuntu 14.04, but I didn't install libvirt and virt-manager yet.</div><div>Because I don't want to install them by using only simple install method (<b><font face="verdana, sans-serif">sudo apt-get install kvm</font></b>) to avoid QEMU flush.</div><div>And I still get confused when I read posts on blog.</div><div><br></div><div>If I want to mount GPU without pci-stub, I guess the steps is:</div><div><br></div><div>1. Create the script that makes vfio-pci work, and it different form the old vfio-bind.sh (because it can also bind HDMI Audio together.)</div><div>2. Bind ids to vfio-pci by type command into modprobe.d</div><div>3. Using the normal VM setting script to launch VM.</div><div><br></div><div>Did I get any wrong?</div></div></blockquote><div><br></div><div>If vfio-pci is a module in your kernel and you want to use the ids= option, then you need to make sure vfio-pci is loaded before host drivers that would otherwise claim the device.  I give examples of how to do that with Fedora on my blog, for other distros I would advise taking a similar approach, but I haven't tried myself, so I don't have specific instructions.</div></div></div></div>