Re: [libvirt] [PATCH 3/4] qemu: monitor: Add vcpu state information to monitor data

2016-09-14 Thread Pavel Hrdina
On Tue, Sep 13, 2016 at 06:27:45PM +0200, Peter Krempa wrote: > Return whether a vcpu entry is hotpluggable or online so that upper > layers don't have to infer the information from other data. > > Advantage is that this code can be tested by unit tests. > --- > src/qemu/qemu_monitor.c

Re: [libvirt] [PATCH 3/4] qemu: monitor: Add vcpu state information to monitor data

2016-09-13 Thread Dou Liyang
At 09/14/2016 11:35 AM, Peter Krempa wrote: On Wed, Sep 14, 2016 at 10:26:51 +0800, Dou Liyang wrote: Hi Peter, At 09/14/2016 12:27 AM, Peter Krempa wrote: Return whether a vcpu entry is hotpluggable or online so that upper layers don't have to infer the information from other data. Advanta

Re: [libvirt] [PATCH 3/4] qemu: monitor: Add vcpu state information to monitor data

2016-09-13 Thread Peter Krempa
On Wed, Sep 14, 2016 at 10:26:51 +0800, Dou Liyang wrote: > Hi Peter, > > At 09/14/2016 12:27 AM, Peter Krempa wrote: > > Return whether a vcpu entry is hotpluggable or online so that upper > > layers don't have to infer the information from other data. > > > > Advantage is that this code can be t

Re: [libvirt] [PATCH 3/4] qemu: monitor: Add vcpu state information to monitor data

2016-09-13 Thread Dou Liyang
Hi Peter, At 09/14/2016 12:27 AM, Peter Krempa wrote: Return whether a vcpu entry is hotpluggable or online so that upper layers don't have to infer the information from other data. Advantage is that this code can be tested by unit tests. --- src/qemu/qemu_monitor.c

[libvirt] [PATCH 3/4] qemu: monitor: Add vcpu state information to monitor data

2016-09-13 Thread Peter Krempa
Return whether a vcpu entry is hotpluggable or online so that upper layers don't have to infer the information from other data. Advantage is that this code can be tested by unit tests. --- src/qemu/qemu_monitor.c| 11 + src/qemu/qemu_monitor.h