Re: [libvirt] [RFC PATCH 11/12] qemu_monitor_json: sort JSON array of cpu info

2015-01-22 Thread Zhu Guihua
On Wed, 2015-01-21 at 10:34 +0100, Peter Krempa wrote: On Wed, Jan 21, 2015 at 16:01:03 +0800, Zhu Guihua wrote: JSON array of cpu info is sorted in order to find thread id of cpu smoothly. Signed-off-by: Zhu Guihua zhugh.f...@cn.fujitsu.com --- src/libvirt_private.syms | 1 +

[libvirt] [RFC PATCH 11/12] qemu_monitor_json: sort JSON array of cpu info

2015-01-21 Thread Zhu Guihua
JSON array of cpu info is sorted in order to find thread id of cpu smoothly. Signed-off-by: Zhu Guihua zhugh.f...@cn.fujitsu.com --- src/libvirt_private.syms | 1 + src/qemu/qemu_monitor_json.c | 31 +-- src/util/virbitmap.c | 2 +- src/util/virbitmap.h

Re: [libvirt] [RFC PATCH 11/12] qemu_monitor_json: sort JSON array of cpu info

2015-01-21 Thread Peter Krempa
On Wed, Jan 21, 2015 at 16:01:03 +0800, Zhu Guihua wrote: JSON array of cpu info is sorted in order to find thread id of cpu smoothly. Signed-off-by: Zhu Guihua zhugh.f...@cn.fujitsu.com --- src/libvirt_private.syms | 1 + src/qemu/qemu_monitor_json.c | 31