Browse Source

dispvm: slow down "spinlock" while waiting for save/restore

When something go wrong, it will remain spinning indefinitely.
Marek Marczykowski-Górecki 9 years ago
parent
commit
1618e32993
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vm-systemd/prepare-dvm.sh

+ 1 - 1
vm-systemd/prepare-dvm.sh

@@ -29,7 +29,7 @@ if xenstore-read qubes-save-request 2>/dev/null ; then
     echo "Waiting for save/restore..."
     # ... wait until qubes-restore.c (in Dom0) recreates VM-specific keys
     while ! xenstore-read qubes-restore-complete 2>/dev/null ; do
-        usleep 10
+        usleep 10000
     done
     echo Back to life.
 fi