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

Re: [Xen-devel] determining if kernel is dom0 kernel or not.


  • To: Keir Fraser <keir@xxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
  • From: jd <jdsw2002@xxxxxxxxx>
  • Date: Wed, 11 Jul 2007 15:04:17 -0700 (PDT)
  • Cc: xendevel <xen-devel@xxxxxxxxxxxxxxxxxxx>, jd <jdsw2002@xxxxxxxxx>
  • Delivery-date: Wed, 11 Jul 2007 15:02:05 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=U0Fau5rNDwHYT4Ul6SxdaDvBZWuDNCbzE9mF3QllaIuBVlxKVGtaQtrs+Z+KAndfkJNaZB7DOZJf/TzAX//IQKr5cWovTZ3FCafeyu3rCENL0oERKVFPuyxprd0Bc6z5KqCQ40YTH/KRYcVIYdr0NjkMXBGsQnj/PTNdtfHKsPE=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Cool. This is what I was looking for. 

Optional : 
Any history behind it containing 'control_d' ? 
Control Dom ?

Thanks
/Jd
--- Keir Fraser <keir@xxxxxxxxxxxxx> wrote:

> On 11/7/07 21:38, "Ian Campbell"
> <Ian.Campbell@xxxxxxxxxxxxx> wrote:
> 
> > On Wed, 2007-07-11 at 20:18 +0100, Keir Fraser
> wrote:
> >> If you want to detect dom0 specifically then
> that's trickier --
> >> /proc/xen/privcmd for example exists even in a
> domU, if the kernel is
> >> dom0-capable. You'd have to be root and then try
> a privileged hypercall. :-)
> > 
> > Doesn't /proc/xen/capabilities contain something
> different on dom0 vs.
> > domU?
> 
> Oh yes, of course. It contains 'control_d' if you
> are dom0.
> 
>  -- Keir
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 



      
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


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