Skip to content

Conversation

@Mohido
Copy link
Contributor

@Mohido Mohido commented Jul 27, 2025

Description

I needed a way to automate the KVM installation with "GPU Passthrough". Now, we can use the following bash command to install kvm (with gpu passthrough).

make install TAGS="kvm" EXTRA_VARS="kvm_enabled=true"

Notes

Running this command will make a GRUB menu shows during the bootloading phase. The menu will include which GPU you want to passthrough. By default, the normal ubuntu will bootup (after 20 seconds) with normal GPUs (gpu-passthrough disabled).

MERGING

Squash Merge plz

Pull request checklist

  • I am targeting the master branch (and not the release branch)
  • I have rebased this branch on top of the destination branch
  • I have executed locally make check before creating the commit and it has run successfully
  • My contribution is fully baked and ready to be merged as is
  • I have performed a self-review of my own code
  • There are no WIP commits in this PR

Type of Changes

Type
🐛 Bug fix
✨ New feature
🔨 Refactoring
📜 Docs

@Mohido Mohido requested a review from leinardi as a code owner July 27, 2025 03:12
Copy link
Owner

@leinardi leinardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Mohido, thank you for the PR, you wrote a very nice role. I've added just few nitpick comments 👍

@leinardi leinardi merged commit c66a18c into leinardi:master Jul 28, 2025
6 checks passed
@leinardi
Copy link
Owner

leinardi commented Jul 28, 2025

@Mohido thanks again for the PR and the shout out in your last video 🙂

btw, I forgot to squash merge, hope you don't mind 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants