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

Re: [Xen-devel] simple check for domU?


  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
  • From: Chris Bainbridge <chris.bainbridge@xxxxxxxxx>
  • Date: Sat, 12 Nov 2005 02:26:25 +0000
  • Cc: NAHieu <nahieu@xxxxxxxxx>, Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 12 Nov 2005 02:26:29 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EC3tIHQXWJ77AL4DZKsi2g1fwZ4vkXLkL6X31PnOip+NddyRNXhBIsRPtqAsyeJ9cK6ZduojsXDcaUHziJ8Nrt2EVDWAaUk9vKePSN+Id8ZbukGdNBSxdxMJGvrR526ln3Nmn3cFhd1xHFOmSus8dy5gKyssUSh+gOcIbct3ZZY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 12/11/05, James Harper <james.harper@xxxxxxxxxxxxxxxx> wrote:
> >
> > If there's no easy and reliable way to do this maybe one should be
> added?
> >
>
> You probably need to clarify exactly what you are asking. If you are
> running a -xen kernel instead of -xen[0U], then it's the same kernel but
> differing in what privileges you have. In theory (I hope I'm right when
> I say this), it is possible to give a domU kernel some access to
> hardware, so even the line between a privileged or not kernel is a
> little blurred.

The Gentoo init scripts do some stuff that fails under a domU
(hwclock, ntp..). There's a function that tries to detect a if the
kernel is a xenU so as to not to do the things that fail, but it's
currently broken (http://bugs.gentoo.org/show_bug.cgi?id=107976). It
would be nice to have a simple way to fix it.

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