[libvirt] [PATCHv5 09/23] blockjob: return appropriate event and info

Jiri Denemark jdenemar at redhat.com
Thu Apr 19 20:12:40 UTC 2012


On Mon, Apr 16, 2012 at 23:06:00 -0600, Eric Blake wrote:
> Handle the new type of block copy event and info.  Of course,
> this patch does nothing until a later patch actually allows the
> creation/abort of a block copy job.  And we'd really love to
> have an event without having to poll for the transition between
> pull and mirroring, but that will have to wait for qemu.
> 
> * src/qemu/qemu_monitor_json.c (qemuMonitorJSONHandleBlockJobImpl)
> (qemuMonitorJSONGetBlockJobInfoOne): Translate new job type.
> * src/qemu/qemu_driver.c (qemuDomainBlockJobImpl): Snoop a successful
> info query to save effort on a pivot request.
> ---
> 
> was 10/18 in v4
> no real change
> 
>  src/qemu/qemu_driver.c       |    6 ++++++
>  src/qemu/qemu_monitor_json.c |    4 ++++
>  2 files changed, 10 insertions(+), 0 deletions(-)

OK

Jirka




More information about the libvir-list mailing list