get_pid


Description:

[ Version ( since = "1.0.56" ) ]
public int32 get_pid () throws Error

get PID of hypervisor

Return the process ID of the hypervisor. If there is no hypervisor running, then this will return an error.

This is an internal call used for debugging and testing.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error