Re: [Qemu-devel] Configuring pflash devices for OVMF firmware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Maydell <peter.maydell@xxxxxxxxxx> writes:

> On Thu, 31 Jan 2019 at 10:24, Markus Armbruster <armbru@xxxxxxxxxx> 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.

If you want to force people to select a sane configuration, set the
default to some suitable nonsense the realize() method rejects.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux