qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] guestfwd option doesn't allow supplementary , server, nowai


From: Richard W.M. Jones
Subject: [Qemu-devel] guestfwd option doesn't allow supplementary , server, nowait
Date: Tue, 21 Jul 2009 15:39:36 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]