vm/systemd: wait for evtchn initialization before first xenstore-read

This commit is contained in:
Marek Marczykowski 2012-01-30 14:22:58 +01:00
parent f3e187f672
commit e0660cfd69

View File

@ -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