All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Q: How to find own domid or uuid from domU?
@ 2006-05-18 14:53 Andrew D. Ball
  0 siblings, 0 replies; 22+ messages in thread
From: Andrew D. Ball @ 2006-05-18 14:53 UTC (permalink / raw)
  To: xen-devel

I think it would be really, really good if the UUID would be exposed via 
sysfs in domU's.

Peace.
Andrew

Keir Fraser wrote:

 >
 > On 18 May 2006, at 14:18, Markus Armbruster wrote:
 >
 >>> If it's only management tools looking to obtain info about other
 >>> running domains, there's already a dom0_op for querying uuid info.
 >>>
 >>> Is there any reason a domain needs to know its *own* uuid?
 >>
 >>
 >>
 >> It's management tools looking to obtain info about their own domain.
 >>
 >> Consider a network-enabled stat-gathering, managing, or monitoring
 >> tool running on domU.  It wants to uniquely identify itself to the
 >> peer.  IP or MAC can work in some environments, but in others they're
 >> ephemeral.  UUID would be much better.  It's the only thing that known
 >> never to change, isn't it?
 >
 >
 >
 > Ok makes sense.
 >
 > Adding a new op to the version hypercall will be fine.
 >
 >  -- Keir
 >
 >
 > _______________________________________________
 > Xen-devel mailing list
 > Xen-devel@lists.xensource.com
 > http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: Q: How to find own domid or uuid from domU?
@ 2006-05-18 12:06 James Harper
  0 siblings, 0 replies; 22+ messages in thread
From: James Harper @ 2006-05-18 12:06 UTC (permalink / raw)
  To: Keir Fraser, Markus Armbruster; +Cc: xen-devel

> That might be okay, although even that might appear to change if we
> implement things like VM fork in future.

Hmmm. That sounds interesting. If was done with CoW, the fork could be
almost instant. You could freeze a running domain, fork (copy) it (and
snapshot the underlying lvm volume), and run the copy to test a
scenario, then roll it back again and test another.

Is that achievable using any combination of existing features at all?

Sounds like we need a domain UUID and an instance UUID...

James

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Q: How to find own domid or uuid from domU?
@ 2006-05-18  8:32 Markus Armbruster
  2006-05-18  8:55 ` Keir Fraser
  2006-05-18 13:43 ` Gerd Hoffmann
  0 siblings, 2 replies; 22+ messages in thread
From: Markus Armbruster @ 2006-05-18  8:32 UTC (permalink / raw)
  To: xen-devel

I can access xenstore /local/domain/DOMID in domU's kernel through the
xen/xenbus.h API.  What I can't figure out for love or money is how to
determine DOMID.  Or UUID, for that matter.  Ideas?

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

end of thread, other threads:[~2006-05-23 15:25 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 14:53 Q: How to find own domid or uuid from domU? Andrew D. Ball
  -- strict thread matches above, loose matches on Subject: below --
2006-05-18 12:06 James Harper
2006-05-18  8:32 Markus Armbruster
2006-05-18  8:55 ` Keir Fraser
2006-05-18  9:46   ` Markus Armbruster
2006-05-18 10:01     ` Keir Fraser
2006-05-18 10:52       ` Markus Armbruster
2006-05-18 12:27         ` Keir Fraser
2006-05-18 13:18           ` Markus Armbruster
2006-05-18 13:29             ` Keir Fraser
     [not found]               ` <446C8488.1030503@us.ibm.com>
     [not found]                 ` <8d2b2f0e40dfb24f939a81970a493a7f@cl.cam.ac.uk>
2006-05-18 15:21                   ` Andrew D. Ball
2006-05-18 16:59                     ` Christian Limpach
2006-05-22 14:18                       ` Andrew D. Ball
2006-05-22 14:45                         ` Christian Limpach
2006-05-22 18:36                           ` Andrew D. Ball
2006-05-23  7:52                       ` Markus Armbruster
2006-05-23  8:31                         ` Christian Limpach
2006-05-23 10:02                           ` Ewan Mellor
2006-05-23 11:02                             ` Markus Armbruster
2006-05-23 11:43                               ` Keir Fraser
2006-05-23 15:25                                 ` Ewan Mellor
2006-05-18 13:43 ` Gerd Hoffmann

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.