Re: [libvirt] [PATCH V2 4/4] qemu: Ensure reported VCPU state is current in driver API

2016-10-06 Thread Viktor Mihajlovski
On 29.09.2016 16:35, John Ferlan wrote: [...] >> --- a/src/qemu/qemu_driver.c >> +++ b/src/qemu/qemu_driver.c >> @@ -1478,13 +1478,17 @@ qemuDomainHelperGetVcpus(virDomainObjPtr vm, >> virDomainVcpuDefPtr vcpu = virDomainDefGetVcpu(vm->def, i); >> pid_t vcpupid = qemuDomainGetVcpu

Re: [libvirt] [PATCH V2 4/4] qemu: Ensure reported VCPU state is current in driver API

2016-09-29 Thread John Ferlan
On 09/20/2016 04:11 AM, Viktor Mihajlovski wrote: > Refresh the VCPU halted states in API functions returning domain > VCPU state information to make sure it's current. This affects > qemuDomainGetVcpus and qemuDomainGetStatsVcpu > > Signed-off-by: Viktor Mihajlovski > Reviewed-by: Bjoern Walk

[libvirt] [PATCH V2 4/4] qemu: Ensure reported VCPU state is current in driver API

2016-09-20 Thread Viktor Mihajlovski
Refresh the VCPU halted states in API functions returning domain VCPU state information to make sure it's current. This affects qemuDomainGetVcpus and qemuDomainGetStatsVcpu Signed-off-by: Viktor Mihajlovski Reviewed-by: Bjoern Walk Reviewed-by: Hao QingFeng Signed-off-by: Boris Fiuczynski --