Using the command virsh qemu-agent-command <domain name> '{"execute":"guest-info"}' | jq we're able to get a set of capabilities for the domain back, which can allow us to verify whether the connection prerequisites are met. This can enable us to fail the host with a nice message saying that it can't work, and list what capabilities are missing.
SUMMARY
Using the command
virsh qemu-agent-command <domain name> '{"execute":"guest-info"}' | jq
we're able to get a set of capabilities for the domain back, which can allow us to verify whether the connection prerequisites are met. This can enable us to fail the host with a nice message saying that it can't work, and list what capabilities are missing.ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION