libxl: do not read f.e. xenstore dir in disk list function
authorIan Campbell <ian.campbell@citrix.com>
Tue, 18 Oct 2011 12:36:15 +0000 (13:36 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 18 Oct 2011 12:36:15 +0000 (13:36 +0100)
commitbcea3858dd4ec793dd2c30fe60571402a4b1d669
tree80c561c0c785c8b8b37563f8d9dade8e09c1da60
parent992b71cf41cc3882e627b004af5259c0df9cdd72
libxl: do not read f.e. xenstore dir in disk list function

Instead store a duplicate of the "device-type" node in the backend dir
and use that instead.

This maintains the invariant that the list function is always "safe".

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl.c