aboutsummaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-05-09 21:42:58 +0200
committerMax Reitz <mreitz@redhat.com>2018-06-11 16:18:45 +0200
commitb444d0e9d1ae323fed1ef7c35a359ce064f36b32 (patch)
tree05bc2861442e84b2fc4edbaf42f782ab963f3d70 /cpus.c
parentb41ad73a3bb972eb43cf52d28669f67ea3fe1762 (diff)
downloadqemu-b444d0e9d1ae323fed1ef7c35a359ce064f36b32.zip
qemu-b444d0e9d1ae323fed1ef7c35a359ce064f36b32.tar.gz
qemu-b444d0e9d1ae323fed1ef7c35a359ce064f36b32.tar.bz2
qemu-io: Drop command functions' return values
For qemu-io, a function returns an integer with two possible values: 0 for "qemu-io may continue execution", or 1 for "qemu-io should exit". However, there is only a single command that returns 1, and that is "quit". So let's turn this case into a global variable instead so we can make better use of the return value in a later patch. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180509194302.21585-2-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions