add qvm-restart#470
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #470 +/- ##
==========================================
+ Coverage 76.83% 76.85% +0.01%
==========================================
Files 53 54 +1
Lines 9365 9399 +34
==========================================
+ Hits 7196 7224 +28
- Misses 2169 2175 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- make forceful shutdown optional - improve error handling when qvm-shutdown fails - fix man page installation - add short options
|
That should address the issues that are obvious-ish for me to fix. Only thing left is the qvm-start issue. @marmarek it seems to me Am I missing something? |
There is a bunch of cases where qvm-start can fail. Startup timeout, not enough memory, not enough disk space, and many more. BTW #469 does refactor to make at least shutdown function reusable. You might want to wait for it to be merged, and then use the new function. |
Shouldn't it get caught here?: It returns status after the loop ends, so all start-able domains should start. They definitely do when I try a group with some of them having far too much memory to start. |
|
Right, this case might be okay. But still, invoking other tool's main from another tool, parsing arguments again etc is not a good idea. This will also create several instances of |
What's wrong with that? If anything using the same
Okay, should I create a separate pr for that, similar to Ben's |
No need for a separate PR, unless Github auto-closes this one when you rebase to a different upstream branch, and doesn't allow anyone to reopen it...
|
An attempt to finalize Ali's work: #387
Closes QubesOS/qubes-issues#4747
I have decided to not handle shutdown in situ because I would like to avoid duplication