[libvirt] [Libguestfs] [PATCH libguestfs 0/4] Add a libvirt backend to libguestfs.

Daniel P. Berrange berrange at redhat.com
Mon Jul 23 09:42:24 UTC 2012


On Sun, Jul 22, 2012 at 09:33:46AM +0100, Richard W.M. Jones wrote:
> On Sat, Jul 21, 2012 at 08:20:45PM +0100, Richard W.M. Jones wrote:
> > Some questions:
> 
> How do you set the IP address for userspace networking?  AFAICT
> from the code this is not possible.
> 
> ie: the net= parameter:
> 
> -netdev user,id=usernet,net=169.254.0.0/16 \
> -device virtio-net-pci,netdev=usernet

Yeah, that's not expressed in the XML yet. This has been requested in
the past by the OpenVZ developers too, and could potentially be
useful to LXC. We should probably define some syntax for network
config in the XML

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list