From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH RFC V4 5/5] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock Date: Mon, 16 Jan 2012 12:14:27 +0200 Message-ID: <4F13F883.5090002@redhat.com> References: <20120114182501.8604.68416.sendpatchset@oc5400248562.ibm.com> <20120114182710.8604.22277.sendpatchset@oc5400248562.ibm.com> <4F13E739.7040300@redhat.com> <20120116094020.GA6019@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jeremy Fitzhardinge , Raghavendra K T , linux-doc@vger.kernel.org, Peter Zijlstra , Jan Kiszka , Virtualization , Paul Mackerras , "H. Peter Anvin" , Stefano Stabellini , Xen , Dave Jiang , KVM , Glauber Costa , X86 , Ingo Molnar , Rik van Riel , Konrad Rzeszutek Wilk , Sasha Levin , Sedat Dilek , Thomas Gleixner , Greg Kroah-Hartman , LKML , Dave Hansen , Suzuki To: Srivatsa Vaddagiri Return-path: In-Reply-To: <20120116094020.GA6019@linux.vnet.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: kvm.vger.kernel.org On 01/16/2012 11:40 AM, Srivatsa Vaddagiri wrote: > * Avi Kivity [2012-01-16 11:00:41]: > > > Wait, what happens with yield_on_hlt=0? Will the hypercall work as > > advertised? > > Hmm ..I don't think it will work when yield_on_hlt=0. > > One option is to make the kick hypercall available only when > yield_on_hlt=1? It's not a good idea to tie various options together. Features should be orthogonal. Can't we make it work? Just have different handling for KVM_REQ_PVLOCK_KICK (let's rename it, and the hypercall, PV_UNHALT, since we can use it for non-locks too). -- error compiling committee.c: too many arguments to function