aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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