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

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Question] vcpu-set before or after xen_pause_requested
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Thu, 15 Apr 2010 16:58:04 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Thu, 15 Apr 2010 02:01:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcrcecJMJc2IYH20QWKJIzWNk5GrWw==
Thread-topic: [Question] vcpu-set before or after xen_pause_requested
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