diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-03 08:40:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-03 08:40:22 +0000 |
commit | 175114b82d9be0f8c0250f369f31cb5b873baf83 (patch) | |
tree | a71ba1e361563c3565109d0f832edcfb8216e18e /main/xen/xenstored.initd | |
parent | 39c9b937b053061d9f86957de5ea84411a7aef9e (diff) | |
download | aports-175114b82d9be0f8c0250f369f31cb5b873baf83.tar.bz2 aports-175114b82d9be0f8c0250f369f31cb5b873baf83.tar.xz |
main/xen: write domain 0's domid to xenstore
Since xen 4.4 we need set domid for dom0.
see http://xenbits.xen.org/gitweb/?p=xen.git;a=patch;h=02ebea7768fe723deaa56c2cfcb860874544b47d
Diffstat (limited to 'main/xen/xenstored.initd')
-rw-r--r-- | main/xen/xenstored.initd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/xen/xenstored.initd b/main/xen/xenstored.initd index cfb6957d4f..e92eb40b04 100644 --- a/main/xen/xenstored.initd +++ b/main/xen/xenstored.initd @@ -59,9 +59,10 @@ start() { fi eend $? || return 1 - ebegin "Setting domain0 name record" - /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0" - eend $* + ebegin "Setting domain0 name and domid record" + /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0" \ + && /usr/bin/xenstore-write "/local/domain/0/domid" 0 + eend $? } stop() { |