[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.