[libvirt] [PATCH RFC 02/51] qemu: blockjob: Emit VIR_DOMAIN_EVENT_ID_BLOCK_JOB only for local disks

Ján Tomko jtomko at redhat.com
Tue Dec 18 13:32:32 UTC 2018

On Wed, Dec 12, 2018 at 06:08:18PM +0100, Peter Krempa wrote:
>The event reports the disk path to identify the disk which makes sense
>only for local disks. Additionally network backed disks like NBD don't
>need to have a path so the callback would return NULL.
>Report VIR_DOMAIN_EVENT_ID_BLOCK_JOB only for non-empty local disks.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_blockjob.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20181218/a2ce7a61/attachment-0001.sig>

More information about the libvir-list mailing list