get_state


Description:

[ Version ( since = "1.0.2" ) ]
public int32 get_state () throws Error

get the current state

This returns the current state as an opaque integer. This is only useful for printing debug and internal error messages.

For more information on states, see guestfs(3).

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error