<div dir="ltr">After some more research on using q35 and <span style="font-size:12.8px">ioh3420 I have what I believe to be a correct setup in libvirt.</span><div><span style="font-size:12.8px">However, the same problem persists.</span></div><div><span style="font-size:12.8px"><br></span></div><div><div style=""><span style="font-size:12.8px">xubuntu:~$ lspci</span></div><div style=""><span style="font-size:12.8px">00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller</span></div><div style=""><span style="font-size:12.8px">00:01.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)</span></div><div style=""><span style="font-size:12.8px">00:1c.0 PCI bridge: Intel Corporation 7500/5520/5500/X58 I/O Hub PCI Express Root Port 0 (rev 02)</span></div><div style=""><span style="font-size:12.8px">00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)</span></div><div style=""><span style="font-size:12.8px">00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)</span></div><div style=""><span style="font-size:12.8px">00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)</span></div><div style=""><span style="font-size:12.8px">00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)</span></div><div style=""><span style="font-size:12.8px">00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)</span></div><div style=""><span style="font-size:12.8px">00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)</span></div><div style=""><span style="font-size:12.8px">00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)</span></div><div style=""><span style="font-size:12.8px">00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)</span></div><div style=""><span style="font-size:12.8px">01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)</span></div><div style=""><span style="font-size:12.8px">01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)</span></div><div style=""><span style="font-size:12.8px">02:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge</span></div><div style=""><span style="font-size:12.8px">03:01.0 Ethernet controller: Red Hat, Inc Virtio network device</span></div><div style=""><span style="font-size:12.8px">03:02.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01)</span></div><div style=""><span style="font-size:12.8px">03:03.0 Communication controller: Red Hat, Inc Virtio console</span></div><div style=""><span style="font-size:12.8px">03:04.0 SCSI storage controller: Red Hat, Inc Virtio block device</span></div><div style=""><span style="font-size:12.8px">03:07.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon</span></div><div style=""><span style="font-size:12.8px">03:08.0 Unclassified device [00ff]: Red Hat, Inc Virtio RNG</span></div><div style="font-size:12.8px"><br></div><div><br></div><div><div><domain type='kvm' id='20'></div><div>  <name>ubuntu16.04-q35</name></div><div>  <uuid>cb514980-808a-47ee-85cd-8e2b44574f9a</uuid></div><div>  <description>testing with q35</description></div><div>  <memory unit='KiB'>16777216</memory></div><div>  <currentMemory unit='KiB'>16777216</currentMemory></div><div>  <vcpu placement='static'>4</vcpu></div><div>  <resource></div><div>    <partition>/machine</partition></div><div>  </resource></div><div>  <os></div><div>    <type arch='x86_64' machine='pc-q35-2.5'>hvm</type></div><div>    <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader></div><div>    <nvram>/var/lib/libvirt/qemu/nvram/ubuntu16.04-q35_VARS.fd</nvram></div><div>  </os></div><div>  <features></div><div>    <acpi/></div><div>    <apic/></div><div>    <pae/></div><div>    <vmport state='off'/></div><div>  </features></div><div>  <cpu mode='custom' match='exact'></div><div>    <model fallback='allow'>Haswell</model></div><div>    <vendor>Intel</vendor></div><div>    <feature policy='require' name='invtsc'/></div><div>    <feature policy='require' name='abm'/></div><div>    <feature policy='require' name='pdpe1gb'/></div><div>    <feature policy='require' name='rdrand'/></div><div>    <feature policy='require' name='f16c'/></div><div>    <feature policy='require' name='osxsave'/></div><div>    <feature policy='require' name='pdcm'/></div><div>    <feature policy='require' name='xtpr'/></div><div>    <feature policy='require' name='tm2'/></div><div>    <feature policy='require' name='est'/></div><div>    <feature policy='require' name='vmx'/></div><div>    <feature policy='require' name='ds_cpl'/></div><div>    <feature policy='require' name='monitor'/></div><div>    <feature policy='require' name='dtes64'/></div><div>    <feature policy='require' name='pbe'/></div><div>    <feature policy='require' name='tm'/></div><div>    <feature policy='require' name='ht'/></div><div>    <feature policy='require' name='ss'/></div><div>    <feature policy='require' name='acpi'/></div><div>    <feature policy='require' name='ds'/></div><div>    <feature policy='require' name='vme'/></div><div>  </cpu></div><div>  <clock offset='utc'></div><div>    <timer name='rtc' tickpolicy='catchup'/></div><div>    <timer name='pit' tickpolicy='delay'/></div><div>    <timer name='hpet' present='no'/></div><div>  </clock></div><div>  <on_poweroff>destroy</on_poweroff></div><div>  <on_reboot>restart</on_reboot></div><div>  <on_crash>restart</on_crash></div><div>  <pm></div><div>    <suspend-to-mem enabled='no'/></div><div>    <suspend-to-disk enabled='no'/></div><div>  </pm></div><div>  <devices></div><div>    <emulator>/usr/bin/kvm-spice</emulator></div><div>    <disk type='file' device='disk'></div><div>      <driver name='qemu' type='raw'/></div><div>      <source file='/home/dbrowne/storage/ssd/xubuntu1604.img'/></div><div>      <backingStore/></div><div>      <target dev='vda' bus='virtio'/></div><div>      <boot order='2'/></div><div>      <alias name='virtio-disk0'/></div><div>      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/></div><div>    </disk></div><div>    <disk type='block' device='cdrom'></div><div>      <driver name='qemu' type='raw'/></div><div>      <backingStore/></div><div>      <target dev='sda' bus='sata'/></div><div>      <readonly/></div><div>      <boot order='1'/></div><div>      <alias name='sata0-0-0'/></div><div>      <address type='drive' controller='0' bus='0' target='0' unit='0'/></div><div>    </disk></div><div>    <controller type='usb' index='0' model='ich9-ehci1'></div><div>      <alias name='usb'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci1'></div><div>      <alias name='usb'/></div><div>      <master startport='0'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci2'></div><div>      <alias name='usb'/></div><div>      <master startport='2'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci3'></div><div>      <alias name='usb'/></div><div>      <master startport='4'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/></div><div>    </controller></div><div>    <controller type='sata' index='0'></div><div>      <alias name='ide'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/></div><div>    </controller></div><div>    <controller type='pci' index='0' model='pcie-root'></div><div>      <alias name='pcie.0'/></div><div>    </controller></div><div>    <controller type='pci' index='1' model='dmi-to-pci-bridge'></div><div>      <model name='i82801b11-bridge'/></div><div>      <alias name='pci.1'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/></div><div>    </controller></div><div>    <controller type='pci' index='2' model='pci-bridge'></div><div>      <model name='pci-bridge'/></div><div>      <target chassisNr='2'/></div><div>      <alias name='pci.2'/></div><div>      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/></div><div>    </controller></div><div>    <controller type='pci' index='3' model='pcie-root-port'></div><div>      <model name='ioh3420'/></div><div>      <target chassis='1' port='0x1'/></div><div>      <alias name='pci.3'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x1c' function='0x0' multifunction='on'/></div><div>    </controller></div><div>    <controller type='virtio-serial' index='0'></div><div>      <alias name='virtio-serial0'/></div><div>      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/></div><div>    </controller></div><div>    <interface type='network'></div><div>      <mac address='52:54:00:a7:1b:29'/></div><div>      <source network='default' bridge='virbr0'/></div><div>      <target dev='vnet0'/></div><div>      <model type='virtio'/></div><div>      <alias name='net0'/></div><div>      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/></div><div>    </interface></div><div>    <serial type='pty'></div><div>      <source path='/dev/pts/3'/></div><div>      <target port='0'/></div><div>      <alias name='serial0'/></div><div>    </serial></div><div>    <console type='pty' tty='/dev/pts/3'></div><div>      <source path='/dev/pts/3'/></div><div>      <target type='serial' port='0'/></div><div>      <alias name='serial0'/></div><div>    </console></div><div>    <channel type='spicevmc'></div><div>      <target type='virtio' name='com.redhat.spice.0' state='connected'/></div><div>      <alias name='channel0'/></div><div>      <address type='virtio-serial' controller='0' bus='0' port='1'/></div><div>    </channel></div><div>    <input type='tablet' bus='usb'></div><div>      <alias name='input0'/></div><div>    </input></div><div>    <input type='mouse' bus='ps2'/></div><div>    <input type='keyboard' bus='ps2'/></div><div>    <graphics type='spice' port='5900' autoport='yes' listen='0.0.0.0'></div><div>      <listen type='address' address='0.0.0.0'/></div><div>    </graphics></div><div>    <sound model='ich6'></div><div>      <alias name='sound0'/></div><div>      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/></div><div>    </sound></div><div>    <video></div><div>      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/></div><div>      <alias name='video0'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/></div><div>    </video></div><div>    <hostdev mode='subsystem' type='pci' managed='yes'></div><div>      <driver name='vfio'/></div><div>      <source></div><div>        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/></div><div>      </source></div><div>      <alias name='hostdev0'/></div><div>      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/></div><div>    </hostdev></div><div>    <hostdev mode='subsystem' type='pci' managed='yes'></div><div>      <driver name='vfio'/></div><div>      <source></div><div>        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/></div><div>      </source></div><div>      <alias name='hostdev1'/></div><div>      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1' multifunction='on'/></div><div>    </hostdev></div><div>    <redirdev bus='usb' type='spicevmc'></div><div>      <alias name='redir0'/></div><div>    </redirdev></div><div>    <redirdev bus='usb' type='spicevmc'></div><div>      <alias name='redir1'/></div><div>    </redirdev></div><div>    <memballoon model='virtio'></div><div>      <alias name='balloon0'/></div><div>      <address type='pci' domain='0x0000' bus='0x02' slot='0x07' function='0x0'/></div><div>    </memballoon></div><div>    <rng model='virtio'></div><div>      <backend model='random'>/dev/random</backend></div><div>      <alias name='rng0'/></div><div>      <address type='pci' domain='0x0000' bus='0x02' slot='0x08' function='0x0'/></div><div>    </rng></div><div>  </devices></div><div>  <seclabel type='dynamic' model='apparmor' relabel='yes'></div><div>    <label>libvirt-cb514980-808a-47ee-85cd-8e2b44574f9a</label></div><div>    <imagelabel>libvirt-cb514980-808a-47ee-85cd-8e2b44574f9a</imagelabel></div><div>  </seclabel></div><div></domain></div></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 1, 2016 at 7:41 PM, Okky Hendriansyah <span dir="ltr"><<a href="mailto:okky.htf@gmail.com" target="_blank">okky.htf@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"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Mon, May 2, 2016 at 5:01 AM, Blank Field <span dir="ltr"><<a href="mailto:ihatethisfield@gmail.com" target="_blank">ihatethisfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><p dir="ltr">On May 2, 2016 12:53 AM, "Zir Blazer" <<a href="mailto:zir_blazer@hotmail.com" target="_blank">zir_blazer@hotmail.com</a>> wrote:<br>
><br>
> If I recall correctly, doing VGA Passthrough in Linux presented different issues that those that you're used to in Windows. The major difference was that Windows and the Video Card Drivers doesn't mind if you do something like attaching a 2014 PCI Express Video Card directly to the 1996 440FX PCI Host Bridge, a configuration that is physically impossible, but that in virtualized enviroments works in a miracleously way simply because PCI and PCIe are compatible at the protocol level.</p>
</span><p dir="ltr">I can confirm that, i remember a slide from AW's presentation where it is said that windows doesn't care about topology, but linux does.<br>
It was one of the reasons why the Q35 machine could be desired.</p>
<p dir="ltr">Also, it is retarded, but possible to attach ioh3402s to 440FX. On the other side, with Q35 you get better USB and AHCI(sata) controllers.<br>
Which you don't care about because of virtio-scsi existence.</p></blockquote><div><br></div></div></div><div>Hmm, I have tried passing through GPU to SUSE Linux Enterprise 11 SP3 the same way I did on Windows 10, on plain i440FX and had no issues. Even the installation process of the guest ran directly on my real monitor. Here's the exact script that I use at that time [1].<br><br>[1] <a href="http://pastebin.com/nvihTuAz" target="_blank">http://pastebin.com/nvihTuAz</a><br><br></div><div>Best regards,<br></div><div>Okky Hendriansyah<br></div></div></div></div>
<br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>