Re: [libvirt] [PATCH V2 0/4]] qemu: report actual vcpu state in virVcpuInfo

2016-09-30 Thread Viktor Mihajlovski
On 29.09.2016 21:44, John Ferlan wrote: > > > On 09/29/2016 11:04 AM, Peter Krempa wrote: >> On Thu, Sep 29, 2016 at 10:30:07 -0400, John Ferlan wrote: >>> >>> >>> On 09/20/2016 04:10 AM, Viktor Mihajlovski wrote: [...] >>> >>> So, I have a question based on a little bit of testing I did with one

Re: [libvirt] [PATCH V2 0/4]] qemu: report actual vcpu state in virVcpuInfo

2016-09-29 Thread John Ferlan
On 09/29/2016 11:04 AM, Peter Krempa wrote: > On Thu, Sep 29, 2016 at 10:30:07 -0400, John Ferlan wrote: >> >> >> On 09/20/2016 04:10 AM, Viktor Mihajlovski wrote: >>> Currently, the virVcpuInfo returned by virDomainGetVcpus() will always >>> report a state of VIR_VCPU_RUNNING for each defined do

Re: [libvirt] [PATCH V2 0/4]] qemu: report actual vcpu state in virVcpuInfo

2016-09-29 Thread Peter Krempa
On Thu, Sep 29, 2016 at 10:30:07 -0400, John Ferlan wrote: > > > On 09/20/2016 04:10 AM, Viktor Mihajlovski wrote: > > Currently, the virVcpuInfo returned by virDomainGetVcpus() will always > > report a state of VIR_VCPU_RUNNING for each defined domain vcpu even if > > the vcpu is currently in th

Re: [libvirt] [PATCH V2 0/4]] qemu: report actual vcpu state in virVcpuInfo

2016-09-29 Thread John Ferlan
On 09/20/2016 04:10 AM, Viktor Mihajlovski wrote: > Currently, the virVcpuInfo returned by virDomainGetVcpus() will always > report a state of VIR_VCPU_RUNNING for each defined domain vcpu even if > the vcpu is currently in the halted state. > > As the monitor interface is in fact reporting the

[libvirt] [PATCH V2 0/4]] qemu: report actual vcpu state in virVcpuInfo

2016-09-20 Thread Viktor Mihajlovski
Currently, the virVcpuInfo returned by virDomainGetVcpus() will always report a state of VIR_VCPU_RUNNING for each defined domain vcpu even if the vcpu is currently in the halted state. As the monitor interface is in fact reporting the accurate state, it is rather easy to transport this informatio