]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-options: Deprecate -old-param command line option
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Feb 2025 16:09:20 +0000 (16:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Feb 2025 16:09:20 +0000 (16:09 +0000)
commit751002e74a8e3fc2dd388d57a93e11d3624af6f6
tree20f686582a937b83314918ccd7988698dcf1cf13
parent76723b8ed7b8274a4e30cdf0a9f3e7c47ebe251a
qemu-options: Deprecate -old-param command line option

The '-old-param' command line option is specific to Arm targets; it
is very briefly documented as "old param mode".  What this option
actually does is change the behaviour when directly booting a guest
kernel, so that command line arguments are passed to the kernel using
the extremely old "param_struct" ABI, rather than the newer ATAGS or
even newer DTB mechanisms.

This support was added back in 2007 to support an old vendor kernel
on the akita/terrier board types:
 https://mail.gnu.org/archive/html/qemu-devel/2007-07/msg00344.html
Even then, it was an out-of-date mechanism from the kernel's
point of view -- the kernel has had a comment since 2001 marking
it as deprecated. As of mid-2024, the kernel only retained
param_struct support for the RiscPC and Footbridge platforms:
 https://lore.kernel.org/linux-arm-kernel/2831c5a6-cfbf-4fe0-b51c-0396e5b0aeb7@app.fastmail.com/

None of the board types QEMU supports need param_struct support;
mark this option as deprecated.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20250127123113.2947620-1-peter.maydell@linaro.org
docs/about/deprecated.rst
system/vl.c