Displaying 4 results from an estimated 4 matches for "qemu_stop".
2014 Nov 21
3
Bug#770456: Please start a qemu process in domain 0.
...oknodo --retry=0/30/KILL/5 --exec "$XENCONSOLED"
[ "$?" = 2 ] && return 2
- rm -f $PIDFILE
+ rm -f $XENCONSOLED_PIDFILE
return "$RETVAL"
}
+qemu_start()
+{
+ [ -x $QEMU ] || return 0
+ log_progress_msg "qemu"
+ qemu_start_real
+ return $?
+}
+
+qemu_stop()
+{
+ [ -x $QEMU ] || return 0
+ log_progress_msg "qemu"
+ qemu_stop_real
+ return $?
+}
+
+qemu_restart()
+{
+ [ -x $QEMU ] || return 0
+ log_progress_msg "qemu"
+ qemu_stop_real
+ case "$?" in
+ 0|1)
+ qemu_start_real
+ case "$?" in
+ 0) ;;
+ *) ret...
2014 Nov 27
0
Bug#770456: Bug#770456: Please start a qemu process in domain 0.
...Once I have a bug number for this I will add it to debian/changelog and
>>> push the result to feature/bugNNNN as usual.
>>>
>>> Thanks,
>>> Ian.
>>>
>>
<old path removed>
>> Not sure this already was handled but the --name argument of qemu_stop_real
>> seems a copy-and-paste bug.
>
> Yes it is, whoops!
>
>> Playing with it right now, --exec instead of --name
>> also works out better since qemu-system-i386 is just about too long.
>
> So it is, so this is probably a good idea.
>
> Will you send an...
2014 Nov 27
3
Bug#770456: Bug#770456: Please start a qemu process in domain 0.
...quot;$QEMU" --test > /dev/null \
> > + || return 1
> > + start-stop-daemon --start --quiet --pidfile "$QEMU_PIDFILE" --exec "$QEMU" -- \
> > + $QEMU_ARGS -pidfile "$QEMU_PIDFILE" \
> > + || return 2
> > +}
> > +
> > +qemu_stop_real()
> > +{
> > + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile "$QEMU_PIDFILE" --name xenconsoled
> > + RETVAL="$?"
> > + [ "$RETVAL" = 2 ] && return 2
> > + start-stop-daemon --stop --quiet --oknodo --retry=...
2015 Jan 22
5
Ubuntu delta against 4.5.0-1 in experimental for disussion
...-oknodo --retry=0/30/KILL/5 --exec
"$XENCONSOLED"
[ "$?" = 2 ] && return 2
- rm -f $PIDFILE
+ rm -f $XENCONSOLED_PIDFILE
return "$RETVAL"
}
+qemu_start()
+{
+ [ -x $QEMU ] || return 0
+ log_progress_msg "qemu"
+ qemu_start_real
+ return $?
+}
+
+qemu_stop()
+{
+ [ -x $QEMU ] || return 0
+ log_progress_msg "qemu"
+ qemu_stop_real
+ return $?
+}
+
+qemu_restart()
+{
+ [ -x $QEMU ] || return 0
+ log_progress_msg "qemu"
+ qemu_stop_real
+ case "$?" in
+ 0|1)
+ qemu_start_real
+ case "$?" in
+ 0) ;;
+ *) ret...