[libvirt] [PATCH 3/4] api: disallow virConnectGetDomainCapabilities on read-only connections