[libvirt] [PATCH 1/2] qemu: simplify monitor callbacks