Skip to content
New issue

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

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

Already on GitHub? # to your account

GSoC 2025: add an idea for Lima #1371

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

AkihiroSuda
Copy link
Contributor

@AkihiroSuda AkihiroSuda commented Feb 9, 2025

Lima

VM plugin subsystem
  • Description: Lima (https://lima-vm.io) is a project that provides Linux virtual machines with a focus on running containers.
    Lima supports several VM backends via built-in drivers: qemu, vz (Apple Virtualization.framework), and wsl2 (see lima/pkg/driverutil/instance.go).
    The idea for GSoC is to make a plugin subsystem that decouples the built-in VM drivers into separate binaries that communicate with the main Lima binary via some RPC (probably gRPC).
    This idea will improve the maintainability of the code base, and also help supporting additional VM backends (e.g., vfkit and cloud-based drivers).
  • Expected Outcome:
    • Design the plugin subsystem and its RPC (probably gRPC)
    • Migrate the existing built-in VM drivers to the new plugin subsystem
    • Implement additional VM plugins if the time allows
  • Recommended Skills: Go, gRPC, QEMU, macOS
  • Expected project size: medium (~175 hour projects)
  • Mentor(s):
  • Upstream Issue (URL): Add framework for adding new drivers at runtime, for instance for cloud lima-vm/lima#2007

Copy link
Member

@nate-double-u nate-double-u left a comment

Choose a reason for hiding this comment

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

Thanks for this @AkihiroSuda!

@afbjorklund, could you also approve or 👍 this PR to confirm your participation.

@AkihiroSuda, could you update this PR to take care of the merge conflicts? (Please put Lima in alphabetical order with the rest of the projects).

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda
Copy link
Contributor Author

Rebased and reordered

Copy link
Member

@nate-double-u nate-double-u left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @AkihiroSuda!

@nate-double-u nate-double-u merged commit 4248c65 into cncf:main Feb 11, 2025
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants