View | Details | Raw Unified | Return to bug 214273 | Differences between
and this patch

Collapse All | Expand All

(-)./share/examples/bhyve/vmrun.sh (-1 / +5 lines)
Lines 65-70 Link Here
65
	echo "       -m: memory size (default is ${DEFAULT_MEMSIZE})"
65
	echo "       -m: memory size (default is ${DEFAULT_MEMSIZE})"
66
	echo "       -p: pass-through a host PCI device at bus/slot/func (e.g. 10/0/0)"
66
	echo "       -p: pass-through a host PCI device at bus/slot/func (e.g. 10/0/0)"
67
	echo "       -t: tap device for virtio-net (default is $DEFAULT_TAPDEV)"
67
	echo "       -t: tap device for virtio-net (default is $DEFAULT_TAPDEV)"
68
	echo "       -u: real-time clock keeps UTC time"
68
	echo ""
69
	echo ""
69
	[ -n "$msg" ] && errmsg "$msg"
70
	[ -n "$msg" ] && errmsg "$msg"
70
	exit 1
71
	exit 1
Lines 93-99 Link Here
93
bhyverun_opt="-H -A -P"
94
bhyverun_opt="-H -A -P"
94
pass_total=0
95
pass_total=0
95
96
96
while getopts ac:C:d:e:g:hH:iI:l:m:p:t: c ; do
97
while getopts ac:C:d:e:g:hH:iI:l:m:p:t:u c ; do
97
	case $c in
98
	case $c in
98
	a)
99
	a)
99
		bhyverun_opt="${bhyverun_opt} -a"
100
		bhyverun_opt="${bhyverun_opt} -a"
Lines 140-145 Link Here
140
		eval "tap_dev${tap_total}=\"${OPTARG}\""
141
		eval "tap_dev${tap_total}=\"${OPTARG}\""
141
		tap_total=$(($tap_total + 1))
142
		tap_total=$(($tap_total + 1))
142
		;;
143
		;;
144
	u)
145
		bhyverun_opt="${bhyverun_opt} -u"
146
		;;
143
	*)
147
	*)
144
		usage
148
		usage
145
		;;
149
		;;

Return to bug 214273