Received: from eggs.gnu.org ([2001:4830:134:3::10]:44414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buchA-0005Yy-SU for qemu-devel@nongnu.org; Thu, 13 Oct 2016 05:53:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buch9-0004e0-5D for qemu-devel@nongnu.org; Thu, 13 Oct 2016 05:52:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buch8-0004dm-Ui for qemu-devel@nongnu.org; Thu, 13 Oct 2016 05:52:59 -0400 From: Igor Mammedov Date: Thu, 13 Oct 2016 11:52:37 +0200 Message-Id: <1476352367-69400-4-git-send-email-imammedo@redhat.com> In-Reply-To: <1476352367-69400-1-git-send-email-imammedo@redhat.com> References: <1476352367-69400-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v3 03/13] acpi: cphp: support x2APIC entry in cpu._MAT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kraxel@redhat.com, ehabkost@redhat.com, liuxiaojian6@huawei.com, mst@redhat.com, rkrcmar@redhat.com, peterx@redhat.com, kevin@koconnor.net, pbonzini@redhat.com, lersek@redhat.com, chao.gao@intel.com Signed-off-by: Igor Mammedov --- hw/acpi/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/acpi/cpu.c b/hw/acpi/cpu.c index 902f5c9..5ac89fe 100644 --- a/hw/acpi/cpu.c +++ b/hw/acpi/cpu.c @@ -531,6 +531,11 @@ void build_cpus_aml(Aml *table, MachineState *machine, CPUHotplugFeatures opts, apic->flags = cpu_to_le32(1); break; } + case ACPI_APIC_LOCAL_X2APIC: { + AcpiMadtProcessorX2Apic *apic = (void *)madt_buf->data; + apic->flags = cpu_to_le32(1); + break; + } default: assert(0); } -- 2.7.4