On 10/08/2010 11:29, JoeBilish wrote:
> 
> Hi Liam,
> 
> Thanks, this is what I want.
> 
> Can I use this APIs for early version of LODM?
> 

It will only be in very recent OS versions (e.g. it isn't in S10U8, the most
recently available S10 release)

Liam


>  > Date: Tue, 10 Aug 2010 11:14:26 +0100
>  > From: [email protected]
>  > To: [email protected]
>  > CC: [email protected]
>  > Subject: Re: [ldoms-discuss] Is It a Guest Domain
>  >
>  > On 10/08/2010 10:54, JoeBilish wrote:
>  > > Hi All,
>  > >
>  > > Our program is required to detect if it's running inside a guest domain 
> for license purpose.
>  > > And I find some useful informations at
>  > > 
> http://hub.opensolaris.org/bin/download/Community+Group+ldoms/files/introtoldoms3usenix.pdf
>  > >
>  > > According to that document, we can check the device under 
> /etc/path_to_inst to detect a guest 
> domain.
>  > > Then my method is:
>  > >
>  > > if there is "channel-devices"
>  > > then
>  > > return guest_domain.
>  > > else
>  >! ; > if all the "network" are "virtual-devices"
>  > > return guest_domain
>  > > then
>  > >
>  > > does this make sense? Is this enough to say this is a guest domain? Any 
> things wrong here you 
> can see?
>  >
>  > You are better off using virtinfo(1M) which is a Committed interface.
>  > It was integrated into snv_135
>  >
>  > PSARC 2010/004 Logical Domains Information API and ldminfo
>  > 6680702 RFE: Want a mechanism for Solaris to know if it is an LDOM and if 
> so what type
>  >
>  > http://arc.opensolaris.org/caselog/PSARC/2010/004/
>  >
>  > Liam

_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to