-
Notifications
You must be signed in to change notification settings - Fork 0
/
qemuconf.1
79 lines (79 loc) · 1.43 KB
/
qemuconf.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.TH QEMUCONF 1 qemuconf\-0.2.1
.SS NAME
.PP
qemuconf \- simple qemu launcher with config file support
.SS SYNOPSIS
.PP
\f[B]qemuconf\f[] [\f[B]\-q\f[] \f[C]exec\f[]] \f[I]config\-file\f[]
[\-\- qemu\-options ...]
.PP
\f[B]qemuconf\f[] [\f[B]\-v\f[]]
.SS DESCRIPTION
.PP
\f[B]qemuconf\f[] executes qemu with arguments compiled from a config
file.
.SS OPTIONS
.PP
\f[B]\-q\f[] \f[C]exec\f[]
.PD 0
.P
.PD
Sets the the default binary.
This option may be overwritten by the \f[B]binary\f[]
.PD 0
.P
.PD
option in the config file.
.PP
\f[B]\-n\f[]
.PD 0
.P
.PD
instead of executing the argument list will be printed to stdout.
.PP
\f[B]\-v\f[]
.PD 0
.P
.PD
prints version and exits.
.SS EXAMPLES
.IP
.nf
\f[C]
binary\ /usr/bin/qemu\-system\-x86_64
cwd\ \ \ \ /var/qemu/generic
smp\ \ \ \ 2
m\ \ \ \ \ \ 1024
enable\-kvm
drive:
\ \ \ \ if\ \ \ \ \ \ virtio
\ \ \ \ file\ \ \ \ hda.img
net\ nic:
\ \ \ \ vlan\ \ \ \ 0
\ \ \ \ model\ \ \ virtio
\ \ \ \ macaddr\ 82:82:9D:AF:F0:1C
net\ user:
\ \ \ \ vlan\ \ \ \ 0
vnc\ 127.0.0.1:1
\f[]
.fi
.PP
This config file will execute the following command:
.IP
.nf
\f[C]
/usr/bin/qemu\-system\-x86_64\ \-smp\ 2\ \-m\ 1024\ \-enable\-kvm\ \\
\ \ \ \ \-drive\ if=virtio,file=hda.img\ \\
\ \ \ \ \-net\ nic,vlan=0,model=virtio,macaddr=82:82:9D:AF:F0:1C\ \\
\ \ \ \ \-net\ user,vlan=0\ \-vnc\ 127.0.0.1:1
\f[]
.fi
.SS DIAGNOSTICS
.PP
To show the produced arguments list use the following:
.IP
.nf
\f[C]
qemuconf\ \-n\ config.conf
\f[]
.fi