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

Re: [Xen-devel] [PATCH] Fix dom0 boot issue with VT-d enabled



On 22/4/08 06:56, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:

> c/s 17487 put iommu_setup() in __initcall(), this makes iommu_setup() be
> called before dom0 creation. Because iommu_setup() will do something for
> dom0 such as map 1:1 page table, while dom0 is NULL, reboot happens
> during dom0 booting. This patch moves iommu_setup() behind dom0
> creation.

The code for system and domain initialisation of iommu state is a
disgraceful mess. The former should be done early, before domains (including
dom0) are created. If you have stuff to do for dom0, do it when dom0 is
created. You get a call into your code at that point.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.