Guillaume Thouvenin wrote:
It adds a missing "KVM" string in the signature of the CPUID. Without
it signature[2] is not well defined.

#ifdef KVM_CPUID_SIGNATURE
     /* Paravirtualization CPUIDs */
-    memcpy(signature, "KVMKVMKVM", 12);
+    memcpy(signature, "KVMKVMKVMKVM", 12);
     pv_ent = &cpuid_ent[cpuid_nent++];
     memset(pv_ent, 0, sizeof(*pv_ent));
     pv_ent->function = KVM_CPUID_SIGNATURE;


That's not what the kernel is looking for.  Add three '\0's instead.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to