[libvirt PATCH 10/16] domain_conf: graphics: extract DBus formatting to separate function