From: "Jan Beulich" Subject: Re: [PATCH, v2] add privileged/unprivileged kernel feature indication Date: Wed, 20 Jul 2011 13:50:38 +0100 Message-ID: <4E26EB3E020000780004E831@nat28.tlf.novell.com> References: <4E259FB0020000780004E4BE@nat28.tlf.novell.com> <4E25A00E020000780004E4CA@nat28.tlf.novell.com> <1311158384.20648.184.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1311158384.20648.184.camel@zakaz.uk.xensource.com> 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: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 20.07.11 at 12:39, Ian Campbell wrote: > On Tue, 2011-07-19 at 14:17 +0100, Jan Beulich wrote: >> Oops, $subject should have said [PATCH, v3] ... >>=20 >> >>> On 19.07.11 at 15:16, "Jan Beulich" wrote: >> > With our switching away from supporting 32-bit Dom0 operation, users >> > complained that attempts (perhaps due to lack of knowledge of that >> > change) to boot the no longer privileged kernel in Dom0 resulted in >> > apparently silent failure. To make the mismatch explicit and visible, >> > add feature flags that the kernel can set to indicate operation in >> > what modes it supports. For backward compatibility, absence of both >> > feature flags is taken to indicate a kernel that may be capable of >> > operating in both modes. >=20 > Actually, since you are introducing a new interface to the feature bits > _and_ it is not possible to add these new bits to the old interface > anyway can't we just have XENFEAT_privileged and require that guest > kernels using the new interface ensure that bit correctly represents the > configuration? IOW backwards compatilibilty is ensure through the > presence/absence of XEN_ELFNOTE_SUPPORTED_FEATURES. At the risk of repeating myself - the notion of "privileged" implying ability to run unprivileged is a Linux one, and I don't want to embed such an implication in the interface. Jan