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

[Xen-devel] Re: [Question] vcpu-set before or after xen_pause_requested

To: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [Question] vcpu-set before or after xen_pause_requested
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 15 Apr 2010 11:18:05 +0100
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Thu, 15 Apr 2010 03:19:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EB8593BCECAB3D40A8248BE0B6400A38469C6F70@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AcrcecJMJc2IYH20QWKJIzWNk5GrWwACy16F
Thread-topic: [Question] vcpu-set before or after xen_pause_requested
User-agent: Microsoft-Entourage/12.24.0.100205
This might be a question for Ian Jackson, since it is qemu related?

 -- Keir

On 15/04/2010 09:58, "Liu, Jinsong" <jinsong.liu@xxxxxxxxx> wrote:

> Keir,
> 
> I have a question.
> Recently we want to support 'xm vcpu-set' command for HVM vcpu hotplug.
> At xenstore.c --> xenstore_parse_domain_config(), we add xs_watch for
> xendstore cpu node;
> At xenstore.c --> xenstore_process_event(), we add
> xenstore_process_vcpu_set_event() to handle vcpu-set event.
> 
> Now the question is,
> At xenstore.c --> xenstore_process_event(), where is right place to add
> xenstore_process_vcpu_set_event():
> 1. add xenstore_process_vcpu_set_event() before xen_pause_requested check? or
> 2. add xenstore_process_vcpu_set_event() after xen_pause_requested check?
> That means, may vcpu-set take effect between xm save/resume command? seems now
> pci hotplug and usb hotplug do so.
> 
> Thanks,
> Jinsong



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