X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=d44b7a749e865ead1f14af689a7f002aca7295cc;hb=7cbb86e4c8b6b8bca8606d219c5571549ceabba6;hp=e86fce17ebf33ec831d399c5be2c374069d619ce;hpb=cab0443e2508209fab67bfe0f723ee79cc5e2929;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index e86fce1..d44b7a7 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -632,6 +632,15 @@ then this returns the compiled-in default value for memsize. For more information on the architecture of libguestfs, see L."); + ("get_pid", (RInt "pid", []), -1, [FishAlias "pid"], + [], + "get PID of qemu subprocess", + "\ +Return the process ID of the qemu subprocess. If there is no +qemu subprocess, then this will return an error. + +This is an internal call used for debugging and testing."); + ] (* daemon_functions are any functions which cause some action