-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add krun_add_disk() method #217
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alyssarosenzweig
requested review from
mtjhrc,
slp and
tylerfanelli
as code owners
September 9, 2024 14:14
tylerfanelli
reviewed
Sep 9, 2024
alyssarosenzweig
added a commit
to alyssarosenzweig/krun
that referenced
this pull request
Sep 9, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host. Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
slp
requested changes
Sep 11, 2024
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
alyssarosenzweig
force-pushed
the
disk2
branch
from
September 17, 2024 12:47
44b216f
to
6fa464c
Compare
Per @slp's suggestion I have reworked this.
This retains b/w compat without introducing too much silliness. Hopefully we're all happy with this now 😄 |
This generalizes over krun_set_{root,data}_disk(). Notably: * It allows arbitrarily many disk images. * It allows mounting disks read-only. * It does not assume specific root/data semantics. * It allows setting labels. To implement, we refactor a bit the existing handling. The set_*_disk methods are deprecated due to the above issues, and will be removed in a future major version. For now both APIs are supported but are mutually exclusive. Signed-off-by: Alyssa Rosenzweig <[email protected]>
alyssarosenzweig
force-pushed
the
disk2
branch
from
September 17, 2024 12:49
6fa464c
to
3db55d7
Compare
alyssarosenzweig
added a commit
to alyssarosenzweig/krun
that referenced
this pull request
Sep 18, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host (as many as desired). Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
slp
approved these changes
Sep 19, 2024
alyssarosenzweig
added a commit
to alyssarosenzweig/krun
that referenced
this pull request
Sep 23, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host (as many as desired). Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
alyssarosenzweig
added a commit
to alyssarosenzweig/krun
that referenced
this pull request
Sep 24, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host (as many as desired). Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
alyssarosenzweig
added a commit
to alyssarosenzweig/krun
that referenced
this pull request
Sep 24, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host (as many as desired). Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
alyssarosenzweig
added a commit
to alyssarosenzweig/krun
that referenced
this pull request
Sep 24, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host (as many as desired). Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
alyssarosenzweig
added a commit
to alyssarosenzweig/krun
that referenced
this pull request
Sep 25, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host (as many as desired). Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
slp
pushed a commit
to AsahiLinux/muvm
that referenced
this pull request
Sep 26, 2024
This adds a mechanism for automatically managing the FEX rootfs, mounting and overlayfs'ing the relevant squashfs files from the host (as many as desired). Depends on: * libkrun containers/libkrun#217 * libkrunfw containers/libkrunfw#65 Signed-off-by: Alyssa Rosenzweig <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is required to mount systemwide squashfs images which Asahi will use for FEX.