Re: virt-install: looking for option to get rombar='off' in guest xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/virt-tools-list

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux