# vm.device.virtual_size

Get the virtual size of a disk image using qemu-img info.

Args: file_path: Absolute path to the disk image file

Returns: Virtual size in bytes (int)

Raise: ValidationError if any failure occurs

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: vm_virtual_size

#### vm_virtual_size

Type: object

VMDeviceVirtualSizeArgs parameters.

No Additional Properties

##

#### Path

Type: string

Absolute path to the disk image.

##

#### Result

Type: integer

The virtual size of the disk image in bytes.

Required roles: VM_DEVICE_READ