Skip to content

Commit

Permalink
OS-6800 bhyve-opts should be bhyve-extra-opts
Browse files Browse the repository at this point in the history
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Mike Gerdts <mike.gerdts@joyent.com>
Approved by: Mike Gerdts <mike.gerdts@joyent.com>
  • Loading branch information
John Levon committed Mar 26, 2018
1 parent 8452a8b commit d0b07e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions usr/src/lib/brand/bhyve/zone/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,13 @@ add_lpc(int *argc, char **argv)
}

int
add_bhyve_opts(int *argc, char **argv)
add_bhyve_extra_opts(int *argc, char **argv)
{
char *val;
char *tok;
char *lasts;

if ((val = get_zcfg_var("attr", "bhyve_opts", NULL)) == NULL) {
if ((val = get_zcfg_var("attr", "bhyve_extra_opts", NULL)) == NULL) {
return (0);
}

Expand Down Expand Up @@ -529,7 +529,7 @@ main(int argc, char **argv)
add_ram(&zhargc, (char **)&zhargv) != 0 ||
add_devices(&zhargc, (char **)&zhargv) != 0 ||
add_nets(&zhargc, (char **)&zhargv) != 0 ||
add_bhyve_opts(&zhargc, (char **)&zhargv) != 0 ||
add_bhyve_extra_opts(&zhargc, (char **)&zhargv) != 0 ||
add_vmname(&zhargc, (char **)&zhargv) != 0) {
return (1);
}
Expand Down

0 comments on commit d0b07e8

Please sign in to comment.