diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-09-13 15:49:05 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-14 14:06:19 +0000 |
commit | a4e8938c1c5a2e6c89b02050d41654bc2af247e3 (patch) | |
tree | 1191b1c3a5045bec0688ea094ce24d240c5339bd /main/xen/xenqemu.initd | |
parent | 5d10cb782ac6836c6f9d20a536b78260e47c7232 (diff) | |
download | aports-a4e8938c1c5a2e6c89b02050d41654bc2af247e3.tar.bz2 aports-a4e8938c1c5a2e6c89b02050d41654bc2af247e3.tar.xz |
xen: update to 4.2.0-rc4
Next version (4.2) is scheduled to be released very soon
if everything goes ok. This is a very close rc,
which we can start testing until 4.2 comes out.
Diffstat (limited to 'main/xen/xenqemu.initd')
-rw-r--r-- | main/xen/xenqemu.initd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/xen/xenqemu.initd b/main/xen/xenqemu.initd new file mode 100644 index 0000000000..463bf598ff --- /dev/null +++ b/main/xen/xenqemu.initd @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need xenstored xenconsoled +} + +start() { + ebegin "Starting QEMU as disk backend for dom0" + start-stop-daemon --start --exec /usr/lib/xen/bin/qemu-system-i386 \ + --pidfile=/var/run/xenqemu.pid -b -- \ + -xen-domid 0 -xen-attach -name dom0 -nographic \ + -M xenpv -monitor /dev/null \ + -pidfile /var/run/xenqemu.pid \ + ${XENQEMU_OPTS} + eend $? +} + +stop() { + ebegin "Stopping QEMU as disk backend for dom0" + start-stop-daemon --stop --exec /usr/lib/xen/bin/qemu-system-i386 \ + --pidfile /var/run/xenqemu.pid + eend $? +} + |