From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFfS-00005h-Gs for qemu-devel@nongnu.org; Tue, 08 Mar 2016 06:19:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adFfQ-0001BR-7x for qemu-devel@nongnu.org; Tue, 08 Mar 2016 06:19:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFfQ-0001BK-2M for qemu-devel@nongnu.org; Tue, 08 Mar 2016 06:19:08 -0500 From: Gerd Hoffmann Date: Tue, 8 Mar 2016 12:19:00 +0100 Message-Id: <1457435941-17578-6-git-send-email-kraxel@redhat.com> In-Reply-To: <1457435941-17578-1-git-send-email-kraxel@redhat.com> References: <1457435941-17578-1-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 5/6] fw_cfg: document ACPI device node information List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Gabriel L. Somlo" , Gerd Hoffmann From: "Gabriel L. Somlo" Signed-off-by: Gabriel Somlo Reviewed-by: Laszlo Ersek Reviewed-by: Marc Mar=C3=AD Reviewed-by: Michael S. Tsirkin Message-id: 1455906029-25565-6-git-send-email-somlo@cmu.edu Signed-off-by: Gerd Hoffmann --- docs/specs/fw_cfg.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/specs/fw_cfg.txt b/docs/specs/fw_cfg.txt index 2099ad9..5414140 100644 --- a/docs/specs/fw_cfg.txt +++ b/docs/specs/fw_cfg.txt @@ -84,6 +84,15 @@ Selector Register address: Base + 8 (2 bytes) Data Register address: Base + 0 (8 bytes) DMA Address address: Base + 16 (8 bytes) =20 +=3D=3D ACPI Interface =3D=3D + +The fw_cfg device is defined with ACPI ID "QEMU0002". Since we expect +ACPI tables to be passed into the guest through the fw_cfg device itself= , +the guest-side firmware can not use ACPI to find fw_cfg. However, once t= he +firmware is finished setting up ACPI tables and hands control over to th= e +guest kernel, the latter can use the fw_cfg ACPI node for a more accurat= e +inventory of in-use IOport or MMIO regions. + =3D=3D Firmware Configuration Items =3D=3D =20 =3D=3D=3D Signature (Key 0x0000, FW_CFG_SIGNATURE) =3D=3D=3D --=20 1.8.3.1