Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2017 05:02:14 +0000 (UTC)
From:      "Rodney W. Grimes" <rgrimes@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314694 - head/share/examples/bhyve
Message-ID:  <201703050502.v2552EUi074339@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rgrimes
Date: Sun Mar  5 05:02:13 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

Modified:
  head/share/examples/bhyve/vmrun.sh

Modified: head/share/examples/bhyve/vmrun.sh
==============================================================================
--- head/share/examples/bhyve/vmrun.sh	Sun Mar  5 04:09:18 2017	(r314693)
+++ head/share/examples/bhyve/vmrun.sh	Sun Mar  5 05:02:13 2017	(r314694)
@@ -65,6 +65,8 @@ usage() {
 	echo "       -m: memory size (default is ${DEFAULT_MEMSIZE})"
 	echo "       -p: pass-through a host PCI device at bus/slot/func (e.g. 10/0/0)"
 	echo "       -t: tap device for virtio-net (default is $DEFAULT_TAPDEV)"
+	echo "       -u: RTC keeps UTC time"
+	echo "       -w: ignore unimplemented MSRs"
 	echo ""
 	[ -n "$msg" ] && errmsg "$msg"
 	exit 1
@@ -93,7 +95,7 @@ loader_opt=""
 bhyverun_opt="-H -A -P"
 pass_total=0
 
-while getopts ac:C:d:e:g:hH:iI:l:m:p:t: c ; do
+while getopts ac:C:d:e:g:hH:iI:l:m:p:t:uw c ; do
 	case $c in
 	a)
 		bhyverun_opt="${bhyverun_opt} -a"
@@ -140,6 +142,12 @@ while getopts ac:C:d:e:g:hH:iI:l:m:p:t: 
 		eval "tap_dev${tap_total}=\"${OPTARG}\""
 		tap_total=$(($tap_total + 1))
 		;;
+	u)	
+		bhyverun_opt="${bhyverun_opt} -u"
+		;;
+	w)
+		bhyverun_opt="${bhyverun_opt} -w"
+		;;
 	*)
 		usage
 		;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703050502.v2552EUi074339>