vm/systemd: wait for evtchn initialization before first xenstore-read
This commit is contained in:
parent
f3e187f672
commit
e0660cfd69
@ -13,6 +13,11 @@ read_service() {
|
||||
$XS_READ qubes-service/$1 2> /dev/null
|
||||
}
|
||||
|
||||
# Wait for evtchn initialization
|
||||
while [ ! -e /proc/xen/xenbus ]; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
mkdir -p /var/run/qubes
|
||||
mkdir -p /var/run/qubes-service
|
||||
mkdir -p /var/run/xen-hotplug
|
||||
|
Loading…
Reference in New Issue
Block a user