<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 13, 2016 at 8:37 PM, fulaiyang <span dir="ltr"><<a href="mailto:fulaiyang@163.com" target="_blank">fulaiyang@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hello,</div><div>    Thanks for your reply and sorry to provide not enough information.</div><div>    The IGD is the <span style="line-height:23.7999992370605px">the primary graphics on the host and I am trying to do </span><span style="line-height:23.7999992370605px"> </span><span style="line-height:23.7999992370605px">legacy mode.</span><span style="line-height:23.7999992370605px"> T</span><span style="line-height:23.7999992370605px">he VM is SeaBIOS based and the system is a a desktop. </span><span style="line-height:23.7999992370605px">My configuration is as follows:</span></div><div><b style="line-height:23.7999992370605px"><span lang="EN-US" style="font-size:14pt"><br></span></b></div><div><b style="line-height:23.7999992370605px"><span lang="EN-US" style="font-size:14pt">environment :</span></b></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span class=""><div><span><div style="line-height:23.7999992370605px">Intel Core i3-6100U @ 2.30GHz</div></span></div><div><span><div style="line-height:23.7999992370605px">Intel Corporation Sky Lake Integrated Graphics </div></span></div></span><div><span><div style="line-height:23.7999992370605px">Ubuntu 16.04 LTS <b>DESKTOP</b></div></span></div><span class=""><div><span><div style="line-height:23.7999992370605px">Host kernel 4.6.6 x86_64 GNU/Linux</div></span></div><div><span><div style="line-height:23.7999992370605px">qemu 2.7.0</div></span></div></span></blockquote><div><span><div style="line-height:23.7999992370605px"><br></div><div style="line-height:23.7999992370605px"><b style="line-height:23.7999992370605px"><span lang="EN-US" style="font-size:14pt">configuration:</span></b></div><div style="line-height:23.7999992370605px"><ul><li><span style="line-height:23.7999992370605px"><b>/boot/config-4.6.6</b></span></li></ul></div></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span><div><span style="line-height:23.7999992370605px">    </span>CONFIG_VFIO_IOMMU_TYPE1=m</div></span></div><div><span><div>    CONFIG_VFIO=m</div></span></div><div><span><div>    CONFIG_VFIO_PCI=m</div></span></div><div><span><div>    CONFIG_VFIO_PCI_IGD=y</div></span></div><div><span><div>    CONFIG_VFIO_PCI_VGA=y</div></span></div><div><span><div>    CONFIG_FW_CFG_SYSFS=y </div></span></div><div><span><div>    CONFIG_FW_CFG_SYSFS_<wbr>COMLINE=y</div></span></div><div><span><div>    CONFIG_INTEL_IOMMU_DEFAULT_ON=<wbr>y</div></span></div></blockquote><span style="line-height:23.7999992370605px"><ul><li><span style="line-height:23.7999992370605px"><b>/boot/grub/grub</b></span><span style="line-height:23.7999992370605px"></span><span style="line-height:23.7999992370605px"><b>.cfg</b></span></li></ul></span>            <span style="line-height:23.7999992370605px">/boot/vmlinuz-4.6.6 root=… quiet splash intel_iommu=on vfio_iommu_type1.allow_unsafe_<wbr>interrupts=1 $vt_handoff modprobe.blacklist=i915 video=vesafb:off video=efifb:off </span> </div></blockquote><div><br></div><div><br></div><div>Does your kernel include simplefb (grep CONFIG_FB_SIMPLE /boot/config-4.6.6)?  This can sometime claim resources on the IGD and interfere with assignment.  Reports seem to indicate that an equivalent video=simplefb:off does not work with that driver.  I've had good luck booting with i915 claiming IGD and then unbinding it to use for assignment.  The problem comes with re-binding subsequent times, but i915 prevents the more esoteric console drivers from lighting up.  Does QEMU print any messages when started?</div></div></div></div>