Date: Tue, 26 Apr 2022 13:08:32 +0000 From: =?utf-8?B?Q29ydmluIEvDtmhuZQ==?= <C.Koehne@beckhoff.com> To: Rebecca Cran <rebecca@bsdio.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>, Jordan Justen <jordan.l.justen@intel.com>, "devel@edk2.groups.io" <devel@edk2.groups.io>, FreeBSD Virtualization <freebsd-virtualization@freebsd.org>, Jiewen Yao <jiewen.yao@intel.com>, Gerd Hoffmann <kraxel@redhat.com>, Peter Grehan <grehan@freebsd.org> Subject: RE: [PATCH v4] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg Message-ID: <480d77767757479da713b1d15de3fd7b@beckhoff.com> In-Reply-To: <f74b56c8-735a-0fcf-941b-40428f345d63@bsdio.com> References: <20220408081515.191-1-c.koehne@beckhoff.com> <f74b56c8-735a-0fcf-941b-40428f345d63@bsdio.com>
next in thread | previous in thread | raw e-mail | index | archive | help
SGkgWWFvIGFuZCBSZWJlY2NhLA0KDQpAWWFvIHRoYW5rcyBmb3IgY2xhcmlmaWNhdGlvbi4NCg0K QFJlYmVjY2EgeW91J3JlIHJpZ2h0LiBUaGVyZSdzIGEgc3BlbGxpbmcgbWlzdGFrZS4gVGhhbmtz IGZvciB5b3VyIFJldmlld2VkLWJ5Lg0KDQoNCkJlc3QgcmVnYXJkcw0KQ29ydmluDQoNCkJlY2to b2ZmIEF1dG9tYXRpb24gR21iSCAmIENvLiBLRyB8IE1hbmFnaW5nIERpcmVjdG9yOiBEaXBsLiBQ aHlzLiBIYW5zIEJlY2tob2ZmDQpSZWdpc3RlcmVkIG9mZmljZTogVmVybCwgR2VybWFueSB8IFJl Z2lzdGVyIGNvdXJ0OiBHdWV0ZXJzbG9oIEhSQSA3MDc1DQoNCg0KLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCkZyb206IFJlYmVjY2EgQ3JhbiA8cmViZWNjYUBic2Rpby5jb20+DQpTZW50OiBU dWVzZGF5LCBBcHJpbCAyNiwg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