Am 24.07.2012 13:03, schrieb Paolo Bonzini: > Extract it out of the implementation of "info block". > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > block.c | 104 > +++++++++++++++++++++++++++++++-------------------------------- > block.h | 1 + > 2 files changed, 53 insertions(+), 52 deletions(-)
The refactoring looks correct, but why do you put the function between qmp_query_blockstat and qmp_query_blockstats? If you put it next to qmp_query_block, both functions pairs stay closer together. Kevin