[gentoo-user] kvm and libvirt

2011-03-29 Thread Coert Waagmeester
Hello all,

At the moment I have a running install of kvm.
I do all the virtual networking manually with help of tap adaptors and
bridges.
And I use LVM for the VMs disks.

It is working very well, but to add a VM or to migrate it to another
host is laborious.

Now I have started playing with libvirt, and I would like to know if
anyone else here uses the combination of kvm and libvirt?

What is the most dynamic way of automatically setting up virtual
networks per VM? Should I use qemu-ifup?


I do not use routed or NATted virtual nets. only bridging.


Kind regards,
Coert Waagmeester



Re: [gentoo-user] kvm and libvirt

2011-03-29 Thread Albert Hopkins
On Tue, 2011-03-29 at 13:02 +0200, Coert Waagmeester wrote:
 Hello all,
 
 At the moment I have a running install of kvm.
 I do all the virtual networking manually with help of tap adaptors and
 bridges.
 And I use LVM for the VMs disks.
 
 It is working very well, but to add a VM or to migrate it to another
 host is laborious.
 
 Now I have started playing with libvirt, and I would like to know if
 anyone else here uses the combination of kvm and libvirt?
 
 What is the most dynamic way of automatically setting up virtual
 networks per VM? Should I use qemu-ifup?
 
 
 I do not use routed or NATted virtual nets. only bridging.

The best way i to manually set up the bridge device via normal Gentoo
means, and create a virtual nic with the host device being that bridge
device.  libvirt should take care of the rest.