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: 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] poweroff in 3.2 and 3.3
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 20 Nov 2008 16:56:47 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Thu, 20 Nov 2008 00:57:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C54AD5A6.1F6E1%keir.fraser@xxxxxxxxxxxxx>
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>
References: <0A882F4D99BBF6449D58E61AAFD7EDD601E23B4C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C54AD5A6.1F6E1%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclKScevBlQ6wLY9Ed2WhQAX8io7RQAa6aCAAAwrAzgAABhlQAAAdVEkAAAGhPAAATPAeQAAFg6w
Thread-topic: [Xen-devel] poweroff in 3.2 and 3.3
>From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx] 
>Sent: Thursday, November 20, 2008 4:52 PM
>On 20/11/08 08:21, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>>> 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).
>>> 
>> 
>> what do you mean by "xen itself is robust to..."?
>
>It used to be the case that Xen CPU hotplug depended on CPUs 
>alreayd being
>idle. It would just go horribly wrong if non-idle VCPUs were 
>still running.
>

That should be still the current case, and running vcpus will
be migrated first before pulling down the CPUs (added by 
Haitao Shan). So I think we can just return error for S3 case
if there're other running vcpus other than dom0's vcpu0.

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