[virt-tools-list] virt-install: looking for option to get rombar='off' in guest xml
P.A.M. van Dam (Pascal)
pascal at jarmine01.kleefdraakjes.nest
Tue Jan 19 22:33:25 UTC 2016
On Tue, Nov 17, 2015 at 09:41:50AM -0500, Cole Robinson wrote:
> On 11/17/2015 06:03 AM, P.A.M. van Dam (Pascal) wrote:
> > Good morning all,
> >
> > I've one small question. Due to the nature of my tests with UEFI/OVMF and iSCSI booting I need to get the
> > item <rom bar='off'\> (e.g. disable network adapter rom) in my guests xml. Editing it by hand is not really my preferred way. Which option(s) should
> > I give virt-install to realise this for me?
> >
>
> The virt-install/virt-xml option --hostdev rom_bar=on|off
>
> You can set it for existing VMs host devices with virt-xml like:
>
> sudo virt-xml $VMNAME --edit all --hostdev rom_bar=off
>
> - Cole
Good evening all,
Thanks for the answer, but I am afraid it does not work for my case. If I read this correctly it is used for hostdev devices, so devices that get passed through from
the host to the guest. I need to introduce the "rom_bar=off" attribute to a virtual driver.
E.g.
<interface type='bridge'>
<mac address='52:54:00:0b:db:64'/>
<source bridge='br0'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</interface>
must become:
<interface type='bridge'>
<mac address='52:54:00:0b:db:64'/>
<source bridge='br0'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
<rom bar='off'/>
</interface>
Preferably by adding an extra option during virt-install. Is this possible?
Many thanks for your help!
Kind regards,
Pascal van Dam
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
More information about the virt-tools-list
mailing list