What is it?
Paravirtualization (PV) is an efficient and lightweight virtualization technique introduced by Xen, later adopted by other virtualization solutions. PV does not require virtualization extensions from the host CPU and thus enables virtualization on hardware architectures that do not support Hardware-assisted virtualization. However, PV guests and control domains require kernel support and drivers that in the past required special kernel builds, but are now part of the Linux kernel as well as other operating systems.
Architecturally, PV works by opening additional channels of communication between the hypervisors and the guest operating systems via PV front end and back end drivers as shown in the figure.
PV and Linux (PVOPS)
As stated earlier, PV requires kernel support. In the Linux kernel, PV support is provided by the paravirt operations extensions (PVOPS) and PV front and back-end drivers that are shipped with Linux. PVOPS allows the kernel to determine at run-time, whether it is running under virtualization (Xen, KVM, VMI, etc.), which will prompt it to use optimized low-level operations for the specific virtualization stack. Xen Guest (DomU) support for Linux was introduced into the Linux kernel with version 2.6.24, whereas Xen Control Domain (Dom0) support was added from version 2.6.37. The key drivers have been added to Linux v 3.0 and since additional drivers and optimizations are added.
PV and Legacy Applications
Paravirtualization is a way to extend the life of legacy and custom applications that are only supported on older operating systems. Using Xen PV virtualization you can run these workloads on new, more powerful, energy-efficient hardware and save money in the long run.
The following links provide information about Xen and PV compatibility with various operating systems: