|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH] libxl: remove console 0 backend directory from x
On Mon, 2010-10-04 at 14:21 +0100, Ian Campbell wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell@xxxxxxxxxx>
> # Date 1286198484 -3600
> # Node ID d59be7a8e1e3bc439bb01a0f89d43411210fedcb
> # Parent 1cae52330eebbe448586c0a173945bc2bf8d631f
> libxl: remove console 0 backend directory from xenstore on devices destroy
>
> The is (deliberately) no frontend directory for console 0 in
> xenstore. Therefore to avoid leaking
> /local/domain/0/backend/console/$domid/0 check explicitly for this
> backend directory and remove.
Thinking about this some more it might be preferable to
write /local/domain/domid/console/{backend,backend-id} giving us a
concrete pointer to the backend we wish to destroy, this would cope
better with console backends in dom!=0 too.
I'm assuming its not a mistake that the backend exists in the first
place?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|