Received: from eggs.gnu.org ([2001:4830:134:3::10]:38822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azhTZ-000217-0J for qemu-devel@nongnu.org; Mon, 09 May 2016 05:27:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azhTU-0006h3-C2 for qemu-devel@nongnu.org; Mon, 09 May 2016 05:27:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azhTU-0006gt-6n for qemu-devel@nongnu.org; Mon, 09 May 2016 05:27:36 -0400 From: Igor Mammedov Date: Mon, 9 May 2016 11:27:00 +0200 Message-Id: <1462786020-144172-15-git-send-email-imammedo@redhat.com> In-Reply-To: <1462786020-144172-1-git-send-email-imammedo@redhat.com> References: <1462786020-144172-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH RFC 14/14] DO NOT APPLY: hack to make 2nd CPU APIC ID to be x2APIC one List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com, david@gibson.dropbear.id.au, mst@redhat.com, peter.maydell@linaro.org, rkrcmar@redhat.com, peterx@redhat.com, jan.kiszka@web.de, pbonzini@redhat.com Signed-off-by: Igor Mammedov --- 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