On 8/7/21 11:42 AM, Warner Losh wrote:
From: Warner Losh <[email protected]>

For 32-bit platforms, pass in up to 256k of args. For 64-bit, bump that
to 512k.

Signed-off-by: Kyle Evans <[email protected]>
Signed-off-by: Warner Losh <[email protected]>
---
  bsd-user/qemu.h | 14 ++++++++++----
  1 file changed, 10 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

+#define TARGET_ARG_MAX (512 * 1024)
+#else
+#define TARGET_ARG_MAX (256 * 1024)

For the to-do list: qemu/units.h has KiB for clarity.


r~

Reply via email to