On Mon, 3 Feb 2025 at 14:50, Daniel P. Berrangé <berrange(a)redhat.com> wrote:
On Mon, Feb 03, 2025 at 02:45:06PM +0000, Peter Maydell wrote:
> For Arm embedded boards we mostly tend to "restrict the user
> to what you can actually do", except for older boards where
> we tended not to write any kind of sanity checking on CPU
> type, memory size, etc.
If we're going to strictly limit memory size that's accepted I wonder
how we could information users/mgmt apps about what's permitted?
For users, we inform them by exiting with a hopefully informative
error message. Management apps presumably need to know already
because they would want to avoid presenting the guest with
weird configs that the guest OS might or might not cope with,
even if QEMU accepted them.
-- PMM