From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:45504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp9gD-0002aT-Vn for qemu-devel@nongnu.org; Thu, 31 Jan 2019 05:34:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gp9gD-0005UL-Du for qemu-devel@nongnu.org; Thu, 31 Jan 2019 05:34:45 -0500 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]:38781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gp9gD-0005Tf-7v for qemu-devel@nongnu.org; Thu, 31 Jan 2019 05:34:45 -0500 Received: by mail-ot1-x32b.google.com with SMTP id e12so2374817otl.5 for ; Thu, 31 Jan 2019 02:34:44 -0800 (PST) MIME-Version: 1.0 References: <87y378n5iy.fsf@dusky.pond.sub.org> <871s4uobf0.fsf@dusky.pond.sub.org> <75629302-84bb-ba19-cb2c-5edc34cffadb@redhat.com> <877eeldx9p.fsf@dusky.pond.sub.org> <87bm3xazv3.fsf@dusky.pond.sub.org> In-Reply-To: <87bm3xazv3.fsf@dusky.pond.sub.org> From: Peter Maydell Date: Thu, 31 Jan 2019 10:34:32 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] Configuring pflash devices for OVMF firmware List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Libvirt , Peter Krempa , Laszlo Ersek , QEMU Developers , Qemu-block On Thu, 31 Jan 2019 at 10:24, Markus Armbruster wrote: > 1. Make the device model default to some "correct" configuration, even > if that setting is kind of arbitrary. That way, any code using new > style gets an "incorrect" configuration only if it actively selects one. I don't think that's much better, because it will still probably be wrong for the board. People writing board models should define what their pflash device is, not plug in something that's not what the hardware is. thanks -- PMM