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: Thu, 22 Apr 2010 11:30:45 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Ian, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Campbell <Ian.Campbell@xxxxxxxxxxxxx>, "alex.nixon@xxxxxxxxxx" <alex.nixon@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 21 Apr 2010 20:31:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19405.63152.214572.548865@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrgueZceg8idbLYS325BTABA/0WLwBEPzDQ
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"): 
>> How about this solution:
> ...
>> In this way, old PV guest can still work in old way (no bad than
>> before) with warning message, suggesting user to update their PV
>> driver.
> 
> But, in new guests which are malfunctioning, things will not be
> handled properly: the timeout will trigger and it will seem to have
> worked.  (Consider a guest which is paused or is starved of CPU
> because the host is very busy.)  There is also no good value for the
> timeout.
> 
> I would suggest using a different xenstore key name for the new
> protocol.  That way you don't get the feature with old drivers but at
> least you don't make malfunctions worse with the new ones.
> 

Ian,

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, ...
Currently I have no enough resource to solve all problems, so how about you 
solve old issue that PV driver has, and then I will update my HVM vcpu-set 
patch based on the new protocol?

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

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