From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Habkost Subject: Re: [RFC] kvm: x86: export vCPU halted state to sysfs Date: Fri, 2 Feb 2018 18:41:44 -0200 Message-ID: <20180202204144.GQ26425@localhost.localdomain> References: <96d66ae2-5c51-510f-06a5-cecdda74cfd4@linux.vnet.ibm.com> <20180202102231.7dc9a945@redhat.com> <86571633-ae6d-5678-7611-549ff41dccd8@linux.vnet.ibm.com> <20180202155415.GN15403@redhat.com> <20180202110137.2e2c1816@redhat.com> <597d7701-ea7b-524e-7632-10073284d060@linux.vnet.ibm.com> <20180202174249.GA22556@localhost.localdomain> <20180202135033.3ecfdd7b@redhat.com> <20180202200912.GP26425@localhost.localdomain> <20180202151945.52847f8e@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Viktor Mihajlovski , Daniel =?iso-8859-1?Q?P=2E_Berrang=E9?= , Radim =?utf-8?B?S3LEjW3DocWZ?= , kvm@vger.kernel.org, pbonzini@redhat.com, Peter Krempa , John Ferlan , libvir-list@redhat.com, Christian Borntraeger To: Luiz Capitulino Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50628 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752028AbeBBUlx (ORCPT ); Fri, 2 Feb 2018 15:41:53 -0500 Content-Disposition: inline In-Reply-To: <20180202151945.52847f8e@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Feb 02, 2018 at 03:19:45PM -0500, Luiz Capitulino wrote: > On Fri, 2 Feb 2018 18:09:12 -0200 > Eduardo Habkost 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. (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..halted?) -- Eduardo