[libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

Luiz Capitulino lcapitulino at redhat.com
Fri Feb 2 21:49:54 UTC 2018


On Fri, 2 Feb 2018 18:41:44 -0200
Eduardo Habkost <ehabkost at redhat.com> wrote:

> On Fri, Feb 02, 2018 at 03:19:45PM -0500, Luiz Capitulino wrote:
> > On Fri, 2 Feb 2018 18:09:12 -0200
> > Eduardo Habkost <ehabkost at redhat.com> wrote:  
> [...]
> > > Your plan above covers what will happen when using newer QEMU
> > > versions, but libvirt still needs to work sanely if running QEMU
> > > 2.11.  My suggestion is that libvirt do not run query-cpus to ask
> > > for the "halted" field on any architecture except s390.  
> > 
> > My current plan is to ask libvirt to completely remove query-cpus
> > usage, independent of the arch and use the new command instead.  
> 
> This would be a regression for people running QEMU 2.11 on s390.

libvirt could use query-cpus on s390 if the new command is not
available.

> 
> (But maybe it would be an acceptable regression?  Viktor, what do
> you think?  Are there production releases of management systems
> that already rely on vcpu.<n>.halted?)
> 




More information about the libvir-list mailing list