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:16:41 +0000
Cc:
Delivery-date: Thu, 20 Nov 2008 00:17:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0A882F4D99BBF6449D58E61AAFD7EDD601E23B49@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: AclKScevBlQ6wLY9Ed2WhQAX8io7RQAa6aCAAAwrAzgAABhlQAAAdVEk
Thread-topic: [Xen-devel] poweroff in 3.2 and 3.3
User-agent: Microsoft-Entourage/11.4.0.080122
On 20/11/08 08:11, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

>> I'm not sure what the WARN_ON() condition would be. A forceful
>> domain_pause()/vcpu_pause() is a good idea anyway.
>> 
>> -- Keir
> 
> I'm pretty sure that domains will be busy catching up missing ticks
> and throw warnings after system is waken up. Why should Xen
> continue the progress even when we're aware the fact that something
> will be hurted if doing so? Return a error with warning thrown out at
> least let user know current condition inapproriate for s3 (e.g. some
> incautious action) who can turn back to normal flow then. This is like
> normal OS suspend flow which simply exits if some checks fail.

If Xen itself itself is now robust to VCPUs still being runnable/running
then I'm fine with warnings only. If Xen isn't, then forceful pausing is
still needed (perhaps with some warnings in addition).

 -- Keir



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