From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpDGP-00076q-UK for qemu-devel@nongnu.org; Thu, 22 Oct 2015 06:38:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpDGM-0006Se-Mb for qemu-devel@nongnu.org; Thu, 22 Oct 2015 06:38:29 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]:50145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpDGM-0006ST-GF for qemu-devel@nongnu.org; Thu, 22 Oct 2015 06:38:26 -0400 From: Matthias Lange Date: Thu, 22 Oct 2015 12:38:11 +0200 Message-Id: <1445510291-8764-1-git-send-email-matthias.lange@kernkonzept.com> Subject: [Qemu-devel] [PATCH] i386/acpi: add _HID to processor nodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com, mst@redhat.com, pbonzini@redhat.com, imammedo@redhat.com, Matthias Lange , rth@twiddle.net Processor nodes created via the acpi/aml framework currently don't feature a _HID string. This patch appends "ACPI0007" as the _HID string to each processor node. Signed-off-by: Matthias Lange --- hw/i386/acpi-build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 95e0c65..95f7bf9 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -1153,6 +1153,7 @@ build_ssdt(GArray *table_data, GArray *linker, for (i = 0; i < acpi_cpus; i++) { dev = aml_processor(i, 0, 0, "CP%.02X", i); + aml_append(dev, aml_name_decl("_HID", aml_string("ACPI0007"))); method = aml_method("_MAT", 0); aml_append(method, aml_return(aml_call1("CPMA", aml_int(i)))); aml_append(dev, method); -- 1.9.1