[libvirt] [PATCH] Fix off-by-one check in QEMU memory stats

2010-04-14 Thread Daniel P. Berrange
The QEMU memory stats JSON monitor command was too cautious in checking array bounds, dropping the last requested stat * src/qemu/qemu_monitor_json.c: Fix off-by-1 check in memory stats --- src/qemu/qemu_monitor_json.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff

Re: [libvirt] [PATCH] Fix off-by-one check in QEMU memory stats

2010-04-14 Thread Daniel P. Berrange
On Wed, Apr 14, 2010 at 11:22:05AM +0100, Daniel P. Berrange wrote: > The QEMU memory stats JSON monitor command was too cautious in > checking array bounds, dropping the last requested stat > > * src/qemu/qemu_monitor_json.c: Fix off-by-1 check in memory > stats > --- > src/qemu/qemu_monitor_j