VictoriaPe |
03-14-2023 07:42 AM |
libvirt qemu override
I followed the Arch linux guide for Intel GVT-g and I was able to run Fedora as a guest using the virtual GPU. I cannot however use libvirt qemu override in my xml. I have tried virsh edit and the xml editor in virt-manager but the configuration fails to be validated and it's deleted. This is what I want to add
Code:
qemu:override>
<qemu:device alias="hostdev0">
<qemu:frontend>
<qemu:property name="x-igd-opregion" type="bool" value="true"/>
<qemu:property name="romfile" type="string" value="/vbios_gvt_uefi.rom"/>
<qemu:property name="driver" type="string" value="vfio-pci-nohotplug"/>
</qemu:frontend>
</qemu:device>
</qemu:override>
If I use <qemu:commandline> it works.
Code:
<qemu:commandline>
<qemu:arg value="-set"/>
<qemu:arg value="device.hostdev0.romfile=/vbios_gvt_uefi.rom"/>
<qemu:arg value="-set"/>
<qemu:arg value="device.hostdev0.driver=vfio-pci-nohotplug"/>
<qemu:arg value="-set"/>
<qemu:arg value="device.hostdev0.x-igd-opregion=on"/>
</qemu:commandline>
Is it a bug? I am using libvirt 8.0 on linux Mint 21. Do you know a place where I can post libvirt specific questions?
|