|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 12 of 14 v4] libxl: set frontend status to 6 on domain destroy
Roger Pau Monne writes ("[Xen-devel] [PATCH 12 of 14 v4] libxl: set frontend
status to 6 on domain destroy"):
> libxl: set frontend status to 6 on domain destroy
>
> Set frontend status to 6 on domain destruction and wait for devices to
> be disconnected before executing hotplug scripts.
There seems to be a race here.
> + libxl__xs_write(gc, XBT_NULL, libxl__sprintf(gc, "%s/%s", fe_path,
> "state"), "6");
So here, the kernel or backendd start racing, and you hope that they
win the race and close the device before ...
> libxl__device_execute_hotplug(gc, dev, DISCONNECT);
... the hotplug script tries to remove it.
Is there something we can do to make sure that we always get this
right ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |