]> git.proxmox.com Git - 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)
committerKevin Wolf <kwolf@redhat.com>
Mon, 15 Jul 2013 07:51:38 +0000 (09:51 +0200)
commit5698346391b306c2c84358c68ee897c095d714cc
tree1591cd7c455999f77b7cd8d17805fef314651317
parentf0f0fdfeec6c67ad374114ecc4b3e3ccde5e94d2
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>
cpus.c
include/sysemu/sysemu.h
stubs/vm-stop.c