[libvirt PATCH v6 12/36] Generalize qemuDomainLogContextNew()