WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] State of a rebooting vm

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] State of a rebooting vm
From: Ruediger Schmidt <schrued@xxxxxxxxxxxxxx>
Date: Fri, 19 Mar 2010 09:26:43 +0100
Delivery-date: Fri, 19 Mar 2010 01:27:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=XtTyeAaw3owhTTTs06CyNXa+XiK8IRP+pPOVd1UnwrY=; b=lqndTRtsKPdT2G0TPDhPuVv+twkHcn9JpJAKsInoMGEoE3/JNDygoG7W44RAA6Ku5m 8qjxlWe/mgcrXbB4eX4kxtQCIEd5DtJTCLYPIU4Ydewmcp3JBQXJt9F9lREmwmVw4QIl YFd8MAF1+g/xENcS+gMjVCHf7bURiKdA8d4MM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GBjX9iEm0DQy0hcTuHFSVVv6dNlhdosLYj96L8Czito+zCPM0gtExuZOzY4y1ql0j3 Z0Xyw0AIruL2iRaGAx82YKYa+Y6ZCBofw/rh/TvZvWiAW8Zj3dXLZCjqU/CNFoLio7eU 1GGyF0tknQpuPOjwMU9vNoe2zHJ6pdtV2Uo5c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <50c260c91003180833j51fca824l7e2a7bf472bde847@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <50c260c91003180833j51fca824l7e2a7bf472bde847@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>