From: Silvio Rhatto Date: Sun, 17 Jun 2018 16:35:52 +0000 (-0300) Subject: Always give time to qemu X-Git-Tag: 0.1.0~201 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5ebd8554837567e2f8f7cb98b5adb96953c0a2f6;p=kvmx.git Always give time to qemu --- 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