Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 03-14-2023, 07:42 AM   #1
LQ Newbie
Registered: Mar 2023
Posts: 3

Rep: Reputation: 0
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
    <qemu:device alias="hostdev0">
        <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"/>

If I use <qemu:commandline> it works.

    <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"/>
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?

Last edited by VictoriaPe; 03-14-2023 at 07:50 AM.
Old 03-14-2023, 07:52 AM   #2
LQ Newbie
Registered: Mar 2023
Posts: 3

Original Poster
Rep: Reputation: 0
I have found out that qemu override is available only from version 8.2. Problem solved.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
libvirt/QEMU: changing "save" directory for qemu:///session connection atelszewski Linux - Virtualization and Cloud 0 01-10-2018 02:44 PM
[SOLVED] libvirt: how to lock qemu image disk in qemu:///session ? atelszewski Linux - Virtualization and Cloud 1 12-18-2017 11:23 AM
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
LXer: Qemu-kvm 0.15.1 & Spice(0.10.0) & Libvirt 0.9.7-2 USB Redirection support for Ubuntu Precise a LXer Syndicated Linux News 0 11-14-2011 11:30 AM
LXer: Set up Qemu&Spice&Libvirt 0.9.6 USB Redirection on Ubuntu 11.10 LXer Syndicated Linux News 0 10-16-2011 02:40 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration