[Xen-devel] [PATCH for-next v3 05/12] x86/domain: factor out pv_vcpu_initialise

2017-04-26 Thread Wei Liu
Move PV specific vcpu initialisation code to said function, but leave the only line needed by idle domain in vcpu_initialise. Use pv_vcpu_destroy in error path to simplify code. It is safe to do so because the destruction function accepts partially initialised vcpu struct. Signed-off-by: Wei Liu

Re: [Xen-devel] [PATCH for-next v3 05/12] x86/domain: factor out pv_vcpu_initialise

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > Move PV specific vcpu initialisation code to said function, but leave > the only line needed by idle domain in vcpu_initialise. > > Use pv_vcpu_destroy in error path to simplify code. It is safe to do so > because the destruction function accepts partially initi