[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] BlockPull: Set initial bandwidth limit if specified



On 09/01/2011 04:35 PM, Adam Litke wrote:
The libvirt BlockPull API supports the use of an initial bandwidth limit but the
qemu block_stream API does not.  To get the desired behavior we use the two APIs
strung together: first BlockPull, then BlockJobSetSpeed.  We can do this at the
driver level to avoid duplicated code in each monitor path.

Signed-off-by: Adam Litke<agl us ibm com>
---
  src/qemu/qemu_driver.c       |    8 +++++++-
  src/qemu/qemu_monitor_json.c |    4 ----
  2 files changed, 7 insertions(+), 5 deletions(-)

ACK and pushed.

--
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]