aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-17 13:35:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-17 13:35:52 -0300
commit5ebd8554837567e2f8f7cb98b5adb96953c0a2f6 (patch)
treeaffcbb6fb13b9b5c568a426a9295a189785d2be2 /kvmx
parent7eeb6729fd30b3c1c3c8053f63cefee2c75caa25 (diff)
downloadkvmx-5ebd8554837567e2f8f7cb98b5adb96953c0a2f6.tar.gz
kvmx-5ebd8554837567e2f8f7cb98b5adb96953c0a2f6.tar.bz2
Always give time to qemu
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 2dc982a..28db8a4 100755
--- a/kvmx
+++ b/kvmx
@@ -484,6 +484,9 @@ function kvmx_up {
echo $GUEST_DISPLAY > $DISPLAYFILE
echo $XDMCP_PORT > $XDMCPPORTFILE
+ # Give time to qemu
+ sleep 1
+
# Thanks kvm-manager code for that portion
/usr/bin/screen -D -m -L $LOG_DIR/servicelog \
-c $APP_BASE/share/screen/screenrc \
@@ -493,7 +496,6 @@ function kvmx_up {
if [ "$spice" == "0" ]; then
echo "$BASENAME: spice is disabled for guest $VM"
else
- sleep 1
kvmx_spice
fi
fi