Re: [PATCH 1/2] conf: add eim attribute to <iommu><driver>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2017-05-18 at 11:09 +0200, Ján Tomko wrote:
> Add an attribute to control extended interrupt mode.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1451282

[...]
> @@ -14184,6 +14184,14 @@ virDomainIOMMUDefParseXML(xmlNodePtr node,
>          }
>          iommu->caching_mode = val;
>      }

Add an empty line here, please.

> +    VIR_FREE(tmp);
> +    if ((tmp = virXPathString("string(./driver/@eim)", ctxt))) {
> +        if ((val = virTristateSwitchTypeFromString(tmp)) < 0) {
> +            virReportError(VIR_ERR_XML_ERROR, _("unknown eim value: %s"), tmp);
> +            goto cleanup;
> +        }
> +        iommu->eim = val;
> +    }

Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux