From: "Jan Beulich" Subject: Re: Help with CONFIG_COMPAT Date: Fri, 09 Oct 2009 13:18:11 +0100 Message-ID: <4ACF46230200007800019018@vpn.id2.novell.com> References: <4ACDBB560200007800018AA9@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , Mukesh Rathor Cc: "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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 08.10.09 10:17 >>> No, I'd happily see the end of CONFIG_COMPAT. -- Keir On 08/10/2009 09:13, "Jan Beulich" 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? >=20 > Jan >=20 >>>> Keir Fraser 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. >=20 > 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. >=20 > -- Keir >=20 > On 08/10/2009 05:12, "Mukesh Rathor" wrote: >=20 >> Can someone please clarify this. (yes/no): >>=20 >> For 64bit hypervisor: >>=20 >> 1. if CONFIG_COMPAT is set, then dom0 must be 32bit? >>=20 >>=20 >> 2. if CONFIG_COMPAT is not set, then dom0 must be 64bit? >>=20 >>=20 >> 3. if CONFIG_COMPAT is not set, then domU cannot be 32bit? >>=20 >>=20 >> thanks a lot, >> Mukesh >>=20 >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com=20 >> http://lists.xensource.com/xen-devel=20 >=20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com=20 > http://lists.xensource.com/xen-devel=20 >=20