All of lore.kernel.org
 help / color / mirror / Atom feed
* Finding Your Own Domain Id
@ 2008-01-23 18:43 Adam Wick
  2008-01-23 19:17 ` Samuel Thibault
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Wick @ 2008-01-23 18:43 UTC (permalink / raw)
  To: xen-devel

Hello -

Is there a good way to get one's own domain id from Xen these days?  
We were using the 'getdomaininfo' hypercall with DOMID_SELF to find  
out, which worked great. But in upgrading to more recent pulls of xen- 
unstable today, this seems to have been intentionally broken in C/S  
15725. So is there any new, blessed way to find out the domain id  
these days? If there isn't, could such a call be added to the DOMCTL  
set, or 15725 reverted and the clients fixed instead?


Thanks,
Adam Wick
Galois, Inc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Finding Your Own Domain Id
  2008-01-23 18:43 Finding Your Own Domain Id Adam Wick
@ 2008-01-23 19:17 ` Samuel Thibault
  2008-01-23 19:57   ` Adam Wick
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Thibault @ 2008-01-23 19:17 UTC (permalink / raw)
  To: Adam Wick; +Cc: xen-devel

Adam Wick, le Wed 23 Jan 2008 10:43:20 -0800, a écrit :
> Is there a good way to get one's own domain id from Xen these days?  

    xenbus_read(XBT_NIL, "domid", &dom_id);
?

Samuel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Finding Your Own Domain Id
  2008-01-23 19:17 ` Samuel Thibault
@ 2008-01-23 19:57   ` Adam Wick
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Wick @ 2008-01-23 19:57 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: xen-devel

On Jan 23, 2008, at 11:17 AM, Samuel Thibault wrote:
> Adam Wick, le Wed 23 Jan 2008 10:43:20 -0800, a écrit :
>> Is there a good way to get one's own domain id from Xen these days?
>     xenbus_read(XBT_NIL, "domid", &dom_id);
> ?

I was really hoping to avoid hitting the XenStore. We've been  
conducting some experiments without it, so having a hypercall to use  
was really nice.


-Adam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-23 19:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 18:43 Finding Your Own Domain Id Adam Wick
2008-01-23 19:17 ` Samuel Thibault
2008-01-23 19:57   ` Adam Wick

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.