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] [Question] vcpu-set before or after xen_pause_requested

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [Question] vcpu-set before or after xen_pause_requested
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Fri, 23 Apr 2010 13:36:32 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Campbell <Ian.Campbell@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Thu, 22 Apr 2010 22:37:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19408.28686.471754.141615@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <EB8593BCECAB3D40A8248BE0B6400A38469C6F70@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19399.7706.36343.487108@xxxxxxxxxxxxxxxxxxxxxxxx> <BC00F5384FCFC9499AF06F92E8B78A9E026FAC6041@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19404.31543.186398.77423@xxxxxxxxxxxxxxxxxxxxxxxx> <BC00F5384FCFC9499AF06F92E8B78A9E026FB9842F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19405.32826.995539.344701@xxxxxxxxxxxxxxxxxxxxxxxx> <BC00F5384FCFC9499AF06F92E8B78A9E026FB9848A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19405.45039.408517.387010@xxxxxxxxxxxxxxxxxxxxxxxx> <BC00F5384FCFC9499AF06F92E8B78A9E026FB98502@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19405.63152.214572.548865@xxxxxxxxxxxxxxxxxxxxxxxx> <BC00F5384FCFC9499AF06F92E8B78A9E026FB98E37@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19408.28686.471754.141615@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcriM3uCsabNaQqqQ/OpIMmAo7R6QwAcn5AQ
Thread-topic: [Xen-devel] [Question] vcpu-set before or after xen_pause_requested
Ian Jackson wrote:
> Liu, Jinsong writes ("RE: [Xen-devel] [Question] vcpu-set before or
> after xen_pause_requested"): 
>> I'm not quite clear your idea. Per my understanding, a new xenstore
>> key name cannot avoid the issue of old key, like timeout value,
>> malfunction guest, ...
> 
> How does the current arrangement deal with an attempt to "xm vcpu-set"
> a PV guest which doesn't support that operation ?
> 

Currently if PV guest doesn't support vcpu-hotplug, it then has no xenbus_watch 
to related xenstore nodes.
then if attempt 'xm vcpu-set', 
1). xend will still write to xenstore nodes with value "online/offline"
/local/domain/domid/cpu/0/availability
/local/domain/domid/cpu/1/availability
......
/local/domain/domid/cpu/maxvcpus-1/availability
2). PV guest has not any info about xenstore change, and will not be influenced 
by 'xm vcpu-set' command;

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