From patchwork Sun Oct 11 18:59:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 35719 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E25C8B7B71 for ; Mon, 12 Oct 2009 06:01:20 +1100 (EST) Received: from localhost ([127.0.0.1]:35824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx3fS-0007IC-Bu for incoming@patchwork.ozlabs.org; Sun, 11 Oct 2009 15:01:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mx3dU-0006SO-9f for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mx3dP-0006R7-7p for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:15 -0400 Received: from [199.232.76.173] (port=57416 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx3dP-0006Qq-3l for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20694) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mx3dO-0000lx-IY for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:10 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9BIx94A007092; Sun, 11 Oct 2009 14:59:09 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9BIx7hf027828; Sun, 11 Oct 2009 14:59:08 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 1A69C18D414; Sun, 11 Oct 2009 20:59:07 +0200 (IST) From: Gleb Natapov To: kevin@koconnor.net Date: Sun, 11 Oct 2009 20:59:04 +0200 Message-Id: <1255287547-28329-2-git-send-email-gleb@redhat.com> In-Reply-To: <1255287547-28329-1-git-send-email-gleb@redhat.com> References: <1255287547-28329-1-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 2/5] Enable power button event generation. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Qemu pcbios commit 4f5a9a84ff32e2445bf1c854e33b0b32f4459428 Signed-off-by: Gleb Natapov --- src/acpi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acpi.c b/src/acpi.c index 1ff2290..b7af66e 100644 --- a/src/acpi.c +++ b/src/acpi.c @@ -336,8 +336,8 @@ build_fadt(int bdf) fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported fadt->gpe0_blk = cpu_to_le32(0xafe0); fadt->gpe0_blk_len = 4; - /* WBINVD + PROC_C1 + PWR_BUTTON + SLP_BUTTON + FIX_RTC */ - fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 4) | (1 << 5) | (1 << 6)); + /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC */ + fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6)); build_header((void*)fadt, FACP_SIGNATURE, sizeof(*fadt), 1);