Re: Managing eths in vm from HV

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

 



Thanks Eric. thats very helpful.



On 12/07/2012 03:51 PM, Eric Blake wrote:

Yes.  virsh define (but not start) so that libvirt will create the
randomized MAC, then use libguestfs-tools to modify files residing in
the guest image, and then finally boot the guest.

Better yet, is there a way to simply control the assigning of the eths in the generic xml file used to create the VM?
Libvirt passes the devices to the qemu command line in the same order
that they appear in the XML.  It is not libvirt's fault if qemu then
takes the command line arguments and presents it to the guest in such a
way that the guest can initialize the devices in the order in which a
bus scan finds them, rather than in the order they were presented on the
command line.

oh yeah theres that. I see.


-- 
John Fisher
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux