Changes between Version 8 and Version 9 of Paravirtualization
- Timestamp:
- Nov 22, 2008, 2:19:07 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Paravirtualization
v8 v9 1 1 Xen supports two different types of virtualization: Hardware-supported virtualization (HVM) and paravirtualization (ParaVM). 2 2 3 Most XVM VMs are initially created asHVMs. HVMs virtualize a full machine, down to the metal. They use special processor capabilities to do this. This allows you to run an unmodified operating system. For example, this is the only way to run Windows under Xen. However, I/O performance suffers as a result of this virtualization approach.3 XVM VMs installed from a boot CD are HVMs. HVMs virtualize a full machine, down to the metal. They use special processor capabilities to do this. This allows you to run an unmodified operating system. For example, this is the only way to run Windows under Xen. However, I/O performance suffers as a result of this virtualization approach. 4 4 5 5 ParaVMs on the other hand, modify the guest operating system to remove privileged operations, replacing them with calls to the Xen hypervisor. ParaVMs have significantly better performance, but require a modified kernel. Only a few operating systems have support for running as a paravirtualized Xen guest: Linux, NetBSD, OpenBSD, FreeBSD, and !OpenSolaris being the most well known. 6 6 7 Because of the performance benefits, you should consider using a ParaVM if possible. 7 Because of the performance benefits, you should consider using a ParaVM if possible. The easy way to do this is to use the autoinstaller. If you have an HVM that you want to keep, you can convert it into a ParaVM with the steps below. 8 8 9 9 == Converting a Linux Guest to ParaVM == 10 11 These steps presume you have a working HVM machine and want to make it boot as a ParaVM. If you use the autoinstaller you can get a ParaVM from the beginning. 10 12 11 13 === Installing the Necessary Packages ===