IGVT-g: Difference between revisions
imported>User No edit summary |
imported>Abbradar Updated libvirt guide with improvements from ArchWiki |
||
Line 61: | Line 61: | ||
=== libvirtd === | === libvirtd === | ||
If using virt-manager, create new or open existing VM. | If using virt-manager, create new or open existing VM. Change existing <code><graphics></code> and <code><video></code> sections. | ||
sudo -E virsh edit win10 | sudo -E virsh edit win10 | ||
Line 71: | Line 71: | ||
<gl enable='yes'/> | <gl enable='yes'/> | ||
</graphics> | </graphics> | ||
<hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci'> | <video> | ||
<model type='none'/> | |||
</video> | |||
<hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci' display='on'> | |||
<source> | <source> | ||
<address uuid='a297db4a-f4c2-11e6-90f6-d3b88d6c9525'/> | <address uuid='a297db4a-f4c2-11e6-90f6-d3b88d6c9525'/> | ||
Line 82: | Line 85: | ||
<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='-set'/> | ||
<qemu:arg value='device.hostdev0. | <qemu:arg value='device.hostdev0.ramfb=on'/> | ||
<qemu:arg value='-set'/> | |||
<qemu:arg value='device.hostdev0.driver=vfio-pci-nohotplug'/> | |||
</qemu:commandline> | </qemu:commandline> | ||
</domain> | </domain> | ||
Line 93: | Line 98: | ||
** (libvirtd) Change main adapter type from QXL to say Cirrus | ** (libvirtd) Change main adapter type from QXL to say Cirrus | ||
** use BIOS (SeaBIOS) machine, [https://lists.01.org/pipermail/igvt-g/2018-July/001431.html EFI (OVMF) is not supported]. As a workaround you may [https://gist.githubusercontent.com/gnidorah/2951b1f8bebeac899623fd67694ed47b/raw/99320ab33d30cc28b6813d630b6121e266032c30/gistfile1.txt create qcow boot image that is capable of booting EFI windows disk on BIOS machine] | ** use BIOS (SeaBIOS) machine, [https://lists.01.org/pipermail/igvt-g/2018-July/001431.html EFI (OVMF) is not supported]. As a workaround you may [https://gist.githubusercontent.com/gnidorah/2951b1f8bebeac899623fd67694ed47b/raw/99320ab33d30cc28b6813d630b6121e266032c30/gistfile1.txt create qcow boot image that is capable of booting EFI windows disk on BIOS machine] |