[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxl: remove console 0 backend directory from xenstore on devices destroy
On Tue, 5 Oct 2010, Ian Campbell wrote: > # HG changeset patch > # User Ian Campbell <ian.campbell@xxxxxxxxxx> > # Date 1286288339 -3600 > # Node ID 0788bb897f692681036e33c0047e8cbb63565c35 > # Parent a2c40fa3bc6c8471e1988e445f449975cf6f3822 > libxl: remove console 0 backend directory from xenstore on devices destroy > > The first PV console device has an unusual frontend path for > historical reasons (/local/domain/<domid>/console rather than > /local/domain/<domid>/device/console/0). > > Therefore we need to check this additional frontend path as well as > those under /local/domain/<domid>/device when tearing down all > backends or else we miss the backend for the console. > > As part of this we need to ensure that the frontend directory has a > valid link to the backend, currently this link does not exist. > > Fix this by adding libxl__device_frontend_path to return the correct > frontend path, accounting for the special case, and use it from > libxl__device_add_generic. Also add libxl__device_backend_path for > consistency. > > This also allows console 0 setup to follow essentially the same code > path as other consoles within libxl_device_console_add, reducing the > special casing required there. > > This also fixes the link from backend to frontend which until now gave > a dangling link to the normal device path instead of the exceptional > one. > applied, thanks _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |