]> git.ipfire.org Git - thirdparty/qemu.git/commit
cpus: Add return value for vm_stop()
authorKevin Wolf <kwolf@redhat.com>
Fri, 5 Jul 2013 11:49:54 +0000 (13:49 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 13 Aug 2013 14:30:49 +0000 (09:30 -0500)
commit32d1d7ff518a5fe3823dd831435be57e8b81a1d9
treef1b3fe44c16b69de9f0e16c46d55e8f41231a63d
parentf8238453095565838c697ef2df38d291fe4e147a
cpus: Add return value for vm_stop()

If flushing the block devices fails, return an error. The VM is stopped
anyway.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 5698346391b306c2c84358c68ee897c095d714cc)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
cpus.c
include/sysemu/sysemu.h
stubs/vm-stop.c