[libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs
Viktor Mihajlovski
mihajlov at linux.vnet.ibm.com
Tue Feb 6 10:29:46 UTC 2018
On 01.02.2018 21:26, Eduardo Habkost wrote:
> On Thu, Feb 01, 2018 at 09:15:15PM +0100, Radim Krčmář wrote:
>> 2018-02-01 12:54-0500, Luiz Capitulino:
>>>
>>> Libvirt needs to know when a vCPU is halted. To get this information,
>>
>> I don't see why upper level management should care about that, a single
>> bit about halted state that can be incorrect at the time it is processed
>> seems of very limited use.
>
> I don't see why, either.
>
> I'm CCing libvir-list and the people involved in the code that
> added halt state to libvirt domain statistics.
>
I've posted a libvirt patch to disable query-cpus in the domain stats
collection for all architectures other than s390. This should alleviate
the problem until we have a better method to obtain arch-specific cpu state.
--
Regards,
Viktor Mihajlovski
More information about the libvir-list
mailing list