[libvirt] [python PATCH 1/2] blockjob: support new BLOCK_JOB_2 event

Peter Krempa pkrempa at redhat.com
Thu Jun 19 07:28:46 UTC 2014


On 06/19/14 00:44, Eric Blake wrote:
> Libvirt 1.2.6 is introducing a new block job event that passes disk
> information by target device rather than host file name.  At the
> python level, we are just a passthrough, so we can reuse all the
> existing code and just wire up the new enum value.
> 
> * libvirt-override-virConnect.py
> (_dispatchDomainEventBlockPullCallback): Rename...
> (_dispatchDomainEventBlockJobCallback): ...to this, and make
> generic to both events.
> * libvirt-override.c
> (libvirt_virConnectDomainEventBlockJobCallback): Match naming.
> (libvirt_virConnectDomainEventRegisterAny): Allow new registration.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  libvirt-override-virConnect.py |  6 +++---
>  libvirt-override.c             | 10 +++++++---
>  2 files changed, 10 insertions(+), 6 deletions(-)
> 

ACK,

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140619/5b1169c6/attachment-0001.sig>


More information about the libvir-list mailing list