From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.freebsd.org (mx2.freebsd.org [96.47.72.81]) by mx.groups.io with SMTP id smtpd.web11.6287.1686729571123778544 for ; Wed, 14 Jun 2023 00:59:31 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@freebsd.org header.s=dkim header.b=V8wI8Ec+; spf=pass (domain: freebsd.org, ip: 96.47.72.81, mailfrom: corvink@freebsd.org) Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "R3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 4QgyW63Mnsz44hb; Wed, 14 Jun 2023 07:59:30 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4QgyW62ZPcz3JRn; Wed, 14 Jun 2023 07:59:30 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686729570; 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=/VOmxePrvMsiNqraP9Tm1MTiUlaUpRqS9z0/bTQVdS0=; b=V8wI8Ec+V9xcZ4mVU1LxLQIkINCw1EET9yCb2d9TYxwMn7mYBWC0+b5MdSyYphpqhleEjh FyAOoO/4AkNHrSWupJBv0poF2aFwJmN+6VqsViCmLyAXMPJs+sXdk5VyW9Dt7LsnyTBtFl Pc8j7vtzfeqbaVJMfIzm4x1oymrNR02p5AV85svCwkqtywNq9VeX1YEpn95iFEaoEmaaqc ubmBrSlqYhaKL97O1CSjVBopdFEeTe/mBi3WTGf/3pSKfI0tcwDZ6YyC8azHVjUhhBljTt Snk1Zmgz1qcO+iaORFGJr5zyuXFmZQFDpTBPWAILiWh1NQQrykMrOAxvAgPElQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686729570; 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=/VOmxePrvMsiNqraP9Tm1MTiUlaUpRqS9z0/bTQVdS0=; b=Wms6bIhFe5EZ7Caz7v1iA6PE0/Cu60NzTFQVnlfnse2pBY04JCoWTAs8qopAkFrh4GCerk j6w/IISXU1+TnB1cFeHsogiOlZFtPzt4EdbehOEl5qKCNiiQWkodp3McEebIuUDVbPWReC /vdIwfBVqv8oI0Ixio5kCBfbGBnloT7pv44TvO0/Ez1aGSjJfoQoufS/O7a+eyW5fT5xPS CV5L6KJLOXoorR2eWEYQNm2gPpoK3eeghiWvRJ83t2/bbz91/i+hHd3Yf7hVqoJbvQXt/y JjF8rlONnb+DfQYIKg/iTbOD8SDx1Bza0GzL3JGtOak+aHdVvSA9tGnoGCWn+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686729570; a=rsa-sha256; cv=none; b=UHCvN3sMdSogJHczvOm+wtIUvfOwC+Q0lbM+l03UZliXTRyghHTGdtnqo1PKQjcAmQbNMV UK/88ZL0Dgb1uqjlH/evy3krMkepwzKw145qCBhSEZd6ivibl9b7X8sy3J1OHUPEFx+zMP ThChA3NIkLXPKt+s4Xfcb83iKJL1St5UqxztrOxk8i/MooggAAGFXE5rYnhGqBRqrzgBEZ ZJxRgD67exwZmKIDbCLx2iVJNs+1CoWe/KLhuVoB/0ak0cROFnnlJlqJNxC3/749wDCkei wN/7/Wv8dNSG8hO9qBoYZjXf0sFDzd3QGmthnUUeTmnpset3oar5fC9I3y2jqg== 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 4QgyW50WTyzG4Y; Wed, 14 Jun 2023 07:59:28 +0000 (UTC) (envelope-from corvink@FreeBSD.org) From: =?UTF-8?B?Q29ydmluIEvDtmhuZQ==?= To: devel@edk2.groups.io Cc: Ard Biesheuvel , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Peter Grehan , Rebecca Cran , Sami Mujawar Subject: [PATCH 5/5] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg Date: Wed, 14 Jun 2023 09:55:47 +0200 Message-ID: <20230614075915.141380-6-corvink@FreeBSD.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230614075915.141380-1-corvink@FreeBSD.org> References: <20230614075915.141380-1-corvink@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Signed-off-by: Corvin K=C3=B6hne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- 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; =20 + Status =3D InstallQemuFwCfgTables (AcpiTable); + if (!EFI_ERROR (Status)) { + return EFI_SUCCESS; + } + Status =3D GetAcpiRsdpFromMemory ( BHYVE_ACPI_PHYSICAL_ADDRESS, BHYVE_BIOS_PHYSICAL_END, --=20 2.41.0