From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 1/4] x86: introduce hypervisor_cpuid_base() Date: Tue, 23 Jul 2013 09:03:57 -0700 Message-ID: <51EEA96D.3070208@zytor.com> References: <1374572465-15278-1-git-send-email-jasowang@redhat.com> <51EE553C.40305@zytor.com> <51EE65F4.3000703@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Jason Wang , tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, gleb@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Paolo Bonzini Return-path: In-Reply-To: <51EE65F4.3000703@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 07/23/2013 04:16 AM, Paolo Bonzini wrote: > > That's nicer, though strcmp is what the replaced code used to do in > patches 2 and 3. > > Note that memcmp requires the caller to use "KVMKVMKVM\0\0" as the > signature (or alternatively hypervisor_cpuid_base can copy the argument > into another 12-byte local variable). > Which is the actual signature, though... -hpa