Date: Wed, 6 Apr 2022 07:00:16 +0000 From: =?utf-8?B?Q29ydmluIEvDtmhuZQ==?= <C.Koehne@beckhoff.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>, Jiewen Yao <jiewen.yao@intel.com>, Jordan Justen <jordan.l.justen@intel.com>, "Rebecca Cran" <rebecca@bsdio.com>, Peter Grehan <grehan@freebsd.org>, "devel@edk2.groups.io" <devel@edk2.groups.io>, FreeBSD Virtualization <freebsd-virtualization@freebsd.org>, Gerd Hoffmann <kraxel@redhat.com> Subject: RE: [PATCH v2] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg Message-ID: <b799a8e3f6de41eca391124ae553deec@beckhoff.com> In-Reply-To: <20220329101417.617-1-c.koehne@beckhoff.com> References: <20220329101417.617-1-c.koehne@beckhoff.com>
next in thread | previous in thread | raw e-mail | index | archive | help
QW55IGNvbW1lbnRzIGZyb20gYmh5dmUgZm9sa3Mgb24gdGhhdD8NCg0KDQpCZXN0IHJlZ2FyZHMN CkNvcnZpbg0KDQpCZWNraG9mZiBBdXRvbWF0aW9uIEdtYkggJiBDby4gS0cgfCBNYW5hZ2luZyBE aXJlY3RvcjogRGlwbC4gUGh5cy4gSGFucyBCZWNraG9mZg0KUmVnaXN0ZXJlZCBvZmZpY2U6IFZl cmwsIEdlcm1hbnkgfCBSZWdpc3RlciBjb3VydDogR3VldGVyc2xvaCBIUkEgNzA3NQ0KDQoNCi0t LS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBDb3J2aW4gS8O2aG5lIDxDLktvZWhuZUBi ZWNraG9mZi5jb20+DQpTZW50OiBUdWVzZGF5LCBNYXJjaCAyOSwgMjAyMiAxMjoxNCBQTQ0KQ2M6 IENvcnZpbiBLw7ZobmUgPEMuS29laG5lQGJlY2tob2ZmLmNvbT47IENvcnZpbiBLw7ZobmUgPEMu S29laG5lQGJlY2tob2ZmLmNvbT47IEFyZCBCaWVzaGV1dmVsIDxhcmRiK3RpYW5vY29yZ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