diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-02-10 23:50:01 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-19 15:18:17 -0600 |
commit | 0bbc47bb21661706dac49321340e225dee10b81f (patch) | |
tree | 67e87f0945e652a126022d1beab340e8ea016a32 /monitor.h | |
parent | 4fdc94b4062cb51c000c718bbffea3ac8c242b51 (diff) |
Monitor: Convert do_change() to cmd_new_ret()
Not that trivial as the call chain also has to be modified.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,9 +33,9 @@ void monitor_init(CharDriverState *chr, int flags); int monitor_suspend(Monitor *mon); void monitor_resume(Monitor *mon); -void monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, - BlockDriverCompletionFunc *completion_cb, - void *opaque); +int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, + BlockDriverCompletionFunc *completion_cb, + void *opaque); int monitor_get_fd(Monitor *mon, const char *fdname); |