qemu: apply the convention that a working QMP socket exists iff the VM is running