[Libguestfs] [PATCH 3/7] daemon: Add --cmdline option for testing.

Pino Toscano ptoscano at redhat.com
Wed Jun 24 13:22:56 UTC 2015


In data martedì 23 giugno 2015 23:49:51, Richard W.M. Jones ha scritto:
> This allows the Linux kernel command line to be specified on the
> program command line.

What if, instead, we remove the direct /proc/cmdline reading from the
daemon, making the init read the options from it passing them as
options to the daemon?

After all, the options read from it so far are:
(a) guestfs_verbose
(b) guestfs_network
(c) guestfs_channel

(a) is covered already by -v, and a direct (c) could be useful to ease
this patch series (seen in patch 6).

-- 
Pino Toscano




More information about the Libguestfs mailing list