Bug 214273

Summary: [bhyve] [patch] vmrun.sh: accept -u flag for using UTC in the real-time clock
Product: Base System Reporter: Martin Birgmeier <d8zNeCFG>
Component: miscAssignee: Rodney W. Grimes <rgrimes>
Status: Closed FIXED    
Severity: Affects Some People CC: avg, emaste, glebius, grehan, marcel, neel, op, rgrimes
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to make vmrun.sh accept a -u flag
none
Patch to make vmrun.sh passthrough -u and -w to bhyve
none
Patch to make vmrun.sh passthrough -u and -w to bhybe none

Description Martin Birgmeier 2016-11-06 16:55:45 UTC
Created attachment 176690 [details]
Patch to make vmrun.sh accept a -u flag

The attached patch adds a -u flag to /usr/share/example/bhyve/vmrun.sh so that the machine is run with UTC time in the RTC.

-- Martin
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2017-03-04 15:29:56 UTC
clear flags because no commit has happened yet.

Cc: the last few individuals to commit to this file.
Comment 2 Rodney W. Grimes freebsd_committer freebsd_triage 2017-03-04 16:31:44 UTC
Update to -CURRENT as version applies to.
Take ownership.
I'll review this with Peter and get something
commited along with my -w fix for ignoring MSRR's
Comment 3 Rodney W. Grimes freebsd_committer freebsd_triage 2017-03-04 17:48:32 UTC
Created attachment 180506 [details]
Patch to make vmrun.sh passthrough -u and -w to bhyve

Update the usage text for -u to match what bhyve displays.
Add -w as a passed through switch to bhyve.
Comment 4 Rodney W. Grimes freebsd_committer freebsd_triage 2017-03-04 17:51:59 UTC
I have merged the submitted patch with my repository,
corrected the usage text to match that of bhyve -usage
and pending Peters approval plan to commit this new
patch.
Comment 5 Martin Birgmeier 2017-03-04 18:41:23 UTC
Careful - I think I spot a missing double quote.

-- Martin
Comment 6 Rodney W. Grimes freebsd_committer freebsd_triage 2017-03-04 19:34:36 UTC
Created attachment 180508 [details]
Patch to make vmrun.sh passthrough -u and -w to bhybe

Fix missing close qoute
Comment 7 commit-hook freebsd_committer freebsd_triage 2017-03-05 05:03:17 UTC
A commit references this bug:

Author: rgrimes
Date: Sun Mar  5 05:02:14 UTC 2017
New revision: 314694
URL: https://svnweb.freebsd.org/changeset/base/314694

Log:
  Make vmrun.sh passthrough -u and -w to bhybe

  PR:		214273
  Submitted by:	Martin Birgmeier <la5lbtyi@aon.at>
  Approved by:	grehan
  MFC after:	1 week

Changes:
  head/share/examples/bhyve/vmrun.sh
Comment 8 commit-hook freebsd_committer freebsd_triage 2017-04-22 22:06:09 UTC
A commit references this bug:

Author: rgrimes
Date: Sat Apr 22 22:05:24 UTC 2017
New revision: 317303
URL: https://svnweb.freebsd.org/changeset/base/317303

Log:
  MFC: r314694

    Make vmrun.sh passthrough -u and -w to bhybe

  PR:		214273
  Submitted by:	Martin Birgmeier <la5lb...@aon.at>
  Approved by:	grehan (mentor)

Changes:
_U  stable/10/
  stable/10/share/examples/bhyve/vmrun.sh
_U  stable/11/
  stable/11/share/examples/bhyve/vmrun.sh
Comment 9 Mark Linimon freebsd_committer freebsd_triage 2017-08-24 14:10:16 UTC
MFCed Sat Apr 22 22:05:24 UTC 2017.