git: 122f386053eb - stable/13 - bhyve/usage: memory size is not in MB
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 May 2022 12:50:13 UTC
The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=122f386053eb4d20d4feba3b64ef82826391cde7 commit 122f386053eb4d20d4feba3b64ef82826391cde7 Author: Corvin Köhne <CorvinK@beckhoff.com> AuthorDate: 2022-03-10 10:30:17 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-05-16 12:41:14 +0000 bhyve/usage: memory size is not in MB For backward compatibility, the memory size will be interpreted in MB if it's smaller than1 MB and has no suffix. Nowadays, the -m switch accepts more than just MB. Respect it in the usage message. Differential Revision: https://reviews.freebsd.org/D34506 Reviewed by: grehan Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 1 month (cherry picked from commit afd4f7fa25324608c59a56f38cf4c624522c99fc) --- usr.sbin/bhyve/bhyverun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index 3a2b91c760e4..f01950a453d3 100644 --- a/usr.sbin/bhyve/bhyverun.c +++ b/usr.sbin/bhyve/bhyverun.c @@ -237,7 +237,7 @@ usage(int code) " -h: help\n" " -k: key=value flat config file\n" " -l: LPC device configuration\n" - " -m: memory size in MB\n" + " -m: memory size\n" " -o: set config 'var' to 'value'\n" " -P: vmexit from the guest on pause\n" " -p: pin 'vcpu' to 'hostcpu'\n"