From nobody Mon May 16 12:50:13 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B790B1AE8063; Mon, 16 May 2022 12:50:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1zcP3PFXz4nPq; Mon, 16 May 2022 12:50:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652705413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BR9+hYiRWTfFWUklX5sk4H89gF4wTrYStQ55l9oOxYY=; b=DvZCeR5Wt9bmE673WGm6uvtYYveZ6hB8raA72X8CnNqZGDWpFoReVH9+UEDCJHL/Op4LoV +nbsbLXP9ziFd5flxwwCIVXOZepOiu0qKsWnZWHL/IA5HQYaQ7hdZCkxfBO2toTTskIEO7 ImvjEAUWZHvYhDH0zDJ4jYuBme+1ZzEgUEpu7/nh/d6QH85rdEolFcZPG4uKevMshvQUiE 5/S06BRMk+zb3PPIHEFKfqDsCdZb+Sw+pwL6lWcqS7AKFfSOxPAb+LEVIfQtAghlADOdm7 unihyFYhs/OJPaDrZMHH+jAonjF8xHqr55Gm84+588K5+h5Z7X3fSbvJ5zPeAQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 39D3D20441; Mon, 16 May 2022 12:50:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24GCoDwW093378; Mon, 16 May 2022 12:50:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GCoDvG093375; Mon, 16 May 2022 12:50:13 GMT (envelope-from git) Date: Mon, 16 May 2022 12:50:13 GMT Message-Id: <202205161250.24GCoDvG093375@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 122f386053eb - stable/13 - bhyve/usage: memory size is not in MB List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 122f386053eb4d20d4feba3b64ef82826391cde7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652705413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BR9+hYiRWTfFWUklX5sk4H89gF4wTrYStQ55l9oOxYY=; b=nOey6ZyinLyK9u5IrSbC/GEmU5LL1XVu1gz6+4mM56OoKmkt1SPKT4kGakOKD9cmw/+7BN m9IJkwMfZb3qjP9oD1SCYdPcZ1WBAs+to4GeSHhS1y9bGmhapT9yIKGXkNowC4U5/askFe OD26+d8hxZRUASeQBtXJKo/pxqc4q9aNVqA/ySicrebEOCWGncaMCaQOPw39/1IIsZOBqC VTrNipDHZCVU9GIsGgtkwNhx0+eQ2QB1SAit81bVse0/+JlRz5VHkR+fFn3QLwNCs9CnfQ 24K2p60KPdnym8WmyUQ3fv+v4U3/05vRKIwNdtuv/Ne3UhmnRByvYSzMZs6u5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652705413; a=rsa-sha256; cv=none; b=ycTyXOiiddbuUt7bDVLhP1nAyarPabd5lQQ8TInWIXBBMJZfFfoyz/wT/yFd+G6YoDztqD A9Nfga7WB3SjRsflkXXpBmJcmcZDAigO6FCXtYuMOMx8/UA3yJFAtgbd6nrBIGp/drJmZX 94HmwDuzlDl1APuF8EV7m2r8dkt2osyQpHj1GfYY/S0Wjl3/UHwQFK8JzDwEAa06AKEBhf LFFGWOn8gq06nZe17Fc1NajsEOkDoWv0nqCnuRjeub1S1CIeOlHcKKJAZ31gAmHt2I/pPp CExFBztOPQVsZPcnj8gGkSgGAqrmlHoRT0nQ2jQ7bOgAXgMk/3hqJ2WB6fCEIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=122f386053eb4d20d4feba3b64ef82826391cde7 commit 122f386053eb4d20d4feba3b64ef82826391cde7 Author: Corvin Köhne AuthorDate: 2022-03-10 10:30:17 +0000 Commit: Emmanuel Vadot 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"