-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add krun_add_disk() method; deprecate set_*_disk
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]>
- Loading branch information
1 parent
c79ffd7
commit 6fa464c
Showing
2 changed files
with
84 additions
and
19 deletions.
There are no files selected for viewing
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
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