[PATCH 5/9] lguest: documentation fixes

From: Rusty Russell
Date: Thu Mar 08 2007 - 22:19:14 EST


1: It helps if you connect the bridge to a link.

Signed-off-by: James Morris <jmorris@xxxxxxxxx>

2: You can theoretically run lguest with no boot parameters.

Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

diff -r 90134cf1fe0a Documentation/lguest/lguest.c
--- a/Documentation/lguest/lguest.c Wed Feb 21 11:32:59 2007 +1100
+++ b/Documentation/lguest/lguest.c Wed Feb 21 11:51:47 2007 +1100
@@ -938,7 +938,7 @@ int main(int argc, char *argv[])
argc--;
}

- if (argc < 4)
+ if (argc < 3)
errx(1, "Usage: lguest [--verbose] <mem> vmlinux "
"[--sharenet=<filename>|--tunnet=(<ipaddr>|bridge:<bridgename>)"
"|--block=<filename>|--initrd=<filename>]... [args...]");
diff -r 90134cf1fe0a Documentation/lguest/lguest.txt
--- a/Documentation/lguest/lguest.txt Wed Feb 21 11:32:59 2007 +1100
+++ b/Documentation/lguest/lguest.txt Wed Feb 21 11:50:55 2007 +1100
@@ -90,6 +90,7 @@ Running Lguest:
ifconfig eth0 0.0.0.0
brctl addbr lg0
ifconfig lg0 up
+ brctl addif lg0 eth0
dhclient lg0

Then use --tunnet=bridge:lg0 when launching the guest.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/