mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
f0f0fdfeec
commit
5698346391
3 changed files with 16 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "qemu-common.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
||||
void vm_stop(RunState state)
|
||||
int vm_stop(RunState state)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue