qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 3/4] vfio iommu: Add support for mediated dev


From: Dong Jia
Subject: Re: [Qemu-devel] [PATCH v7 3/4] vfio iommu: Add support for mediated devices
Date: Thu, 25 Aug 2016 15:29:33 +0800

On Thu, 25 Aug 2016 09:23:54 +0530
Kirti Wankhede <address@hidden> wrote:

> @@ -769,6 +1090,33 @@ static int vfio_iommu_type1_attach_group(void 
> *iommu_data,
>       if (ret)
>               goto out_free;
> 
> +     if (IS_ENABLED(CONFIF_VFIO_MDEV) && !iommu_present(bus) &&
s/CONFIF_VFIO_MDEV/CONFIG_VFIO_MDEV/

> +         (bus == &mdev_bus_type)) {
> +             if (iommu->local_domain) {
> +                     list_add(&group->next,
> +                              &iommu->local_domain->group_list);
> +                     kfree(domain);
> +                     mutex_unlock(&iommu->lock);
> +                     return 0;
> +             }
> +


--------
Dong Jia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]