[pve-devel] [PATCH 1/2] fixes for qemu_block_set_io_throttle

Dietmar Maurer dietmar at proxmox.com
Mon Jul 16 05:51:56 CEST 2012


> +    vm_mon_cmd($vmid, "block_set_io_throttle", device => $deviceid, bps
> + => int($bps), bps_rd => int($bps_rd), bps_wr => int($bps_wr), iops =>
> + int($iops), iops_rd => int($iops_rd), iops_wr => int($iops_wr));

Why do you convert to int? AFAIK values are already integer?

- Dietmar




More information about the pve-devel mailing list