[libvirt] [PATCH] Split contents of <cmdline>...</cmdline> and set LXC init argv
Eric Blake
eblake at redhat.com
Wed Mar 14 18:00:04 UTC 2012
On 03/14/2012 11:53 AM, Daniel P. Berrange wrote:
> In other words, I don't think it is acceptable to automagically
> split '<cmdline>' and pass them as argv[]. We should only
> use it for setting LIBVIRT_LXC_CMDLINE.
>
> We should add a separate <initarg> element for setting init's
> argv[] I think
as in:
<cmdline>complex value that we won't split</cmdline>
<initarg>arg1</initarg>
<initarg>arg2, with funky '"\ stuff</initarg>
Yes, that sounds like a more sure-fire way of letting the user specify
exactly what they wanted, and nicer for XPath queries too.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120314/f5ccd810/attachment-0001.sig>
More information about the libvir-list
mailing list