[libvirt PATCHv2 01/16] qemu: agent: remove redundant checks