[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH for-2.5] block: make 'stats-intervals' a list of

From: Alberto Garcia
Subject: Re: [Qemu-block] [PATCH for-2.5] block: make 'stats-intervals' a list of integers
Date: Wed, 11 Nov 2015 16:38:15 +0100
User-agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu)

On Wed 11 Nov 2015 04:32:42 PM CET, Eric Blake wrote:
>> -            for (i = 0; !error && intervals[i] != NULL; i++) {
>> +            case QTYPE_QSTRING: {
>> +            case QTYPE_QINT: {
> Why are we accepting both string and int here, but typing it as 'int' in
> qapi?  I guess its due to how command line parsing passes in strings
> rather than ints?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]