qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH RFC 14/14] DO NOT APPLY: hack to make 2nd CPU APIC I


From: Igor Mammedov
Subject: [Qemu-devel] [PATCH RFC 14/14] DO NOT APPLY: hack to make 2nd CPU APIC ID to be x2APIC one
Date: Mon, 9 May 2016 11:27:00 +0200

Signed-off-by: Igor Mammedov <address@hidden>
---
 hw/i386/pc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 567f3e2..7d301a2 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -695,6 +695,7 @@ static uint32_t x86_cpu_apic_id_from_index(unsigned int 
cpu_index)
         }
         return cpu_index;
     } else {
+if(correct_id == 1) correct_id = 280;
         return correct_id;
     }
 }
-- 
1.8.3.1




reply via email to

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