diff --git a/lib/vm.py b/lib/vm.py index e578dd261..0c799d3fc 100644 --- a/lib/vm.py +++ b/lib/vm.py @@ -412,7 +412,7 @@ def get_all_efi_bins(self): return binaries def get_vtpm_uuid(self): - return self.host.xe('vtpm-list', {'vm': self.uuid}, minimal=True) + return self.host.xe('vtpm-list', {'vm-uuid': self.uuid}, minimal=True) def create_vtpm(self): logging.info("Creating vTPM for vm %s" % self.uuid)