[ Version ( since = "1.19.39" ) ]
public int64 disk_virtual_size (string filename) throws Error
return virtual size of a disk
Detect and return the virtual size in bytes of the disk image called filename.
Note that detecting disk features can be insecure under some circumstances. See "CVE-2010-3851" in guestfs(3).
this |
A GuestfsSession object |
the returned value, or -1 on error |