New APIs: set-pgroup, get-pgroup
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 15 Jul 2011 10:38:21 +0000 (11:38 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 15 Jul 2011 11:24:51 +0000 (12:24 +0100)
commitf173543fd207bdc254a5eb75180d82ef25eacae9
tree0f763d61695a1549f6a5f0784fb7e44ab90ad065
parent4b53a3737b76cad7aca407a0d9e37fed1d42ef69
New APIs: set-pgroup, get-pgroup

If the pgroup flag is set in the handle, then the qemu and recovery
subprocesses are placed in separate process groups.  The default is
false.

The purpose for setting up a process group is that ^C will not be
passed from the main process down to these processes (killing them).
This allows ^C and other keyboard events to be caught and handled in
the main process.
generator/generator_actions.ml
src/guestfs-internal.h
src/guestfs.c
src/launch.c