max_disks


Description:

[ Version ( since = "1.19.7" ) ]
public int32 max_disks () throws Error

maximum number of disks that may be added

Return the maximum number of disks that may be added to a handle (eg. by guestfs_session_add_drive_opts and similar calls).

This function was added in libguestfs 1.19.7. In previous versions of libguestfs the limit was 25.

See "MAXIMUM NUMBER OF DISKS" in guestfs(3) for additional information on this topic.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error