Anthony Liguori wrote: > Jan Kiszka wrote: >> >>> 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' >>> >>> >> >> Yep, that case does not fit into the syntax of comma-separated >> arguments. We need to find a new syntax within the given constraints. >> Need to think about it. >> > The syntax I proposed early for -drive could address this. > > -net user,name=foo,guestfwd=tcp:10.0.2.4:6666 > -net.foo.guestfwd-arg unix:/some/path,server,nowait > I general yes, but I would rate this particular suggestion as a bad example for intuitive argument splitting (guestfwd is useless without a target like unix:/bla). If at all, we would have to push server and nowait into the additional args. Still, this requires more thoughts. Jan