[Libvir] [PATCH] Add qemudEscapeShellArg for passing commandlines to qemu.

Daniel P. Berrange berrange at redhat.com
Tue Aug 14 01:34:20 UTC 2007


On Mon, Aug 13, 2007 at 02:17:07PM -0400, Jim Paris wrote:
> Use this to escape a shell argument in a commandline passed to qemu.
> First we need to escape certain characters to get them through the
> qemu monitor interface.  On the shell side, the argument will be
> enclosed in single quotes, so the only character that needs special
> treatment is the single quote itself.

Looks good, committed to CVS.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list