~ubuntu-branches/ubuntu/raring/virtinst/raring-proposed

« back to all changes in this revision

Viewing changes to man/en/virt-convert.pod

  • Committer: Bazaar Package Importer
  • Author(s): Guido Günther
  • Date: 2008-11-19 09:19:29 UTC
  • mto: (1.4.1 sid)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20081119091929-vwksujnqzo1utdln
Tags: upstream-0.400.0
Import upstream version 0.400.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=pod
 
2
 
 
3
=head1 NAME
 
4
 
 
5
virt-convert - convert virtual machines between formats
 
6
 
 
7
=head1 SYNOPSIS
 
8
 
 
9
B<virt-convert> [OPTION]... INPUT.VMX|INPUT-DIR [OUTPUT.XML|OUTPUT-DIR]
 
10
 
 
11
=head1 DESCRIPTION
 
12
 
 
13
B<virt-convert> is a command line tool for converting virtual machines
 
14
from one format to another. Pass in either a VM definition file (such
 
15
as VMWare vmx format) or a directory containing a VM. By default, a new
 
16
VM definition file, and converted disk images, will be placed in a new
 
17
output directory.
 
18
 
 
19
If an output directory is specified, it will be created if necessary,
 
20
and the output VM definition placed within, along with any disk images
 
21
as needed.
 
22
 
 
23
If an output VM definition file is specified, it will be created
 
24
alongside any disks in the same directory.
 
25
 
 
26
=head1 OPTIONS
 
27
 
 
28
Any of the options can be omitted, in which case B<virt-convert> will use defaults when required.
 
29
An input VM definition or containing directory must be provided. By
 
30
default, an output directory is generated based upon the name of the VM.
 
31
The default input format is VMWare vmx, and the default output format is
 
32
a libvirt "image" XML definition (see L<virt-image(5)>).
 
33
 
 
34
=over 4
 
35
 
 
36
=item -h, --help
 
37
 
 
38
Show the help message and exit
 
39
 
 
40
=item -a ARCH, --arch=ARCH
 
41
 
 
42
Architecture of the virtual machine (i686, x86_64, ppc). Defaults to
 
43
that of the host machine.
 
44
 
 
45
=item  -v, --hvm      Create  a fully virtualized guest image
 
46
 
 
47
Convert machine to a hvm/qemu based image (this is the default if paravirt is not specified)
 
48
 
 
49
=item  -p, --paravirt      Create  a paravirtualized guest image
 
50
 
 
51
Convert machine to a paravirt xen based image
 
52
 
 
53
=item  -i format
 
54
 
 
55
Input format. Currently, C<vmx>  is the only supported input format.
 
56
 
 
57
=item  -o format
 
58
 
 
59
Output format. Currently, C<virt-image>  is the only supported output format.
 
60
 
 
61
=item  -D format
 
62
 
 
63
Output disk format, or C<none> if no conversion should be performed. See
 
64
L<qemu-img(1)>.
 
65
 
 
66
=item -d, --debug
 
67
 
 
68
Print debugging information
 
69
 
 
70
=item -q, --quiet
 
71
 
 
72
Avoid verbose output.
 
73
 
 
74
=item  --os-type=OS_TYPE
 
75
 
 
76
Optimize the guest configuration for a type of operating system. This will
 
77
attempt to pick the most suitable ACPI & APIC settings, optimally supported
 
78
mouse drivers and generally accommodate other operating system quirks. The
 
79
valid operating system types are
 
80
 
 
81
=over 4
 
82
 
 
83
=item linux
 
84
 
 
85
Linux 2.x series
 
86
 
 
87
=item windows
 
88
 
 
89
Microsoft Windows 9x or later
 
90
 
 
91
=item unix
 
92
 
 
93
Traditional UNIX BSD or SysV derivatives
 
94
 
 
95
=item other
 
96
 
 
97
Operating systems not in one of the 3 prior groups
 
98
 
 
99
=back
 
100
 
 
101
=item --os-variant=OS_VARIANT
 
102
 
 
103
Further optimize the guest configuration for a specific operating system
 
104
variant. This parameter is optional. The valid variants are
 
105
 
 
106
=over 4
 
107
 
 
108
=item linux
 
109
 
 
110
=over 4
 
111
 
 
112
=item rhel2.1
 
113
 
 
114
Red Hat Enterprise Linux 2.1
 
115
 
 
116
=item rhel3
 
117
 
 
118
Red Hat Enterprise Linux 3
 
