Sys::VirtConvert::ConvUserrContributed)Sys::VirtConvert::Converter::Windows(3)NAMESys::VirtConvert::Converter::Windows - Pre-convert a Windows guest to
run on KVM
SYNOPSIS
use Sys::VirtConvert::Converter;
Sys::VirtConvert::Converter->convert($g, $root, $config, $meta, $options);
DESCRIPTIONSys::VirtConvert::Converter::Windows does the "pre-conversion" steps
required to get a Windows guest to boot on KVM. Unlike the associated
Sys::VirtConvert::Converter::Linux(3) module, this doesn't do a full
conversion of Windows. Instead it just installs the viostor (Windows
virtio block) driver, so that the Windows guest will be able to boot on
the target. A "RunOnce" script is also added to the VM which does all
the rest of the conversion the first time the Windows VM is booted on
KVM.
METHODS
Sys::VirtConvert::Converter::Windows->can_handle(g, root)
Return 1 if Sys::VirtConvert::Converter::Windows can convert the
given guest.
Sys::VirtConvert::Converter::Windows->convert(g, root, config, meta,
options)
(Pre-)convert a Windows guest. Assume that can_handle has
previously returned 1.
g A libguestfs handle to the target.
root
The root device of this operating system.
config
An initialised Sys::VirtConvert::Config object.
meta
Not used by the Windows converter
options
Not used by the Windows converter
COPYRIGHT
Copyright (C) 2009-2012 Red Hat Inc.
LICENSE
Please see the file COPYING.LIB for the full license.
SEE ALSOSys::VirtConvert::Converter(3pm), Sys::VirtConvert(3pm), virt-v2v(1),
<http://libguestfs.org/>.
perl v5.10.12013-Sys::VirtConvert::Converter::Windows(3)