Add direct appliance mode flag and implementation.
authorRichard Jones <rjones@trick.home.annexia.org>
Tue, 22 Sep 2009 18:52:56 +0000 (19:52 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Wed, 23 Sep 2009 10:18:45 +0000 (11:18 +0100)
commit3bc55551356532c17403508dfd8466beb2b9db1e
tree7c92379351e2087adc1cfaca550318e6e60b7bc4
parentd186e9d3d371162774d026f85823d9615ac3bbbc
Add direct appliance mode flag and implementation.

When the g->direct flag is set, the appliance stdin/stdout
are not connected to the library.  Instead they inherit the
stdin/stdout of the caller.

This is used to implement virt-rescue.
src/generator.ml
src/guestfs.c