current_domain_id() from domU
Hi,
Question: Is there a way to get the current domain id from a domU in kernel-space?
Background: I know there is current_domain_id() on the hypervisor, I know most code uses DOMID_SELF when passing a domid to hypercalls, but this acts like a flag and doesn't really give it the domid, unless u reach the hypervisor, which can then call current_domain_id()... etc...
Signature · 2 lines
Thanks, C. René
A message that is not in the archive (sent off-list or not yet received): [email protected]
m
Quoted 10 lines · Carlos-Rene Perez
Hi,
Question: Is there a way to get the current domain id from a domU in kernel-space?
Background: I know there is
current_domain_id()on the hypervisor, I know most code usesDOMID_SELFwhen passing a domid to hypercalls, but this acts like a flag and doesn't really give it the domid, unless u reach the hypervisor, which can then callcurrent_domain_id()... etc...
And you think this is useful for what purpose?
What are you planning to do when/if the domain is saved+restored or migrated (it's getting a new ID when it's restored after either save or migrate)?
--
Mats
Quoted 8 lines
--
Thanks,
C. René_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel