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: Sun, 18 Apr 2010 06:22:25 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Sun, 18 Apr 2010 08:40:44 -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: AcrefHTUUYXl2KQoSmaIUmZv9AjkJA==
Thread-topic: RE: [Xen-devel] [Question] vcpu-set before or after xen_pause_requested
Ian Jackson wrote:
> 
> Is your vcpu-set done by writing to the xenstore key
>    /local/domain/0/device-model/<domain>/command
No. Currently it has 'xm vcpu-set' command for PV domain, but not available for 
HVM domain.
We keep same (HVM) xm command --> xend server --> xenstore path as PV domain. 
At /local/domain/(domid)/cpu, we setup vcpu watch and handle at qemu side.

> 
> Please also add corresponding code to xl and libxl to do the vcpu-set
> operation.  We're hoping make xl and libxl the primary mechanism in
> 4.1.
OK, we will add xl and libxl at next patch. Attached are our patches for 'xm 
vcpu-set' command for HVM domain.


Ian,

We implement patches to enable 'xm vcpu-set' command for HVM domain, as 
attached.
Our question is, at qemu-xm-vcpu-set-2.patch, is it safe to do 
'xenstore_process_vcpu_set_event()' before 'xen_pause_requested' check?
Or, is it safe for 'xm vcpu-set' command runing between 'xm save' and 'xm 
resume'?

Thanks,
Jinsong

Attachment: qemu-xm-vcpu-set-1.patch
Description: qemu-xm-vcpu-set-1.patch

Attachment: qemu-xm-vcpu-set-2.patch
Description: qemu-xm-vcpu-set-2.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] [Question] vcpu-set before or after xen_pause_requested, Liu, Jinsong <=