From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Date: Mon, 27 Sep 2021 07:22:49 +0000 Subject: disabling halt polling broken? (was Re: [PATCH 00/14] KVM: Halt-polling fixes, cleanups and a new st Message-Id: <03f2f5ab-e809-2ba5-bd98-3393c3b843d2@de.ibm.com> List-Id: References: <20210925005528.1145584-1-seanjc@google.com> In-Reply-To: <20210925005528.1145584-1-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Sean Christopherson , Paolo Bonzini , David Matlack , Jon Cargille , Jim Mattson Cc: Huacai Chen , Wanpeng Li , Janosch Frank , kvm@vger.kernel.org, David Hildenbrand , Marc Zyngier , Joerg Roedel , Cornelia Huck , linux-mips@vger.kernel.org, kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Mackerras , Aleksandar Markovic , linux-arm-kernel@lists.infradead.org, Vitaly Kuznetsov , Claudio Imbrenda , kvmarm@lists.cs.columbia.edu While looking into this series, I realized that Davids patch commit acd05785e48c01edb2c4f4d014d28478b5f19fb5 Author: David Matlack AuthorDate: Fri Apr 17 15:14:46 2020 -0700 Commit: Paolo Bonzini CommitDate: Fri Apr 24 12:53:17 2020 -0400 kvm: add capability for halt polling broke the possibility for an admin to disable halt polling for already running KVM guests. In past times doing echo 0 > /sys/module/kvm/parameters/halt_poll_ns stopped polling system wide. Now all KVM guests will use the halt_poll_ns value that was active during startup - even those that do not use KVM_CAP_HALT_POLL. I guess this was not intended?