[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 20/20] monitor: Change return type of monitor_cu
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 20/20] monitor: Change return type of monitor_cur_is_qmp() to bool |
Date: |
Tue, 26 May 2015 11:49:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 05/22/2015 05:36 AM, Markus Armbruster wrote:
>> Signed-off-by: Markus Armbruster <address@hidden>
>> ---
>> include/monitor/monitor.h | 2 +-
>> monitor.c | 6 ++++--
>> stubs/mon-is-qmp.c | 2 +-
>> 3 files changed, 6 insertions(+), 4 deletions(-)
>>
>
>> +++ b/stubs/mon-is-qmp.c
>> @@ -1,7 +1,7 @@
>> #include "qemu-common.h"
>> #include "monitor/monitor.h"
>>
>> -int monitor_cur_is_qmp(void)
>> +bool monitor_cur_is_qmp(void)
>> {
>> return 0;
>
> s/0/false/
Yes.
> with that change,
> Reviewed-by: Eric Blake <address@hidden>
Thanks!
- Re: [Qemu-devel] [PATCH 13/20] monitor: Limit QError use to command handlers, (continued)