]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/bhyveload/bhyveload.8
Merge hostapd / wpa_supplicant 2.0.
[FreeBSD/FreeBSD.git] / usr.sbin / bhyveload / bhyveload.8
1 .\"
2 .\" Copyright (c) 2012 NetApp Inc
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25 .\"
26 .\" $FreeBSD$
27 .\"
28 .Dd January 7, 2012
29 .Dt BHYVELOAD 8
30 .Os
31 .Sh NAME
32 .Nm bhyveload
33 .Nd load a
34 .Fx
35 guest inside a bhyve virtual machine
36 .Sh SYNOPSIS
37 .Nm
38 .Op Fl m Ar mem-size
39 .Op Fl d Ar disk-path
40 .Op Fl h Ar host-path
41 .Ar vmname
42 .Sh DESCRIPTION
43 .Nm
44 is used to load a
45 .Fx
46 guest inside a
47 .Xr bhyve 4
48 virtual machine.
49 .Pp
50 .Nm
51 is based on
52 .Xr loader 8
53 and will present an interface identical to the
54 .Fx
55 loader on the user's terminal.
56 .Pp
57 The virtual machine is identified as
58 .Ar vmname
59 and will be created if it does not already exist.
60 .Sh OPTIONS
61 The following options are available:
62 .Bl -tag -width indent
63 .It Fl m Ar mem-size
64 .Ar mem-size
65 is the amount of memory allocated to the guest in units of megabytes.
66 .Pp
67 The default value of
68 .Ar mem-size
69 is 256.
70 .It Fl d Ar disk-path
71 The
72 .Ar disk-path
73 is the pathname of the guest's boot disk image.
74 .It Fl h Ar host-path
75 The
76 .Ar host-path
77 is the directory at the top of the guest's boot filesystem.
78 .El
79 .Sh EXAMPLES
80 To create a virtual machine named
81 .Ar freebsd-vm
82 that boots off the ISO image
83 .Pa /freebsd/release.iso
84 and has 1GB memory allocated to it:
85 .Pp
86 .Dl "bhyveload -m 1024 -d /freebsd/release.iso freebsd-vm"
87 .Sh SEE ALSO
88 .Xr bhyve 4 ,
89 .Xr bhyve 8 ,
90 .Xr loader 8 ,
91 .Xr vmm 4
92 .Sh HISTORY
93 .Nm
94 first appeared in
95 .Fx 10.0 ,
96 and was developed at NetApp Inc.
97 .Sh AUTHORS
98 .Nm
99 was developed by
100 .An -nosplit
101 .An "Neel Natu" Aq neel@FreeBSD.org
102 at NetApp Inc with a lot of help from
103 .An Doug Rabson Aq dfr@FreeBSD.org
104 .Sh BUGS
105 .Nm
106 can only load
107 .Fx
108 as a guest.