[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] State of a rebooting vm

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Ruediger Schmidt <schrued@xxxxxxxxxxxxxx>
  • Date: Thu, 18 Mar 2010 16:33:16 +0100
  • Delivery-date: Thu, 18 Mar 2010 08:34:36 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GI9yx0o4gsG2oLvtKAyEWKOQzRuhHfAm8fc0/px4ZWzSvdv0gbvyGyD+oXlkiRwwwB rMdE/t9f2/53ZuDxbC9pdMknbvKBbo+a6TpNA+Hh8fIhlTKnpDNz5MK6dJ7eJtB0m2SJ Ig1zr3oj/2rUPNvsNoXk3HCyxPfTgZ7W9QGyY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


We use a selfmade GUI environment which utilizes Xen to provide preinstalled OS images. The state of a specific vm is shown in the user's GUI and used by the web application. To decide whether or not a vm is running we call "/usr/sbin/xm list <vmid>". If the call is successful we know that the vm is running. If it fails, we know that there's no vm running ;-) So far so good...
My question: what happens if a user triggers a reboot inside of the vm, e.g. by executing "reboot" in Linux. Are Xen vm images always running even if the user has rebooted the image or is it stopped for a short moment right before the OS image is restarted? And if it's stopped, is it possible to say how long it is approximately stopped and/or not listed by "xm list"?
I have tried to google some information but weren't really successful and I don't know how to find out on my own if the vm is stopped while it is rebooted.

Thanks in advance!
Ruediger Schmidt
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.