Displaying 2 results from an estimated 2 matches for "vmchannel_port".
2009 Sep 17
1
[PATCH] Remove explicit guestfs=10.0.2.4:6666 kernel command line parameter.
...--
src/guestfs.c | 10 +++----
2 files changed, 25 insertions(+), 63 deletions(-)
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index af554bf..ebaf960 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -43,8 +43,8 @@
static void usage (void);
/* Also in guestfs.c */
-#define VMCHANNEL_PORT "6666"
-#define VMCHANNEL_ADDR "10.0.2.4"
+#define GUESTFWD_PORT "6666"
+#define GUESTFWD_ADDR "10.0.2.4"
int verbose = 0;
@@ -67,18 +67,14 @@ int sysroot_len = 8;
int
main (int argc, char *argv[])
{
- static const char *options = "fh:p:?";...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...g->path);
+ kernel_name, initrd_name, g->path);
goto cleanup0;
}
@@ -1051,10 +1051,10 @@ guestfs_launch (guestfs_h *g)
/* Linux kernel command line. */
snprintf (append, sizeof append,
- LINUX_CMDLINE "guestfs=%s:%d%s%s%s",
- VMCHANNEL_ADDR, VMCHANNEL_PORT,
- g->verbose ? " guestfs_verbose=1" : "",
- g->append ? " " : "", g->append ? g->append : "");
+ LINUX_CMDLINE "guestfs=%s:%d%s%s%s",
+ VMCHANNEL_ADDR, VMCHANNEL_PORT,
+ g->...