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

RE: [Xen-users] State of a rebooting vm

To: "'Simon Hobson'" <linux@xxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] State of a rebooting vm
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Fri, 19 Mar 2010 13:32:31 -0400
Cc:
Delivery-date: Fri, 19 Mar 2010 10:33:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240813c7c94b580f3d@xxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: PRD, Inc.
References: <50c260c91003180833j51fca824l7e2a7bf472bde847@xxxxxxxxxxxxxx> <50c260c91003190126q36df836cpe6889ec61f27bdcf@xxxxxxxxxxxxxx> <p06240813c7c94b580f3d@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrHe7Z8T+zHmNXZQg6XvSTrafrPAwADfoqQ
        Actually, when a VM is rebooted, it is destroyed and a new one is
created.  This should only take as long as a destroy and create would take
on the command line.  The only way to determine how long it took or when it
happened would be to look at the appropriate line(s) in the appropriate
logs.  I'm not an expert here and can't tell you where to look, and in
reality, I am simply making an assumption that is the opposite of Simons.
My reasoning for this assumption is as follows:
1) The VM ID in xm list changes 
2) The cpu time counter in xm list resets
        I can't tell you which log(s) to look in to figure out what you
want, but I should imagine it is possible.
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Simon Hobson
Sent: Friday, March 19, 2010 11:47
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] State of a rebooting vm

Ruediger Schmidt wrote:

>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"?

Firstly, that fact that your question wasn't answered probably means 
that no-one has the answer - just asking again isn't the best way to 
go about things.

As far as I know, the VM remains running when a guest is rebooting - 
but I'm no expert.

-- 
Simon Hobson

WANTED: "Software CD ROM Kit" for Canon CLBP 360-PS printer (Canon 
part no RH6-3612, or possibly RH6-3810, or RH6-3610 might do). I've a 
dead HD and need this CD so I can replace the disk and re-install the 
printer OS on it.
This is NOT the same thing as the printer drivers to load on the 
computer - there's no problem there.
If anyone knows where I might get hold of one I'd be grateful - 
requests to Canon drew a blank, it's been out of support for years.
Alternatively, if anyone has one of these and would let me image 
their hard disk ...

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>