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

Re: [Xen-devel] Re: [PATCH] VT-d: prevent dom0 to use VT-d HW



On 08/09/2009 15:07, "Ian Jackson" <Ian.Jackson@xxxxxxxxxxxxx> wrote:

> Christian Tramnitz writes ("[Xen-devel] Re: [PATCH] VT-d: prevent dom0 to use
> VT-d HW"):
>> Wouldn't be easier (and more likely to be adopted by upstream) to add a
>> Kconfig dependency like "depends on !XEN_DOM0" to VT-d?
> 
> I don't think that would be right.  Nowadays we want to be able to
> build kernels that will work on bare hardware, or under Xen, rather
> than baking the configuration statically into the kernel image.

The correct alternative would be to gate VT-d initialisation at run-time,
conditional on being run as dom0. Probably would need a hook and probably
would not be hugely palatable to the kernel maintainers. This effective
'virtualisation'/hack of the ACPI tables is probably the right way to go.

 -- 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®.