On 03/18/2014 06:24 AM, arei.gong...@huawei.com wrote: > From: ChenLiang <chenlian...@huawei.com> > > expose the counter that log the times of updating the dirty bitmap to
s/log/logs/ > end user. > > Signed-off-by: ChenLiang <chenlian...@huawei.com> > Signed-off-by: Gonglei <arei.gong...@huawei.com> > --- > arch_init.c | 1 + > hmp.c | 2 ++ > include/migration/migration.h | 1 + > migration.c | 2 ++ > qapi-schema.json | 4 +++- > qmp-commands.hx | 13 +++++++++---- > 6 files changed, 18 insertions(+), 5 deletions(-) > > +++ b/qapi-schema.json > @@ -651,13 +651,15 @@ > # > # @mbps: throughput in megabits/sec. (since 1.6) > # > +# @dirty-sync-counter: the times of ram dirty sync (since 2.1) The name could possibly be shortened. Also, this sentence reads awkwardly. Maybe: @dirty-sync-count: number of times that dirty ram was synchronized (since 2.1) > +++ b/qmp-commands.hx > @@ -2928,6 +2928,7 @@ The main json-object contains the following: > pages. This is just normal pages times size of one page, > but this way upper levels don't need to care about page > size (json-int) > + - "dirty-sync-counter": the times of ram dirty sync (json-int) and if you do change the wording above (or even shorten the variable name), make it match here -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature