[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] New scriptarg=... -net parameter allows passing
Re: [Qemu-devel] [PATCH] New scriptarg=... -net parameter allows passing of an argument
Fri, 13 Jun 2008 01:04:51 +0300
Thunderbird 22.214.171.124 (X11/20080501)
Anthony Liguori wrote:
Environment variables are global, whereas scriptarg is
per-interface. Consider the case where scriptarg denotes the bridge
name we want the interface to attach to.
Right, what I'm suggesting is that scriptarg=... use an environmental
variable (for instance, named SCRIPTARG) when executing the actual
script instead of passing it as the second parameter.
It's nicer IMHO because it extends well to passing more data to the
script (like whatever the -name parameter is).
Ah, okay. I don't much like environment variables but I do see the
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.