From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [GIT PULL] KVM fixes for 4.10 merge window Date: Sat, 17 Dec 2016 03:22:37 -0500 (EST) Message-ID: <1221273905.4447182.1481962957478.JavaMail.zimbra@redhat.com> References: <1481907450-11741-1-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Cc: Linux Kernel Mailing List , Radim =?utf-8?B?S3LEjW3DocWZ?= , KVM list To: Linus Torvalds Return-path: 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 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: > 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