-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/pr/154'
* origin/pr/154: Add qubes-guivm-session utility qvm-start-daemon: allow --watch without --all qvm-start-daemon: convert to async/await syntax
- Loading branch information
Showing
6 changed files
with
87 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ mock | |
lxml | ||
PyYAML | ||
xcffib | ||
asynctest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash -e | ||
|
||
print_usage() { | ||
cat >&2 <<USAGE | ||
Usage: $0 vmname | ||
Starts given VM and runs its associated GUI daemon. Used as X session for the | ||
GUI domain. | ||
USAGE | ||
} | ||
|
||
if [ $# -lt 1 ] ; then | ||
print_usage | ||
exit 1 | ||
fi | ||
|
||
# Start VM, gui-daemon and audio | ||
qvm-start --skip-if-running "$1" | ||
qvm-start-daemon --watch "$1" & | ||
|
||
# Run the inner session (Xephyr) and wait until it exits | ||
exec qvm-run -p --no-gui --service "$1" qubes.GuiVMSession |