]> 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 13:47:35 +0000 (14:47 +0100)
commit4cfca3a8403da2bc0c0bb2ae34d610fab1d5235c
tree43b49b7a08b49995dc5b301df6101fffc52a57c0
parenta08f74f621824e0fd23103fe97474cf032946ec5
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