aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-07-05 13:49:54 +0200
committerKevin Wolf <kwolf@redhat.com>2013-07-15 09:51:38 +0200
commit5698346391b306c2c84358c68ee897c095d714cc (patch)
tree1591cd7c455999f77b7cd8d17805fef314651317 /stubs
parentf0f0fdfeec6c67ad374114ecc4b3e3ccde5e94d2 (diff)
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>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/vm-stop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/vm-stop.c b/stubs/vm-stop.c
index 45689354f6..f82c897dfe 100644
--- a/stubs/vm-stop.c
+++ b/stubs/vm-stop.c
@@ -1,7 +1,7 @@
#include "qemu-common.h"
#include "sysemu/sysemu.h"
-void vm_stop(RunState state)
+int vm_stop(RunState state)
{
abort();
}