[libvirt] [PATCH] qemu: monitor: Add check that monitor is non-null to specific commands