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

Re: [Xen-devel] [PATCH v3 3/9] libxl_internal: Introduce libxl__ev_devlock for devices hotplug via QMP



Anthony PERARD writes ("[PATCH v3 3/9] libxl_internal: Introduce 
libxl__ev_devlock for devices hotplug via QMP"):
> The current lock `domain_userdata_lock' can't be used when modification
> to a guest is done by sending command to QEMU, this is a slow process
> and requires to call CTX_UNLOCK, which is not possible while holding
> the `domain_userdata_lock'.
> 
> To resolve this issue, we create a new lock which can take over part
> of the job of the json_lock.
> 
> This lock is outside CTX_LOCK in the lock hierarchy.
> libxl__ev_devlock_lock will have CTX_UNLOCK before trying to grab the
> ev_devlock. The callback is used to notify when the ev_devlock have
> been acquired.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks.

Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

And committed the series.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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