On Thu, Jan 30, 2014 at 10:55:53AM +0100, Cédric Bosdonnat wrote: > If no network configuration is provided, LXC only provides the loopback > interface. To match this, we need to use the privnet feature. LXC will > also define a 'none' network type in its 1.0.0 version that fits > libvirt LXC driver's default. > --- > src/lxc/lxc_native.c | 55 ++++++++++++++++++++++ > .../lxcconf2xmldata/lxcconf2xml-nonenetwork.config | 4 ++ > tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml | 21 +++++++++ > tests/lxcconf2xmldata/lxcconf2xml-nonetwork.config | 3 ++ > tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml | 24 ++++++++++ > tests/lxcconf2xmltest.c | 2 + > 6 files changed, 109 insertions(+) > create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.config > create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml > create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonetwork.config > create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml ACK 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 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list