[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] intel_iommu: check misordered init when real
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH v2] intel_iommu: check misordered init when realize |
Date: |
Wed, 1 Mar 2017 17:18:31 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Wed, Mar 01, 2017 at 09:03:47AM +0200, Marcel Apfelbaum wrote:
> On 03/01/2017 06:14 AM, Jason Wang wrote:
[...]
> Hi Jason,
>
> I am not saying we don't need to create the IOMMU before some other device,
> I just don't think that the command line order should matter to user.
>
> BTW, are you working on a way to limit the IOMMU scope to a specific set of
> devices?
> If yes, this approach will also help you work.
Marcel,
Do you have any plan after 2.9 to re-arrange the init order thing a
bit? In general, maybe we need an ordering support for devices.
Besides that, I am thinking whether it would be wise that we just init
the IOMMUs during machine init just like before, but keep the
"-device" interface? After all, at least the root IOMMU device should
be with root complex, and it feels a little strange we just split the
init process apart (we delay the IOMMU init into device
initializations).
Not sure whether above makes sense though. Thanks,
-- peterx