From 5ebd8554837567e2f8f7cb98b5adb96953c0a2f6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 17 Jun 2018 13:35:52 -0300 Subject: Always give time to qemu --- kvmx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kvmx') 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 -- cgit v1.2.3