Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
SUSE Linux Enterprise Server 15 SP2

Virtualization Guide

Describes virtualization technology in general, and introduces libvirt—the unified interface to virtualization—and detailed information on specific hypervisors.

Publication Date: July 04, 2021
About This Manual
Documentación disponible
Proporcionar comentarios
Convenciones de la documentación
Ciclo de vida y asistencia del producto
I Introduction
1 Virtualization Technology
1.1 Overview
1.2 Virtualization Capabilities
1.3 Virtualization Benefits
1.4 Virtualization Modes
1.5 I/O Virtualization
2 Introduction to Xen Virtualization
2.1 Basic Components
2.2 Xen Virtualization Architecture
3 Introduction to KVM Virtualization
3.1 Basic Components
3.2 KVM Virtualization Architecture
4 Virtualization Tools
4.1 Virtualization Console Tools
4.2 Virtualization GUI Tools
5 Installation of Virtualization Components
5.1 Installing KVM
5.2 Installing Xen
5.3 Installing Containers
5.4 Patterns
5.5 Installing UEFI Support
5.6 Enable Support for Nested Virtualization in KVM
6 Supported Hosts, Guests, and Features
6.1 Host Environments (Hypervisors)
6.2 Guest Environments
6.3 KVM Hardware Requirements
6.4 Feature Support
II Managing Virtual Machines with libvirt
7 Starting and Stopping libvirtd
8 Guest Installation
8.1 GUI-Based Guest Installation
8.2 Installing from the Command Line with virt-install
8.3 Advanced Guest Installation Scenarios
9 Basic VM Guest Management
9.1 Listing VM Guests
9.2 Accessing the VM Guest via Console
9.3 Changing a VM Guest's State: Start, Stop, Pause
9.4 Saving and Restoring the State of a VM Guest
9.5 Creating and Managing Snapshots
9.6 Deleting a VM Guest
9.7 Migrating VM Guests
9.8 Monitoring
10 Connecting and Authorizing
10.1 Authentication
10.2 Connecting to a VM Host Server
10.3 Configuring Remote Connections
11 Managing Storage
11.1 Managing Storage with Virtual Machine Manager
11.2 Managing Storage with virsh
11.3 Locking Disk Files and Block Devices with virtlockd
11.4 Online Resizing of Guest Block Devices
11.5 Sharing Directories between Host and Guests (File System Pass-Through)
11.6 Using RADOS Block Devices with libvirt
12 Managing Networks
12.1 Network Bridge
12.2 Virtual Networks
13 Configuring Virtual Machines with Virtual Machine Manager
13.1 Machine Setup
13.2 Storage
13.3 Controllers
13.4 Networking
13.5 Input Devices
13.6 Video
13.7 USB Redirectors
13.8 Miscellaneous
13.9 Adding a CD/DVD-ROM Device with Virtual Machine Manager
13.10 Adding a Floppy Device with Virtual Machine Manager
13.11 Ejecting and Changing Floppy or CD/DVD-ROM Media with Virtual Machine Manager
13.12 Assigning a Host PCI Device to a VM Guest
13.13 Assigning a Host USB Device to a VM Guest
14 Configuring Virtual Machines with virsh
14.1 Editing the VM Configuration
14.2 Changing the Machine Type
14.3 Configuring Hypervisor Features
14.4 Configuring CPU Allocation
14.5 Changing Boot Options
14.6 Configuring Memory Allocation
14.7 Adding a PCI Device
14.8 Adding a USB Device
14.9 Adding SR-IOV Devices
14.10 Listing Attached Devices
14.11 Configuring Storage Devices
14.12 Configuring Controller Devices
14.13 Configuring Video Devices
14.14 Configuring Network Devices
14.15 Using Macvtap to Share VM Host Server Network Interfaces
14.16 Disabling a Memory Balloon Device
14.17 Configuring Multiple Monitors (Dual Head)
14.18 Crypto adapter pass-through to KVM guests on IBM Z
15 Managing Virtual Machines with Vagrant
15.1 Introduction to Vagrant
15.2 Vagrant Boxes for SUSE Linux Enterprise
15.3 Further Reading
III Hypervisor-Independent Features
16 Disk Cache Modes
16.1 Disk Interface Cache Modes
16.2 Description of Cache Modes
16.3 Data Integrity Implications of Cache Modes
16.4 Performance Implications of Cache Modes
16.5 Effect of Cache Modes on Live Migration
17 VM Guest Clock Settings
17.1 KVM: Using kvm_clock
17.2 Xen Virtual Machine Clock Settings
18 libguestfs
18.1 VM Guest Manipulation Overview
18.2 Package Installation
18.3 Guestfs Tools
18.4 Troubleshooting
18.5 External References
19 QEMU Guest Agent
19.1 Running QEMU GA Commands
19.2 virsh Commands that Require QEMU GA
19.3 Enhancing libvirt Commands
19.4 For More Information
IV Managing Virtual Machines with Xen
20 Setting Up a Virtual Machine Host
20.1 Best Practices and Suggestions
20.2 Managing Dom0 Memory
20.3 Network Card in Fully Virtualized Guests
20.4 Starting the Virtual Machine Host
20.5 PCI Pass-Through
20.6 USB Pass-Through
21 Virtual Networking
21.1 Network Devices for Guest Systems
21.2 Host-Based Routing in Xen
21.3 Creating a Masqueraded Network Setup
21.4 Special Configurations
22 Managing a Virtualization Environment
22.1 XL—Xen Management Tool
22.2 Automatic Start of Guest Domains
22.3 Event Actions
22.4 Time Stamp Counter
22.5 Saving Virtual Machines
22.6 Restoring Virtual Machines
22.7 Virtual Machine States
23 Block Devices in Xen
23.1 Mapping Physical Storage to Virtual Disks
23.2 Mapping Network Storage to Virtual Disk
23.3 File-Backed Virtual Disks and Loopback Devices
23.4 Resizing Block Devices
23.5 Scripts for Managing Advanced Storage Scenarios
24 Virtualization: Configuration Options and Settings
24.1 Virtual CD Readers
24.2 Remote Access Methods
24.3 VNC Viewer
24.4 Virtual Keyboards
24.5 Dedicating CPU Resources
24.6 HVM Features
24.7 Virtual CPU Scheduling
25 Administrative Tasks
25.1 The Boot Loader Program
25.2 Sparse Image Files and Disk Space
25.3 Migrating Xen VM Guest Systems
25.4 Monitoring Xen
25.5 Providing Host Information for VM Guest Systems
26 XenStore: Configuration Database Shared between Domains
26.1 Introduction
26.2 File System Interface
27 Xen as a High-Availability Virtualization Host
27.1 Xen HA with Remote Storage
27.2 Xen HA with Local Storage
27.3 Xen HA and Private Bridges
V Managing Virtual Machines with QEMU
28 QEMU Overview
29 Setting Up a KVM VM Host Server
29.1 CPU Support for Virtualization
29.2 Required Software
29.3 KVM Host-Specific Features
30 Guest Installation
30.1 Basic Installation with qemu-system-ARCH
30.2 Managing Disk Images with qemu-img
31 Running Virtual Machines with qemu-system-ARCH
31.1 Basic qemu-system-ARCH Invocation
31.2 General qemu-system-ARCH Options
31.3 Using Devices in QEMU
31.4 Networking in QEMU
31.5 Viewing a VM Guest with VNC
32 Virtual Machine Administration Using QEMU Monitor
32.1 Accessing Monitor Console
32.2 Getting Information about the Guest System
32.3 Changing VNC Password
32.4 Managing Devices
32.5 Controlling Keyboard and Mouse
32.6 Changing Available Memory
32.7 Dumping Virtual Machine Memory
32.8 Managing Virtual Machine Snapshots
32.9 Suspending and Resuming Virtual Machine Execution
32.10 Live Migration
32.11 QMP - QEMU Machine Protocol
VI Managing Virtual Machines with LXC
33 Linux Containers
33.1 Setting Up LXC Distribution Containers
33.2 Setting Up LXC Application Containers
33.3 Securing a Container Using AppArmor
33.4 Differences between the libvirt LXC Driver and LXC
33.5 Sharing Namespaces across Containers
33.6 For More Information
34 Migration from LXC to libvirt-lxc
34.1 Host Migration
34.2 Container Migration
34.3 Starting the Container
Glossary
A Virtual Machine Drivers
B Appendix
B.1 Installing Paravirtualized Drivers
C XM, XL Toolstacks and Libvirt framework
C.1 Xen Toolstacks
C.2 Import Xen Domain Configuration into libvirt
C.3 Differences between the xm and xl Applications
C.4 External links
C.5 Saving a Xen Guest Configuration in an xm Compatible Format
D Licencias GNU
D.1 GNU Free Documentation License

Copyright © 2006– 2021 SUSE LLC y colaboradores. Reservados todos los derechos.

Está permitido copiar, distribuir y modificar este documento según los términos de la licencia de documentación gratuita GNU, versión 1.2 o (según su criterio) versión 1.3. Este aviso de copyright y licencia deberán permanecer inalterados. En la sección titulada GNU Free Documentation License (Licencia de documentación gratuita GNU) se incluye una copia de la versión 1.2 de la licencia.

Para obtener información sobre las marcas comerciales de SUSE, consulte https://www.suse.com/company/legal/. Todas las marcas comerciales de otros fabricantes son propiedad de sus respectivas empresas. Los símbolos de marca comercial (®,™ etc.) indican marcas comerciales de SUSE y sus afiliados. Los asteriscos (*) indican marcas comerciales de otros fabricantes.

Toda la información recogida en esta publicación se ha compilado prestando toda la atención posible al más mínimo detalle. Sin embargo, esto no garantiza una precisión total. Ni SUSE LLC, ni sus filiales, ni los autores o traductores serán responsables de los posibles errores o las consecuencias que de ellos pudieran derivarse.

Print this page