startup-misc: populate local domain id

Apparently libvirt doesn't do it.
This commit is contained in:
Marek Marczykowski-Górecki 2013-06-14 05:28:08 +02:00
parent c8fb5cfd99
commit 7484ddfd2b

View File

@ -4,6 +4,7 @@
/usr/lib/qubes/fix-dir-perms.sh
xenstore-write /local/domain/0/name dom0
xenstore-write domid 0
DOM0_MAXMEM=`/usr/sbin/xl info | grep total_memory | awk '{ print $3 }'`
xenstore-write /local/domain/0/memory/static-max $[ $DOM0_MAXMEM * 1024 ]