Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up4.0 - Feature Reqest: '--skip-if-halted' for 'qvm-shutdown' #3032
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kalkin
Aug 16, 2017
Member
Why do we have --skip-if-running at all? I would expect both just to exit with 0 if the VM is already started or shutdown.
|
Why do we have |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
r-cheologist
Aug 16, 2017
r-cheologist
commented
Aug 16, 2017
|
On 2017-08-16 22:31, Bahtiar Gadimov wrote:
Why do we have --skip-if-running at all? I would expect both just to exit with 0 if the VM is already started or shutdown.
Sadly `qvm-start` throws an error insted if the requested vm is running
... as does `qvm-shutdown` if the requested vm is already halted.
|
andrewdavidwong
added
C: core
enhancement
labels
Aug 17, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Aug 17, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
r-cheologist
Aug 17, 2017
I agree with @kalkin above, that not having any skipping option at all and just exiting if a vm already exists would be the preferable option for both qvm-start and qvm-shutdown ... the current error throwing behavior could be retained with an option like --must-work ...
r-cheologist
commented
Aug 17, 2017
|
I agree with @kalkin above, that not having any skipping option at all and just exiting if a vm already exists would be the preferable option for both |
r-cheologist commentedAug 16, 2017
Qubes OS version (e.g.,
R3.2):4.0-rc1
Affected TemplateVMs (e.g.,
fedora-23, if applicable):dom0
Expected behavior:
Analogous to the capabilities of 'qvm-start' ('--skip-if-running'), 'qvm-shutdown' is expected to have the option '--skip-if-halted'.
Actual behavior:
Not implemented.