7.2. Configuration changes


As well as configuring libvirt appropriately, virt-v2v will make certain changes to a virtual machine to enable it to run on a KVM hypervisor either with or without virtIO drivers. These changes are specific to the guest operating system. The details specified here apply to supported Red Hat Enterprise Linux versions and Windows.

7.2.1. Configuration changes for Linux virtual machines

Table 7.1. virt-v2v changes to Linux virtual machines
ChangeDescription
KernelUnbootable kernels (such as Xen paravirtualized kernels) will be uninstalled. No new kernel will be installed if there is a remaining kernel which supports VirtIO. If no remaining kernel supports VirtIO and the configuration file specifies a new kernel it will be installed and configured as the default.
X reconfigurationIf the guest has X configured, its display driver will be updated. See Table 7.2, “Configured drivers in a Linux guest” for which driver will be used.
Rename block devicesIf reconfiguration has caused block devices to change name, these changes will be reflected in /etc/fstab.
Configure device driversWhether VirtIO or non-VirtIO drivers are configured, virt-v2v will ensure that the correct network and block drivers are specified in the modprobe configuration.
initrdvirt-v2v will ensure that the initrd for the default kernel supports booting the root device, whether it is using VirtIO or not.
SELinuxvirt-v2v will initiate a relabel of the guest on the next boot. This ensures that any changes it has made are correctly labeled according to the guest's local policy.
virt-v2v will configure the following drivers in a Linux guest:
Table 7.2. Configured drivers in a Linux guest
Paravirtualized driver typeDriver module
Displaycirrus
Storagevirtio_blk
Networkvirtio_net
In addition, initrd will preload the virtio_pci driver 
Table 7.2. Configured drivers in a Linux guest
Other drivers 
Displaycirrus
BlockVirtualized IDE
NetworkVirtualized e1000
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.