From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754380AbcLQIWn convert rfc822-to-8bit (ORCPT ); Sat, 17 Dec 2016 03:22:43 -0500 Received: from mx5-phx2.redhat.com ([209.132.183.37]:51667 "EHLO mx5-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522AbcLQIWm (ORCPT ); Sat, 17 Dec 2016 03:22:42 -0500 Date: Sat, 17 Dec 2016 03:22:37 -0500 (EST) From: Paolo Bonzini To: Linus Torvalds Cc: Linux Kernel Mailing List , Radim =?utf-8?B?S3LEjW3DocWZ?= , KVM list Message-ID: <1221273905.4447182.1481962957478.JavaMail.zimbra@redhat.com> In-Reply-To: References: <1481907450-11741-1-git-send-email-pbonzini@redhat.com> Subject: Re: [GIT PULL] KVM fixes for 4.10 merge window MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [10.4.164.1, 10.5.100.50] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF50 (Linux)/8.0.6_GA_5922) Thread-Topic: KVM fixes for 4.10 merge window Thread-Index: WmjD9+YSB5tgcthPAoCFwkJjG0uCSw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Fri, Dec 16, 2016 at 8:57 AM, Paolo Bonzini wrote: > > > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus > > This piece-of-shit branch has obviously never been even compile-tested: > > arch/x86/kernel/kvm.c: In function ‘__kvm_vcpu_is_preempted’: > arch/x86/kernel/kvm.c:596:14: error: ‘struct kvm_steal_time’ has no > member named ‘preempted’ > > where commit b94c3698b4b0 ("Revert "x86/kvm: Support the vCPU > preemption check"") removed the "preempted" field from struct > kvm_steal_time, but you left this in place: > > __visible bool __kvm_vcpu_is_preempted(int cpu) > { > struct kvm_steal_time *src = &per_cpu(steal_time, cpu); > > return !!src->preempted; > } > > And no, that is not a merge artifact in my tree (although that > function did come in from Ingo). That compile failure comes from your > very own branch. Yes, it does. Well, to be honest I did test this (not just compile-test it) but I didn't have KVM guest support turned on, only KVM host support. Sorry, I'll resend it and make sure I do a "make allmodconfig" in the future (and not send pull requests at 6 PM on Friday). Paolo