Project

General

Profile

Actions

action #15700

closed

[LTP][OpenQA] ima,tpm: need TPM

Added by rpalethorpe over 7 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Enhancement to existing tests
Target version:
Start date:
2016-12-30
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

These tests require a Trusted Platform Module which is not currently available inside our SUT's VM. At a cursory glance, there are a few options for solving this, including, but probably not limited to:

  1. Pass-through the host's TPM module to the guest.
  2. Emulate the TPM using https://github.com/PeterHuewe/tpm-emulator either on the guest or host.
  3. Wait for QEMU TPM device emulation.

In the case of option 1 we need to use the Linux vTPM proxy driver to ensure the guest doesn't take exclusive control of the TPM. This requires reconfiguring the host/worker's kernel to build the vtpmx module.

The second seems quite flexible, although we will need to package the emulator to run it on workers. There also appears to be an emulator built into QEMU in the works which would be easiest to configure.


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #15592: [LTP][OpenQA][kernel] LTP Native test runner minor issuesResolvedrpalethorpe2016-12-20

Actions
Actions

Also available in: Atom PDF