qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 5/8] dump-query: add "dump-query" command to


From: Peter Xu
Subject: Re: [Qemu-devel] [PATCH v2 5/8] dump-query: add "dump-query" command to query dump status
Date: Fri, 27 Nov 2015 19:33:49 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Nov 27, 2015 at 11:17:52AM +0100, Paolo Bonzini wrote:
> 
> 
> On 27/11/2015 08:03, Peter Xu wrote:
> > > > +{ 'struct': 'DumpStatus',
> > > > +  'data': { 'status': 'str', 'percentage': 'str' } }
> > > 
> > > I suggest using enum for "status" and int for "percentage" (or two ints 
> > > for
> > > "total" and "current").
> > 
> > Yes, I picked string just for flexibility. Regarding to this
> > interface issue, I'd like to wait for others' comments too before
> > modification.
> 
> I like Fam's idea of using an enum and two ints.
> 
> Also, the command should be named query-dump and the corresponding HMP
> command should be "info dump" (by defining "dump" in hmp-commands-info.h".

Ok, will change in v3.

Thanks.
Peter

> 
> Paolo



reply via email to

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