Repository navigation
Autoshutdown #7
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
Merged
Merged
Autoshutdown #7
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
991a20a
hypervisor: move support for auto-shutdown out of QEMU driver
berrange 2b792b3
remote: always invoke virStateStop for all daemons
berrange f4f5e6b
hypervisor: expand available shutdown actions
berrange 84bb136
hypervisor: custom shutdown actions for transient vs persistent VMs
berrange f48f700
qemu: support automatic VM managed save in system daemon
berrange eb51f97
qemu: improve shutdown defaults for session daemon
berrange faa7a08
qemu: configurable delay for shutdown before poweroff
berrange b11c76e
hypervisor: support bypassing cache for managed save
berrange 543d259
qemu: add config parameter to control auto-save bypass cache
berrange 65345db
src: add new APIs for marking a domain to autostart once
berrange c6018e5
conf: implement support for autostart once feature
berrange 602f2e6
hypervisor: wire up support for auto restore of running domains
berrange 7e15349
qemu: wire up support for once only autostart
berrange da1d0f3
qemu: add config to control if auto-shutdown VMs are restored
berrange 256ed0c
src: clarify semantics of the various virStateNNN methods
berrange 77c32d2
rpc: rename virNetDaemonSetShutdownCallbacks
berrange 1cad0a1
rpc: move state stop into virNetDaemon class
berrange 4acd18b
rpc: don't unconditionally quit after preserving state
berrange 94029c9
rpc: fix shutdown sequence when preserving state
berrange 27020d2
admin: add 'daemon-shutdown' command
berrange 364977b
rpc: don't let systemd shutdown daemon while saving VMs
berrange 563d3cf
hypervisor: emit systemd status & log messages while saving
berrange 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
nitpick (typo): Minor typo: 'host OS shutdown'
It seems like there's a small typo. Should it be 'host OS shutdown' instead of just 'OS shutdown'?
Suggested implementation:
Ensure that if there are any other occurrences of "OS shutdown" that lack the "host" prefix, they are updated similarly.
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.
This is nonsense. The code is already written the way you've suggested to write it.
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.
I apologize for my previous review comment. Upon reviewing the code and the conversation, it's clear that my suggestion was unnecessary and incorrect. The original text is already correct and precise.
In this case, the best response is to acknowledge the maintainer's feedback and recognize that no change is needed. I'll refrain from making further comments on this specific detail.