xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Razvan Cojocaru <rzvncj@gmail.com>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Is it possible to follow a rebooted domain (with a different ID)?
Date: Mon, 07 Jan 2013 12:48:28 +0200	[thread overview]
Message-ID: <50EAA7FC.1090602@gmail.com> (raw)

Hello,

I have an application, running in dom0 userspace, that receives 
mem_events about a domU HVM guest. At some point, the HVM guest (a 
Windows machine) restarts, at which point I need to shut down my 
userspace application, find it's new ID (with 'xm list'), then re-start 
my application passing the new ID as a parameter.

What I'd like to be able to do is to automatically follow the domain 
after it has started again. Is it possible to do this from dom0 
userspace (using libxc), and if it is, how?

A related question is this: is it possible to get notifications from 
userspace about a new domU that's just been started (regardless of 
whether it's a reboot of a previously watched domU or not)?

Thanks,
Razvan Cojocaru

             reply	other threads:[~2013-01-07 10:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-07 10:48 Razvan Cojocaru [this message]
2013-01-07 10:57 ` Is it possible to follow a rebooted domain (with a different ID)? Ian Campbell
2013-01-07 11:15 ` Mats Petersson
2013-01-07 12:10   ` Razvan Cojocaru

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=50EAA7FC.1090602@gmail.com \
    --to=rzvncj@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).