Received: from eggs.gnu.org ([208.118.235.92]:41323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TodsP-0000Na-U4 for qemu-devel@nongnu.org; Fri, 28 Dec 2012 12:37:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TodsP-0006MV-16 for qemu-devel@nongnu.org; Fri, 28 Dec 2012 12:37:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TodsO-0006MG-QP for qemu-devel@nongnu.org; Fri, 28 Dec 2012 12:37:44 -0500 Date: Fri, 28 Dec 2012 15:39:19 -0200 From: Eduardo Habkost Message-ID: <20121228173919.GA3321@otherpad.lan.raisama.net> References: <1356620376-23501-1-git-send-email-imammedo@redhat.com> <1356620376-23501-11-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1356620376-23501-11-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH 10/20] target-i386: replace uint32_t vendor fields by vendor string in x86_def_t List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, afaerber@suse.de On Thu, Dec 27, 2012 at 03:59:26PM +0100, Igor Mammedov wrote: [...] > assert(kvm_enabled()); > > x86_cpu_def->name = "host"; > - host_cpuid(0x0, 0, &eax, &ebx, &ecx, &edx); > - x86_cpu_def->vendor1 = ebx; > - x86_cpu_def->vendor2 = edx; > - x86_cpu_def->vendor3 = ecx; > + x86cpu_vendor_words2str(x86_cpu_def->vendor, ebx, edx, ecx); Oops: you removed the host_cpuid() call by mistake, so now we're filling the vendor string with zeroes. Reviewed-by withdrawn. -- Eduardo