OS-7392: bhyve optstr wrong for -Y

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2018-11-27T16:46:43.505Z
Updated at:2018-12-20T13:13:32.412Z

People

Created by:Hans Rosenfeld [X]
Reported by:Hans Rosenfeld [X]
Assigned to:Hans Rosenfeld [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-12-20T13:13:32.393Z)

Fix Versions

2019-01-03 Interweb (Release Date: 2019-01-03)

Related Links

Description

bhyve command line switch -Y doesn't take any arguments, but the optstr contains "Y:" indicating that it does.

Comments

Comment by Hans Rosenfeld [X]
Created at 2018-12-04T17:31:18.081Z

Testing: I've verified that passing -Y works now (but I haven't tested the actual -Y functionality). Previously the result of specifying -Y would vary depending on where in the command line it was set. If the option following -Y was just a simple switch it was silently ignored, if it was a switch with an argument it would confuse the option parsing code and error out.


Comment by Jira Bot
Created at 2018-12-20T09:59:05.156Z

illumos-joyent commit 6bae70f86196b5f8f8767a4e2f3c1b7583459dac (branch master, by Hans Rosenfeld)

OS-7392 bhyve optstr wrong for -Y
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jorge Schrauwen <sjorge@blackdot.be>
Approved by: John Levon <john.levon@joyent.com>