]> xenbits.xensource.com Git - xen.git/commit
libxl: Do not trust backend for vtpm in getinfo (uuid)
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 29 Apr 2016 15:57:14 +0000 (16:57 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 6 Jun 2016 15:01:14 +0000 (16:01 +0100)
commit17d70465f9ad590b8443322d2045ea9dfaed2a7f
tree7088008c74664d470e2646c2ccbe5816a6d41059
parent7bd50f1bd68b1b754f67e076498a77421edb0701
libxl: Do not trust backend for vtpm in getinfo (uuid)

Use uuid from /libxl, rather than from backend.  I think the backend
is not supposed to change the uuid, since it seems to be set by libxl
during setup.

If in fact the backend is supposed to be able to change the uuid, this
patch needs to be dropped and replaced by a patch which makes the vtpm
uuid lookup tolerate bad or missing data.

This is part of XSA-178.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c