qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] guestfwd option doesn't allow supplementary , server, nowait
@ 2009-07-21 14:39 Richard W.M. Jones
  2009-07-21 14:57 ` [Qemu-devel] " Richard W.M. Jones
  2009-07-21 17:39 ` Jan Kiszka
  0 siblings, 2 replies; 19+ messages in thread
From: Richard W.M. Jones @ 2009-07-21 14:39 UTC (permalink / raw)
  To: qemu-devel, Jan Kiszka

The option formerly known as -net channel was changed to:

  -net user,guestfwd=[tcp]:server:port-dev

which in general would be an improvement.  libguestfs currently uses:

  -net channel,6666:unix:/some/path,server,nowait

which works (probably by accident, because the code happens not to use
get_param_value).  However in the new syntax that would be:

  -net user,guestfwd=tcp:10.0.2.4:6666-unix:/some/path,server,nowait

This gives errors like:

  qemu: invalid parameter 'server,nowait' in 'vlan=0,guestfwd=tcp:10.0.2.4:6666-unix:/tmp/libguestfshRZgxr/sock,server,nowait'

It seems like the code tries to do the right thing for the hostfwd and
guestfwd parameters.  There is a while loop which seems to check for
these parameters explicitly, but it doesn't work -- I'm not sure why.

libguestfs is continuing to use the old, working -net channel form of
this parameter, so please don't remove it.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-07-22  9:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-21 14:39 [Qemu-devel] guestfwd option doesn't allow supplementary , server, nowait Richard W.M. Jones
2009-07-21 14:57 ` [Qemu-devel] " Richard W.M. Jones
2009-07-21 17:39 ` Jan Kiszka
2009-07-21 16:17   ` Richard W.M. Jones
2009-07-21 16:20     ` Jan Kiszka
2009-07-21 16:39       ` Richard W.M. Jones
2009-07-21 19:23       ` Richard W.M. Jones
2009-07-21 23:15         ` Jan Kiszka
2009-07-22  8:42           ` Richard W.M. Jones
2009-07-22  8:55             ` Jan Kiszka
2009-07-22  9:19               ` Richard W.M. Jones
2009-07-22  9:05             ` Richard W.M. Jones
2009-07-22  9:33               ` Jan Kiszka
2009-07-22  8:51           ` Jan Kiszka
2009-07-21 20:05   ` Anthony Liguori
2009-07-21 23:10     ` Jan Kiszka
2009-07-21 23:41       ` Anthony Liguori
2009-07-22  9:13         ` Gerd Hoffmann
2009-07-22  9:46           ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).