lkml.org 
[lkml]   [2013]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] x86: introduce hypervisor_cpuid_base()
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




\
 
 \ /
  Last update: 2013-07-23 18:42    [W:0.516 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site