IGVT-g: Difference between revisions

imported>Gnidorah
No edit summary
imported>Gnidorah
adjust to nixos-unstable
Line 54: Line 54:


== Configure KVM ==
== Configure KVM ==
Support for local display is present in Qemu 2.12.


=== Bare Qemu ===
=== Bare Qemu ===
Line 66: Line 64:
     -serial stdio \
     -serial stdio \
     -display gtk,gl=on \
     -display gtk,gl=on \
     -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/a297db4a-f4c2-11e6-90f6-d3b88d6c9525,x-igd-opregion=on
     -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/a297db4a-f4c2-11e6-90f6-d3b88d6c9525,display=on,x-igd-opregion=on
</syntaxHighlight>
</syntaxHighlight>


Line 90: Line 88:
   <qemu:arg value='-set'/>
   <qemu:arg value='-set'/>
   <qemu:arg value='device.hostdev0.x-igd-opregion=on'/>
   <qemu:arg value='device.hostdev0.x-igd-opregion=on'/>
    <qemu:arg value='-set'/>
    <qemu:arg value='device.hostdev0.display=on'/>
   </qemu:commandline>
   </qemu:commandline>
  </domain>
  </domain>