vm/qvm-block: create xen hotplug state dir

This commit is contained in:
Marek Marczykowski 2011-12-27 17:34:36 +01:00
parent 4b8de935bd
commit 56b109a273

View File

@ -18,6 +18,8 @@ start()
# Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read
chmod 666 /proc/xen/xenbus
mkdir -p /var/run/xen-hotplug
name=$(/usr/bin/xenstore-read name)
if ! [ -f /etc/this_is_dvm ] ; then
# we don't want to set hostname for DispVM