From 064696f4fabb1e3e70e51203222b4b99cce44324 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Mar 2018 18:51:38 -0400 Subject: [PATCH] x86_64: use project name in cpuid vendor The official name is "crosvm", not "CrOSVM". BUG=None TEST=None Change-Id: I21f200d8224c9a8fee53011a63ff4ad165128904 Reviewed-on: https://chromium-review.googlesource.com/976941 Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger Reviewed-by: Stephen Barber --- x86_64/src/cpuid.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x86_64/src/cpuid.rs b/x86_64/src/cpuid.rs index 1efb6679eb..fc7445f1c3 100644 --- a/x86_64/src/cpuid.rs +++ b/x86_64/src/cpuid.rs @@ -10,11 +10,11 @@ use kvm; use sys_util; // Query the CPU vendor. ebx/ecx/edx pack an ASCII string into these 3 regs -// in little endian format. We set to "CrOSVMBestVM". +// in little endian format. We set to "crosvmBestVM". // https://en.wikipedia.org/wiki/CPUID#EAX=0:_Get_vendor_ID_(including_EAX=1:_Get_CPUID) -const VENDOR_EBX_VAL: u32 = 0x4d567473; // MVts -const VENDOR_ECX_VAL: u32 = 0x65424d56; // eBMV -const VENDOR_EDX_VAL: u32 = 0x534f7243; // SOrC +const VENDOR_EBX_VAL: u32 = 0x736f7263; // sorc +const VENDOR_ECX_VAL: u32 = 0x4d567473; // MVts +const VENDOR_EDX_VAL: u32 = 0x65426d76; // eBmv #[derive(Debug, PartialEq)] pub enum Error {