get_memsize


Description:

[ Version ( since = "1.0.55" ) ]
public int32 get_memsize () throws Error

get memory allocated to the hypervisor

This gets the memory size in megabytes allocated to the hypervisor.

If set_memsize was not called on this handle, and if LIBGUESTFS_MEMSIZE was not set, then this returns the compiled-in default value for memsize.

For more information on the architecture of libguestfs, see guestfs(3).

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error