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

Dealing with the large size of the repository #14

Open
Ivan-Velickovic opened this issue Aug 8, 2023 · 3 comments
Open

Dealing with the large size of the repository #14

Ivan-Velickovic opened this issue Aug 8, 2023 · 3 comments

Comments

@Ivan-Velickovic
Copy link
Collaborator

As we add more platforms and examples to the VMM repository, naturally the size of it will grow as we are storing Linux kernel images and root file systems. Currently it sits at ~500MB which can definitely be reduced with a variety of ways. However, even with reducing the sizes it will always be in the order of megabytes, which is far too large for something that is ultimately a library that you use within another project.

At the same time, we cannot expect everyone who wants to get started and actually run the VMM examples to build the Linux kernel and root file system themselves (even though we include the config files for reproducibility). So as a long-term solution I see two options, either we have some server that contains the binaries that people wget from or have the build system grab them automatically. Or we have a submodule that contains the artifacts and so if people want to use the examples they do git clone --recursive, for those that only want to use the library they do git clone. Not quite happy with either solution, open to suggestions.

At the time of writing the codebase is still changing a lot and so this issue won't be dealt with for a while.

@wom-bat
Copy link
Contributor

wom-bat commented Dec 10, 2023

I'm really hoping we can use distro-packaged images at some point, when the virtIO system is mature. Then only a few 'special' images will have to be packaged here.

@wom-bat
Copy link
Contributor

wom-bat commented May 3, 2024

I now have code to grab an image and extract kernel and initrd from it. Still working on how to integrate that.

@Ivan-Velickovic
Copy link
Collaborator Author

I have been working in this https://github.com/au-ts/libvmm/tree/slim branch and made some progress.

What kind of images are you extracting from?

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

No branches or pull requests

2 participants