public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] kvm and libvirt
@ 2011-03-29 11:02 Coert Waagmeester
  2011-03-29 16:06 ` Albert Hopkins
  2011-03-30 15:33 ` [gentoo-user] " Nicolas Sebrecht
  0 siblings, 2 replies; 3+ messages in thread
From: Coert Waagmeester @ 2011-03-29 11:02 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] kvm and libvirt
  2011-03-29 11:02 [gentoo-user] kvm and libvirt Coert Waagmeester
@ 2011-03-29 16:06 ` Albert Hopkins
  2011-03-30 15:33 ` [gentoo-user] " Nicolas Sebrecht
  1 sibling, 0 replies; 3+ messages in thread
From: Albert Hopkins @ 2011-03-29 16:06 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: kvm and libvirt
  2011-03-29 11:02 [gentoo-user] kvm and libvirt Coert Waagmeester
  2011-03-29 16:06 ` Albert Hopkins
@ 2011-03-30 15:33 ` Nicolas Sebrecht
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Sebrecht @ 2011-03-30 15:33 UTC (permalink / raw
  To: gentoo-user; +Cc: Nicolas Sebrecht

The 29/03/11, Coert Waagmeester wrote:

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

I do. Managing VM from libvrit works well for basic features. That
beeing said, I had to manage snapshots outside of the provided features
due to internal dependencies between qcow2 snapshots.

I still have to test migration as it requires virtual disks shared over
the network.

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

I think the best alternative is to use a dedicated virtual bridging
tool but virt-manager (so, libvirt I guess) already provide a network
system (based on tun/tap AFAIR).

-- 
Nicolas Sebrecht



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-30 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 11:02 [gentoo-user] kvm and libvirt Coert Waagmeester
2011-03-29 16:06 ` Albert Hopkins
2011-03-30 15:33 ` [gentoo-user] " Nicolas Sebrecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox