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

Collapse All | Expand All

(-)head/share/examples/bhyve/vmrun.sh (-1 / +9 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: RTC keeps UTC time"
69
	echo "       -w: ignore unimplemented MSRs
68
	echo ""
70
	echo ""
69
	[ -n "$msg" ] && errmsg "$msg"
71
	[ -n "$msg" ] && errmsg "$msg"
70
	exit 1
72
	exit 1
Lines 93-99 Link Here
93
bhyverun_opt="-H -A -P"
95
bhyverun_opt="-H -A -P"
94
pass_total=0
96
pass_total=0
95
97
96
while getopts ac:C:d:e:g:hH:iI:l:m:p:t: c ; do
98
while getopts ac:C:d:e:g:hH:iI:l:m:p:t:uw c ; do
97
	case $c in
99
	case $c in
98
	a)
100
	a)
99
		bhyverun_opt="${bhyverun_opt} -a"
101
		bhyverun_opt="${bhyverun_opt} -a"
Lines 140-145 Link Here
140
		eval "tap_dev${tap_total}=\"${OPTARG}\""
142
		eval "tap_dev${tap_total}=\"${OPTARG}\""
141
		tap_total=$(($tap_total + 1))
143
		tap_total=$(($tap_total + 1))
142
		;;
144
		;;
145
	u)	
146
		bhyverun_opt="${bhyverun_opt} -u"
147
		;;
148
	w)
149
		bhyverun_opt="${bhyverun_opt} -w"
150
		;;
143
	*)
151
	*)
144
		usage
152
		usage
145
		;;
153
		;;

Return to bug 214273