Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu: extract swtpm #522

Merged
merged 3 commits into from
Apr 11, 2024
Merged

qemu: extract swtpm #522

merged 3 commits into from
Apr 11, 2024

Commits on Apr 11, 2024

  1. platform/local: Extract swtpm functionality

    So that it can be added to kola spawn more easily.
    
    Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
    jepio committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    75e97fb View commit details
    Browse the repository at this point in the history
  2. platform/qemu: Support creating a swtpm instance for a machine

    Move swtpm creation from the tpm test to the qemu implementation.
    This allows it to be reused for various test cases.
    
    Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
    jepio committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f3334a7 View commit details
    Browse the repository at this point in the history
  3. kola/spawn: Support enabling swtpm

    Allow users to create a qemu VM with swtpm through kola spawn. CLI options are
    shared between `kola spawn` and `kola run` so add comments informing users that
    the option should not be used with `kola run`.
    
    Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
    jepio committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    613b6e6 View commit details
    Browse the repository at this point in the history