[libvirt] [PATCH] qemu: Fix warnings in event handlers