1Sys::VirtConvert::ConveUrsteerr:C:oWnitnrdiobwust(e3d)PSeyrsl::DVoicrutmCeonntvaetrito:n:Converter::Windows(3)
2
3
4
6 Sys::VirtConvert::Converter::Windows - Pre-convert a Windows guest to
7 run on KVM
8
10 use Sys::VirtConvert::Converter;
11
12 Sys::VirtConvert::Converter->convert($g, $root, $config, $meta, $options);
13
15 Sys::VirtConvert::Converter::Windows does the "pre-conversion" steps
16 required to get a Windows guest to boot on KVM. Unlike the associated
17 Sys::VirtConvert::Converter::Linux(3) module, this doesn't do a full
18 conversion of Windows. Instead it just installs the viostor (Windows
19 virtio block) driver, so that the Windows guest will be able to boot on
20 the target. A "RunOnce" script is also added to the VM which does all
21 the rest of the conversion the first time the Windows VM is booted on
22 KVM.
23
25 Sys::VirtConvert::Converter::Windows->can_handle(g, root)
26 Return 1 if Sys::VirtConvert::Converter::Windows can convert the
27 given guest.
28
29 Sys::VirtConvert::Converter::Windows->convert(g, root, config, meta,
30 options)
31 (Pre-)convert a Windows guest. Assume that can_handle has
32 previously returned 1.
33
34 g A libguestfs handle to the target.
35
36 root
37 The root device of this operating system.
38
39 config
40 An initialised Sys::VirtConvert::Config object.
41
42 meta
43 Not used by the Windows converter
44
45 options
46 Not used by the Windows converter
47
49 Copyright (C) 2009-2012 Red Hat Inc.
50
52 Please see the file COPYING.LIB for the full license.
53
55 Sys::VirtConvert::Converter(3pm), Sys::VirtConvert(3pm), virt-v2v(1),
56 <http://libguestfs.org/>.
57
58
59
60perl v5.10.1 2013-1S2y-s0:3:VirtConvert::Converter::Windows(3)