From nobody Mon Jun 12 13:18:49 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qfss31tpCz4cBlM for ; Mon, 12 Jun 2023 13:26:15 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qfss26jNnz43Rk; Mon, 12 Jun 2023 13:26:14 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686576374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8NES8BmAdnCOf8CMjUvHv2h/19/QOsNYXX4cTnefPYk=; b=nNRzKX3aJN1ZanpI+eU7yDfthJSFwGDgt/mb9Mx3OoqLe4D0KxgKgaIlPIw7HRNzbwGK3J Q+z2MjVRXFGQXpcDT69BkwBOgQ+Ox0M+ktDjyueqc8W7BF6V9g11dLFYct29FGPLEvzwvl dSXGHeLAwQuctX3YHphPQKuF6c/hkI4wwoA3y3KylgvySIdDx/grPACpx5ksNbSIeo+dbB 51GWyTBHPdduMIQTj0n7lQaSmx6+vR6x0zE7fV+VPiw9g2SFIMz1JAuFJulYwkZonptabh PcHmn3dBW5taaYZHNcZrir7CK576ZSRhlKnHB8OdD8xZNRs4tU/T7PtRXAu0vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686576374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8NES8BmAdnCOf8CMjUvHv2h/19/QOsNYXX4cTnefPYk=; b=TUWZxoJUyRnQ/U/GNtWdte1rIZvSjbwLfg66teAUtU5NBPGB+r2AOhNOrBZF9UIcf2K/8z 4roxyOHNLWV7+jHbBwKgdoPIm5MaTwTVRdEeDbPsp1fHkNd0TH3zixWxUcovX4RQbM3l3Q zXnuPqAq7yrQdw7hMPmfqXZqGYOyPefhcumAOFkwAufsceQHvGmA/tNPmvijOKvcTYsiWE 13qdxiv6InN8RvHVZwN4PtCroAnos826UDI0KKTzqTVBgDJLkHsmLRaSbyKOrmXSpcLQ0V VznA1bv3mb95dC1SnLxkDjdV1NYqaRM38TrQDcvvMa4ivPIUecLn2HQsbJbg+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686576374; a=rsa-sha256; cv=none; b=DcuLdvc7Hrdl3q5hgKNO6W4bYl5gzVCpCVhqhAJHUWi+8b7/ohOrwCExZGZYG3LpekfVu2 i/SXcDYi8+A3NeK4pIZOnc6pQQlKdYzTnUnGmSOSFzvnWHpNKvH3R+qgPV2GlEYW2QfyHn CxGCW7NNHPOqRLWFeN1nypdV6ausbmGm0W8KawXpAo94E9TW6ECPF+lno3U3bs0DWPRkEd l+r5nPVMrJ3p7SKPsP8qyAACzw8WXOvV9f+zJQfUIhECKrfpQ2vcp4FxAEpVgM0rDiQm/3 7uFRAXk7h7XTqulEXY/Ss+lSdIpCZKv/EVf51EtCE6jFPU9un5oiZRBA3WBLbg== Received: from corvink-nb.beckhoff.com (unknown [195.226.174.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: corvink) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qfss22zHRzPSX; Mon, 12 Jun 2023 13:26:14 +0000 (UTC) (envelope-from corvink@FreeBSD.org) From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: virtualization@freebsd.org Cc: =?UTF-8?q?Corvin=20K=C3=B6hne?= Subject: [PATCH 5/5] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg Date: Mon, 12 Jun 2023 15:18:49 +0200 Message-ID: <20230612132558.349152-6-corvink@FreeBSD.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230612132558.349152-1-corvink@FreeBSD.org> References: <20230612132558.349152-1-corvink@FreeBSD.org> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N Signed-off-by: Corvin Köhne --- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c index 1e1c90614ea1..fb926a8bd803 100644 --- a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c +++ b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c @@ -249,6 +249,11 @@ InstallAcpiTables ( EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER *Rsdp; EFI_STATUS Status; + Status = InstallQemuFwCfgTables (AcpiTable); + if (!EFI_ERROR (Status)) { + return EFI_SUCCESS; + } + Status = GetAcpiRsdpFromMemory ( BHYVE_ACPI_PHYSICAL_ADDRESS, BHYVE_BIOS_PHYSICAL_END, -- 2.41.0