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-devel

Re: [Xen-devel] poweroff in 3.2 and 3.3

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] poweroff in 3.2 and 3.3
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 20 Nov 2008 08:00:50 +0000
Cc:
Delivery-date: Thu, 20 Nov 2008 00:01:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0A882F4D99BBF6449D58E61AAFD7EDD601E23B3F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclKScevBlQ6wLY9Ed2WhQAX8io7RQAa6aCAAAwrAzg=
Thread-topic: [Xen-devel] poweroff in 3.2 and 3.3
User-agent: Microsoft-Entourage/11.4.0.080122
On 20/11/08 02:39, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> However I'm considering the point whether Xen can simply reject the
> s3 request, when observing non-current vcpus still alive. Domain can
> be in trouble if unaware of underlying sleep phase, such time keeping
> and softlockup warning. More seriously, domain with passthrough
> devices can't recover device state since it's even not notified to save
> context. Opinions?

What would you warn on?
 - VCPUs still exist?
 - VCPUs still online?
 - VCPUs not paused?
 - VCPUs not 'paused_by_system_controller'?

I'm not sure what the WARN_ON() condition would be. A forceful
domain_pause()/vcpu_pause() is a good idea anyway.

 -- Keir



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