mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix vtpm support in xend.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
46ba2d63fa
commit
32dc1c6ed9
1 file changed
+1
-2
@@ -50,10 +50,9 @@ class TPMifController(DevController):
|
||||
|
||||
result = DevController.configuration(self, devid)
|
||||
|
||||
(instance,) = self.readBackend(devid, 'instance')
|
||||
instance = self.readBackend(devid, 'instance')
|
||||
|
||||
if instance:
|
||||
result.append(['instance', instance])
|
||||
log.info("configuration: instance=%d." % instance)
|
||||
|
||||
return result
|
||||