From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3T4-00011k-Ox for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:51:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn3T3-00053q-V6 for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:51:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3T3-00053a-PK for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:51:09 -0400 From: Igor Mammedov Date: Thu, 22 Sep 2016 14:50:45 +0200 Message-Id: <1474548655-157373-5-git-send-email-imammedo@redhat.com> In-Reply-To: <1474548655-157373-1-git-send-email-imammedo@redhat.com> References: <1474548655-157373-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v2 04/14] 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: rkrcmar@redhat.com, ehabkost@redhat.com, mst@redhat.com, kevin@koconnor.net, pbonzini@redhat.com, lersek@redhat.com, chao.gao@intel.com, peterx@redhat.com, liuxiaojian6@huawei.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 c13b65c..4bdb8f0 100644 --- a/hw/acpi/cpu.c +++ b/hw/acpi/cpu.c @@ -529,6 +529,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