Installation guide

iii
Preface vii
1. Document Conventions .................................................................................................. vii
1.1. Typographic Conventions .................................................................................... vii
1.2. Pull-quote Conventions ........................................................................................ ix
1.3. Notes and Warnings ............................................................................................ ix
2. We need your feedback .................................................................................................. x
1. Introduction 1
1.1. What is virtualization? .................................................................................................. 1
1.2. KVM and virtualization in Red Hat Enterprise Linux ........................................................ 1
1.3. libvirt and the libvirt tools .............................................................................................. 2
1.4. Virtualized hardware devices ........................................................................................ 2
1.4.1. Virtualized and emulated devices ....................................................................... 3
1.4.2. Para-virtualized drivers ...................................................................................... 4
1.4.3. Physically shared devices .................................................................................. 5
1.5. Storage ........................................................................................................................ 6
1.6. Virtualization security features ....................................................................................... 7
1.7. Migration ...................................................................................................................... 7
1.8. V2V ............................................................................................................................. 8
I. Requirements and limitations 9
2. System requirements 11
3. KVM compatibility 13
4. Virtualization limitations 15
4.1. General limitations for virtualization ..................................................................... 15
4.2. KVM limitations .................................................................................................. 15
4.3. Application limitations ......................................................................................... 16
II. Installation 19
5. Installing the virtualization packages 21
5.1. Installing KVM with a new Red Hat Enterprise Linux installation ............................. 21
5.2. Installing KVM packages on an existing Red Hat Enterprise Linux system ............... 25
6. Virtualized guest installation overview 27
6.1. Virtualized guest prerequisites and considerations ................................................ 27
6.2. Creating guests with virt-install ............................................................................ 27
6.3. Creating guests with virt-manager ....................................................................... 28
6.4. Installing guests with PXE ................................................................................... 37
7. Installing Red Hat Enterprise Linux 6 as a virtualized guest 43
7.1. Creating a Red Hat Enterprise Linux 6 guest with local installation media ............... 43
7.2. Creating a Red Hat Enterprise Linux 6 guest with a network installation tree ........... 53
7.3. Creating a Red Hat Enterprise Linux 6 guest with PXE ......................................... 55
8. Installing Red Hat Enterprise Linux 6 as a para-virtualized guest on Red Hat
Enterprise Linux 5 59
8.1. Using virt-install .................................................................................................. 59
8.2. Using virt-manager ............................................................................................. 60
9. Installing a fully-virtualized Windows guest 71
9.1. Using virt-install to create a guest ....................................................................... 71
9.2. Installing Windows 2003 ..................................................................................... 72