-
Notifications
You must be signed in to change notification settings - Fork 660
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
[snapshots] resolve instance dir in vm #3130
Merged
Merged
Changes from 6 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
0da1f3d
[image-vault] drive by fix pass by value
sharder996 6cc1de0
[image-vault] drive by move functions in unnamed namespace together
sharder996 0180540
[vm] have vms be aware of where they are stored
sharder996 44746a7
[vm] reference internally stored instance directory location
sharder996 9fd4194
[vm factory] drive by fix add const modifier
sharder996 1f1b9e9
[vm factory] give responsibility of instances dir to vm factory
sharder996 fe9634f
[vm factory] provide external access to specific vm instance directory
sharder996 05f9156
[vm factory] populate vm instance directory on creation
sharder996 7d79236
[vm factory] give responsibility of removing instance dir on deletion…
sharder996 e68df45
[image vault] have image vault reference factory for instance directo…
sharder996 f167348
[tests] Adapt LXD mount tests to instance_dir
ricab a03e950
[image vault] rename parameter
sharder996 111f021
[vm factory] move common code to base class
sharder996 7552d76
[vm] remove extra constructor
sharder996 57868c2
[vm image vault] only create vm directory when required
sharder996 b15cc69
[vm] make instance_dir protected
sharder996 dec0b4d
[vm factory] use mp::Path for clarity on return parameter usage
sharder996 54faf5f
[vm factory] make constructor explicit
sharder996 30cbc96
[vm factory] use virtual{,-impl} architecture to remove duplicate fun…
sharder996 35c466c
[qemu] Fix circular dependency in initialization
ricab 9ff29e0
[qemu] Remove unnecessary `explicit`
ricab cf88eef
[qemu] Make QemuPlatform::get_directory_name const
ricab 84ac031
[tests] update tests to properly reference an instance's directory an…
sharder996 ff13fbc
[vm factory] make instance variable private
sharder996 04a4d7b
[lxd vm image vault] label unused parameter
sharder996 2020333
linting changes
sharder996 8e50791
[vms] Remove artificial constructors for tests
ricab 3029016
[tests] Use a temporary dir in remaining stub VMs
ricab 4788cf3
rename param to be more descriptive
sharder996 8a3f6a0
[lxd] edit log string to be more descriptive
sharder996 373a23d
remove unnecessary comment
sharder996 feb86ea
[vm factory] rename function
sharder996 33af0f6
[vm factory] extract instance directory derivation into util function
sharder996 400fbb3
[vm image vault] correct instance directory creation location
sharder996 463ef1c
[utils] avoid hardcoded directory separators
sharder996 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, well done adding this!