All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Christian.Limpach@cl.cam.ac.uk
Cc: xen-devel@lists.xensource.com, "Andrew D. Ball" <aball@us.ibm.com>
Subject: Re: Q: How to find own domid or uuid from domU?
Date: Tue, 23 May 2006 09:52:00 +0200	[thread overview]
Message-ID: <87sln1ch5r.fsf@pike.pond.sub.org> (raw)
In-Reply-To: <3d8eece20605180959i5b06dbd2q3f66ebfeba0be255@mail.gmail.com> (Christian Limpach's message of "Thu, 18 May 2006 17:59:51 +0100")

"Christian Limpach" <christian.limpach@gmail.com> writes:

> There's a uuid node under the vm path.  I.e. you'd do:
> vmpath=$(xenstore-read vm)
> uuid=$(xenstore-read $vmpath/uuid)

Works in dom0:

    # xenstore-read vm
    /vm/00000000-0000-0000-0000-000000000000
    # xenstore-read /vm/00000000-0000-0000-0000-000000000000/uuid
    00000000-0000-0000-0000-000000000000

Fails in domU:

    # xenstore-read vm
    /vm/947df77a-58b5-4e3d-9b6c-aa0178d8e133
    # xenstore-read /vm/947df77a-58b5-4e3d-9b6c-aa0178d8e133/uuid
    xenstore-read: couldn't read path /vm/947df77a-58b5-4e3d-9b6c-aa0178d8e133/uuid

Please advise.

  parent reply	other threads:[~2006-05-23  7:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18  8:32 Q: How to find own domid or uuid from domU? 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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2006-05-18 12:06 James Harper
2006-05-18 14:53 Andrew D. Ball

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sln1ch5r.fsf@pike.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=Christian.Limpach@cl.cam.ac.uk \
    --cc=aball@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.