119
 
 
120
=item rhel4
 
121
 
 
122
Red Hat Enterprise Linux 4
 
123
 
 
124
=item rhel5
 
125
 
 
126
Red Hat Enterprise Linux 5
 
127
 
 
128
=item centos5
 
129
 
 
130
Cent OS 5
 
131
 
 
132
=item fedora5
 
133
 
 
134
Fedora Core 5
 
135
 
 
136
=item fedora6
 
137
 
 
138
Fedora Core 6
 
139
 
 
140
=item fedora7
 
141
 
 
142
Fedora 7
 
143
 
 
144
=item sles10
 
145
 
 
146
Suse Linux Enterprise Server 10.x
 
147
 
 
148
=item debianEtch
 
149
 
 
150
Debian 4.0 (Etch)
 
151
 
 
152
=item debianLenny
 
153
 
 
154
Debian Lenny
 
155
 
 
156
=item generic26
 
157
 
 
158
Generic Linux 2.6.x kernel
 
159
 
 
160
=item generic24
 
161
 
 
162
Generic Linux 2.4.x kernel
 
163
 
 
164
=back
 
165
 
 
166
=item windows
 
167
 
 
168
=over 4
 
169
 
 
170
=item winxp
 
171
 
 
172
Microsoft Windows XP
 
173
 
 
174
=item win2k
 
175
 
 
176
Microsoft Windows 2000
 
177
 
 
178
=item win2k3
 
179
 
 
180
Microsoft Windows 2003
 
181
 
 
182
=item vista
 
183
 
 
184
Microsoft Windows Vista
 
185
 
 
186
=back
 
187
 
 
188
=item unix
 
189
 
 
190
=over 4
 
191
 
 
192
=item solaris9
 
193
 
 
194
Sun Solaris 9
 
195
 
 
196
=item solaris10
 
197
 
 
198
Sun Solaris 10
 
199
 
 
200
=item freebsd6
 
201
 
 
202
Free BSD 6.x
 
203
 
 
204
=item openbsd4
 
205
 
 
206
Open BSD 4.x
 
207
 
 
208
=back
 
209
 
 
210
=item other
 
211
 
 
212
=over 4
 
213
 
 
214
=item msdos
 
215
 
 
216
Microsoft DOS
 
217
 
 
218
=item netware4
 
219
 
 
220
Novell Netware 4
 
221
 
 
222
=item netware5
 
223
 
 
224
Novell Netware 5
 
225
 
 
226
=item netware6
 
227
 
 
228
Novell Netware 6
 
229
 
 
230
=back
 
231
 
 
232
=back
 
233
 
 
234
=item  --noapic
 
235
 
 
236
Override the OS type / variant to disables the APIC setting for fully 
 
237
virtualized guest.
 
238
 
 
239
=item  --noacpi
 
240
 
 
241
Override the OS type / variant to disables the ACPI setting for fully 
 
242
virtualized guest. 
 
243
 
 
244
=back
 
245
 
 
246
=head1 EXAMPLES
 
247
 
 
248
Convert a paravirt guest from C<image.vmx>:
 
249
 
 
250
  # virt-convert --arch=i686 --paravirt image.vmx
 
251
 
 
252
Convert a 64-bit hvm guest:
 
253
 
 
254
  # virt-convert --arch=x86_64 vmx-appliance/ hvm-appliance/
 
255
 
 
256
=head1 AUTHOR
 
257
 
 
258
Written by Joey Boggs and John Levon
 
259
 
 
260
See the AUTHORS file in the source distribution for the complete list of credits.
 
261
 
 
262
=head1 BUGS
 
263
 
 
264
Report bugs to the mailing list C<http://www.redhat.com/mailman/listinfo/et-mgmt-tools>
 
265
or directly to BugZilla C<http://bugzilla.redhat.com/bugzilla/> against the
 
266
C<Fedora> product, and the C<python-virtinst> component.
 
267
 
 
268
=head1 COPYRIGHT
 
269
 
 
270
Copyright (C) 2006-2008 Red Hat, Inc, and various contributors. 
 
271
This is free software. You may redistribute copies of it under the terms of the GNU General 
 
272
Public License C<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent 
 
273
permitted by law.
 
274
 
 
275
=head1 SEE ALSO
 
276
 
 
277
L<virt-pack(1)>, L<virt-image(5)>, the project website
 
278
C<http://virt-manager.org>
 
279
 
 
280
=cut
 
281