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, $config, $desc, $meta);
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(desc)
26 Return 1 if Sys::VirtConvert::Converter::Windows can convert the
27 guest described by desc, 0 otherwise.
28
29 Sys::VirtConvert::Converter::Windows->convert(g, root, config, desc,
30 meta)
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 desc
43 A description of the guest OS (see
44 Sys::VirtConvert::Converter->convert).
45
46 meta
47 Guest metadata.
48
50 Copyright (C) 2009-2011 Red Hat Inc.
51
53 Please see the file COPYING.LIB for the full license.
54
56 Sys::VirtConvert::Converter(3pm), Sys::VirtConvert(3pm), virt-v2v(1),
57 <http://libguestfs.org/>.
58
59
60
61perl v5.12.3 2011-0S8y-s3:0:VirtConvert::Converter::Windows(3)