/etc/init.d/qemu-kvm is in qemu-system-common 1:2.5+dfsg-5ubuntu10.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #! /bin/sh
### BEGIN INIT INFO
# Provides: qemu-system-x86
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: udev devfsd
# Should-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: QEMU KVM module loading script
# Description: This script loads the kernel modules needed by QEMU KVM
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /lib/lsb/init-functions
test -x /usr/share/qemu/init/qemu-kvm-init || exit 5
start() {
log_daemon_msg "Configuring kvm" "qemu-kvm"
/usr/share/qemu/init/qemu-kvm-init start
log_end_msg $?
}
case "$1" in
start|restart|force-reload)
start
;;
stop)
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload}" >&2
exit 3
;;
esac
:
|