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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel