[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 2/8] iommu/vt-d: add bind_pasid_table functi
From: |
jacob pan |
Subject: |
Re: [Qemu-devel] [RFC PATCH 2/8] iommu/vt-d: add bind_pasid_table function |
Date: |
Mon, 15 May 2017 06:14:22 -0700 |
On Fri, 12 May 2017 15:59:29 -0600
Alex Williamson <address@hidden> wrote:
> > + if (pasidt_binfo->size >= intel_iommu_get_pts(iommu)) {
> > + pr_err("Invalid gPASID table size %llu, host size
> > %lu\n",
> > + pasidt_binfo->size,
> > + intel_iommu_get_pts(iommu));
> > + ret = -EINVAL;
> > + goto out;
>
> equal is not valid?
you are right, equal is valid. I was thinking of shared PASID space
between guest and host but that is not the case here.
The rest of your comments are taken too, thanks for the review.
Jacob