qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 11/13] target-i386: forward CPUID cache leaves wh


From: Peter Lieven
Subject: Re: [Qemu-devel] [PULL 11/13] target-i386: forward CPUID cache leaves when -cpu host is used
Date: Tue, 19 Nov 2013 15:11:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 19.11.2013 14:21, Paolo Bonzini wrote:
Il 19/11/2013 13:32, Peter Lieven ha scritto:
+
+        /* We give out APIC IDs ourselves, so force bits 31..26 even
for "-cpu host".  */
+        if (cs->nr_cores > 1) {
+            *eax |= (cs->nr_cores - 1) << 26;
           }
           break;
       case 5:
I already tried exactly this fix. Its reading index 0x0000004 for
increasing indexes until qemu aborts:
Oops, it should be I guess "if ((*eax & 31) && cs->nr_cores > 1)".
Maybe, how should we continue. This should be fixed before 1.7 comes out.

Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]