Re: [PATCH] xen: vcpu_info reinit error after hold/release if VM has multi-cpu

2015-03-30 Thread Konrad Rzeszutek Wilk
On Mon, Mar 30, 2015 at 09:33:16PM +0800, Ouyang Zhaowei (Charles) wrote: > If the VM has multi-cpu the vcpu_info of cpu0 is the member of the structure > HYPERVISOR_shared_info, > and the others is not, but after hold/release the VM, the vcpu_info will be > reinitialized, What is 'hold/release'

[PATCH] xen: vcpu_info reinit error after hold/release if VM has multi-cpu

2015-03-30 Thread Ouyang Zhaowei (Charles)
If the VM has multi-cpu the vcpu_info of cpu0 is the member of the structure HYPERVISOR_shared_info, and the others is not, but after hold/release the VM, the vcpu_info will be reinitialized, the vcpu_info of all the vcpus will be considered as the member of HYPERVISOR_shared_info. This will cau