Is there anyway for a DomU to find it''s domain ID? ie: inside a user domain, I need to know the domain ID as reported by xm list in Dom0. Evan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Is there anyway for a DomU to find it''s domain ID? ie: inside a user > domain, I need to know the domain ID as reported by xm list in Dom0.We really want to hide the current domain ID from a domain - on the ground that it doesn''t *really* need it for any operation and kernel programmers will probably abuse it if they have access to it. How about setting "extra=" parameter in the domain config file to contain some identifier (e.g. a textual name) then parse it out of /proc/cmdline. Although what you want can be done using the dom ID do you *really* need a mechanism for the domain to find out? Can the mapping to dom ID be done outside the domain? Cheers, Mark On Tuesday 30 August 2005 00:09, Evan Bigall wrote:> > Evan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Is there anyway for a DomU to find it''s domain ID? ie: inside a user > domain, I need to know the domain ID as reported by xm list in Dom0.No. If you do things like migration the domain ID will change. You really shouldn''t need to know the ID. -- Though I''m deep inside a storm it won''t defeat me, Floating free. Look out here comes trouble, Maybe I''m just pushing through a dream, But strange how things feel quite real to me. http://surreal.istic.org/ That which will guide the lost child back to her mother''s arms... EXILE. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users