# vm.device.convert

Convert between disk images and ZFS volumes. Supported disk image formats are qcow2, qed, raw, vdi, vhdx, and vmdk. The conversion direction is determined automatically based on file extension.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: vm_convert

#### vm_convert

Type: object

VMDeviceConvertArgs parameters.

No Additional Properties

##

#### Source

Type: string

Source path for the conversion (disk image file or ZFS volume).

Must be at least `1` characters long

##

#### Destination

Type: string

Destination path for the conversion (disk image file or ZFS volume).

Must be at least `1` characters long

##

#### Result

Type: boolean

Whether the conversion operation was successful.

Required roles: VM_DEVICE_WRITE