[PATCH v2 1/7] util: introduce a parser for kernel cmdline arguments

Bjoern Walk bwalk at linux.ibm.com
Tue Jun 2 08:47:17 UTC 2020


Paulo de Rezende Pinatti <ppinatti at linux.ibm.com> [2020-05-29, 12:10PM +0200]:
> Introduce two utility functions to parse a kernel command
> line string according to the kernel code parsing rules in
> order to enable the caller to perform operations such as
> verifying whether certain argument=value combinations are
> present or retrieving an argument's value.
> 
> Signed-off-by: Paulo de Rezende Pinatti <ppinatti at linux.ibm.com>
> Signed-off-by: Boris Fiuczynski <fiuczy at linux.ibm.com>
> ---
>  src/libvirt_private.syms |   2 +
>  src/util/virutil.c       | 169 +++++++++++++++++++++++++++++++++++++++
>  src/util/virutil.h       |  17 ++++
>  tests/utiltest.c         | 141 ++++++++++++++++++++++++++++++++
>  4 files changed, 329 insertions(+)

Reviewed-by: Bjoern Walk <bwalk at linux.ibm.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200602/de167adc/attachment-0001.sig>


More information about the libvir-list mailing list