Il 26/09/2012 21:10, Eric Blake ha scritto:
>> > +- "device": device name (json-string)
>> > +- "operation": I/O operation (json-string, "read" or "write")
> For symmetry with BLOCK_JOB_{CANCELLED,COMPLETED}, you also need:
> - "type":     Job type ("stream" for image streaming, json-string)
> 
> Libvirt would like to key off of the 'type' field for all three events.
>  Besides, if management issues several block commands in a row, and only
> then starts processing the pending event queue, it would be nice to know
> whether the error stemmed from a 'stream', 'mirror', or (when combined
> with Jeff's patches) 'commit' job.
> 
> 

Let's add it as a follow-up.

Paolo

Reply via email to