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

Re: [Xen-devel] [PATCH v3 2/6] VMX: Properly handle pi when all the assigned devices are removed



>>> On 31.08.16 at 05:56, <feng.wu@xxxxxxxxx> wrote:
> This patch handles some concern cases when the last assigned device
> is removed from the domain. In this case we should carefully handle
> pi descriptor and the per-cpu blocking list, to make sure:
> - all the PI descriptor are in the right state when next time a
> devices is assigned to the domain again.
> - No remaining vcpus of the domain in the per-cpu blocking list.
> 
> Basically, we pause the domain before zapping the PI hooks and
> removing the vCPU from the blocking list, then unpause it after
> that.
> 
> Signed-off-by: Feng Wu <feng.wu@xxxxxxxxx>

Looks plausible, but
a) as already for patch 1 I'm missing information on what changed
   since v2 and
b) doesn't this make unnecessary patch 1?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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