From c0b1a318442740b6c63630b61d0718598a9937d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Wed, 2 Jul 2014 15:24:56 +0200 Subject: [PATCH 2/2] lxc network device names change documentation --- docs/formatdomain.html.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) Index: libvirt-1.2.5/docs/formatdomain.html.in =================================================================== --- libvirt-1.2.5.orig/docs/formatdomain.html.in +++ libvirt-1.2.5/docs/formatdomain.html.in @@ -3757,6 +3757,23 @@ qemu-kvm -net nic,model=? /dev/null targets using these prefixes will be ignored.

+

+ Note that for LXC containers, this defines the name of the interface + on the host side. Since 1.2.7, to define + the name of the device on the guest side, the guest + element should be used, as in the following snippet: +

+ +
+  ...
+  <devices>
+    <interface type='network'>
+      <source network='default'/>
+      <guest dev='myeth'/>
+    </interface>
+  </devices>
+  ...
+
Specifying boot order