Re: [libvirt] [PATCH 1/2] BlockJob: Bandwidth parameter is in MB when using text monitor

2011-09-01 Thread Daniel P. Berrange
On Wed, Aug 31, 2011 at 05:15:43PM -0500, Adam Litke wrote: Due to an unfortunate precedent in qemu, the units for the bandwidth parameter to block_job_set_speed are different between the text monitor and the qmp monitor. While the qmp monitor uses bytes/s, the text monitor expects MB/s.

Re: [libvirt] [PATCH 1/2] BlockJob: Bandwidth parameter is in MB when using text monitor

2011-09-01 Thread Eric Blake
On 09/01/2011 03:03 AM, Daniel P. Berrange wrote: On Wed, Aug 31, 2011 at 05:15:43PM -0500, Adam Litke wrote: Due to an unfortunate precedent in qemu, the units for the bandwidth parameter to block_job_set_speed are different between the text monitor and the qmp monitor. While the qmp monitor

[libvirt] [PATCH 1/2] BlockJob: Bandwidth parameter is in MB when using text monitor

2011-08-31 Thread Adam Litke
Due to an unfortunate precedent in qemu, the units for the bandwidth parameter to block_job_set_speed are different between the text monitor and the qmp monitor. While the qmp monitor uses bytes/s, the text monitor expects MB/s. Correct the units for the text interface. Signed-off-by: Adam