On 06.02.2018 16:30, Peter Krempa wrote:
> The halted state information is useless on most platforms and calling
> 'query-cpus' is very expensive. Don't report the info on platforms where
> it does not make sense.
>
> Peter Krempa (3):
> qemu: driver: Extract vcpu halted state directly
> qemu: Remove unused 'cpuhalted' argument from qemuDomainHelperGetVcpus
> qemu: domain: Store vcpu halted state as a tristate
>
> Viktor Mihajlovski (1):
> qemu: Limit refresh of CPU halted state to s390
>
> src/qemu/qemu_domain.c | 8 +++++++-
> src/qemu/qemu_domain.h | 2 +-
> src/qemu/qemu_driver.c | 36 +++++++++++++++---------------------
> 3 files changed, 23 insertions(+), 23 deletions(-)
>
Hi Peter,
I was planning to pick up your tri-state proposal but you were quicker.
Series looks good to me. Refactoring the halted state retrieval is
probably the right thing do.
Thanks!
--
Regards,
Viktor Mihajlovski
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list