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

Re: [Xen-devel] Help with CONFIG_COMPAT



It was a bit bold of me to say "delete" - the identifier has to stay for use
in architecture independent code. But I'll send a patch in a minute to
remove all instances from x86-64 specific code, and reduce their amount
in x86 bi-arch.

Jan

>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 08.10.09 10:17 >>>
No, I'd happily see the end of CONFIG_COMPAT.

 -- Keir

On 08/10/2009 09:13, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> And I think it's time to delete the construct - it was intended to have a way
> to quickly disable the compat mode support in case it breaks, but there's
> sufficient use of that feature by now so that I don't think it can reasonably
> be disabled anymore. Or does someone think it would be helpful to be
> able to cut down on the hypervisor size if someone really doesn't care
> about it?
> 
> Jan
> 
>>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 08.10.09 08:41 >>>
> CONFIG_COMPAT is always set for 64-bit hypervisor. You can consider it
> equivalent to CONFIG_X86_64 really, but it's generally used to indicate
> stuff relating to the compat shim.
> 
> Theoretically if CONFIG_COMPAT were not set then 64-bit Xen could not run
> 32-bit guests (dom0 or domU). But CONFIG_COMPAT is never disabled in
> practice.
> 
>  -- Keir
> 
> On 08/10/2009 05:12, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:
> 
>> Can someone please clarify this. (yes/no):
>> 
>> For 64bit hypervisor:
>> 
>> 1. if CONFIG_COMPAT is set, then dom0 must be 32bit?
>> 
>> 
>> 2. if CONFIG_COMPAT is not set, then dom0 must be 64bit?
>> 
>> 
>> 3. if CONFIG_COMPAT is not set, then domU cannot be 32bit?
>> 
>> 
>> thanks a lot,
>> Mukesh
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx 
>> http://lists.xensource.com/xen-devel 
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx 
> http://lists.xensource.com/xen-devel 
> 




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