[Libvir] Virtual networking

Mark McLoughlin markmc at redhat.com
Thu Jan 25 15:49:41 UTC 2007


On Mon, 2007-01-15 at 20:06 +0000, Mark McLoughlin wrote:

>       * Since virConnect is supposed to be a connection to a specific
>         hypervisor, does it make sense to create networks (which should
>         be hypervisor agnostic) through virConnect? 

	Okay, here's a suggestion - a virConnectPtr is a connection to a
specific hypervisor *and* the virtual network supervisor on that same
physical machine or user session.

	What I like about this is that if a domain's description mentions a
virtual network, that name is scoped within the network supervisor
associated with the hypervisor on which the guest is being created.

	Attached is a kind of a hacky patch to do something like that - if e.g.
you connect to xend, you also get a "network-only" connection to qemud
for managing networks.

Cheers,
Mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-network-qemu-network-driver.patch
Type: text/x-patch
Size: 5275 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070125/f06b63c7/attachment-0001.bin>


More information about the libvir-list mailing list