forked from libguestfs/virt-v2v
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
93 lines (60 loc) · 2.33 KB
/
README
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Virt-v2v is a program that converts a single guest from a foreign
hypervisor to run on KVM. It can read Linux and Windows guests
running on VMware, Xen, Hyper-V and some other hypervisors, and
convert them to KVM managed by libvirt, OpenStack, oVirt, Red Hat
Virtualisation (RHV) or several other targets. It can modify the
guest to make it bootable on KVM and install virtio drivers so it will
run quickly.
There is also a companion front-end called virt-p2v
(https://github.com/libguestfs/virt-p2v) which comes as an ISO, CD or
PXE image that can be booted on physical machines to virtualize those
machines (physical to virtual, or p2v).
Virt-v2v and virt-p2v have been in continuous development since 2007.
For more information about virt-v2v and virt-p2v please read the
respective manual pages. For virt-v2v, see the docs/ subdirectory in
the source tree.
BUILDING FROM SOURCE
======================================================================
Install dependencies
sudo apt install build-essential ca-certificates gcc make automake libtool libguestfs-tools libguestfs-dev libnbd-dev gettext libpcre2-dev libvirt-dev libxml2-dev libjansson-dev libosinfo-1.0-dev ocaml-findlib libvirt-ocaml-dev libguestfs-ocaml-dev libnbd-ocaml-dev
To build from git:
git submodule update --init
autoreconf -i
./configure
make
To build from tarball:
./configure
make
You can run virt-v2v without installing it:
./run virt-v2v ...
To run the tests:
make check
REQUIREMENTS
======================================================================
* libguestfs (https://libguestfs.org)
* OCaml bindings for libguestfs
* OCaml bindings for libvirt (https://gitlab.com/libvirt/libvirt-ocaml)
* libnbd >= 1.9.3 (https://gitlab.com/nbdkit/libnbd)
* OCaml bindings for libnbd
* nbdkit >= 1.27.4 (https://gitlab.com/nbdkit/nbdkit)
* These nbdkit plugins and filters:
+ nbdkit-curl-plugin
+ nbdkit-file-plugin
+ nbdkit-nbd-plugin
+ nbdkit-null-plugin
+ nbdkit-python-plugin
+ nbdkit-ssh-plugin
+ nbdkit-vddk-plugin
+ nbdkit-cacheextents-filter
+ nbdkit-cow-filter
+ nbdkit-multi-conn-filter
+ nbdkit-rate-filter
+ nbdkit-retry-filter
* qemu-nbd
* qemu-img
Optional, for enhancements to the basic program:
* OCaml gettext
* virtio-win (Windows virtio device drivers)
Optional, used by the test suite:
* guestfish
* OCaml oUnit2