diff mbox

[RFC,14/14] DO NOT APPLY: hack to make 2nd CPU APIC ID to be x2APIC one

Message ID 1462786020-144172-15-git-send-email-imammedo@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Igor Mammedov May 9, 2016, 9:27 a.m. UTC
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 hw/i386/pc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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;
     }
 }