The Definitive Guide to the Xen Hypervisor (Prentice Hall Open Source Software Development) (Reprint)

The Definitive Guide to the Xen Hypervisor (Prentice Hall Open Source Software Development) (Reprint)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 286 p.
  • 言語 ENG
  • 商品コード 9780133582499
  • DDC分類 004

Full Description


"The Xen hypervisor has become an incredibly strategic resource for the industry, as the focal point of innovation in cross-platform virtualization technology. David's book will play a key role in helping the Xen community and ecosystem to grow."-Simon Crosby, CTO, XenSourceAn Under-the-Hood Guide to the Power of Xen Hypervisor InternalsThe Definitive Guide to the Xen Hypervisor is a comprehensive handbook on the inner workings of XenSource's powerful open source paravirtualization solution. From architecture to kernel internals, author David Chisnall exposes key code components and shows you how the technology works, providing the essential information you need to fully harness and exploit the Xen hypervisor to develop cost-effective, highperformance Linux and Windows virtual environments.Granted exclusive access to the XenSource team, Chisnall lays down a solid framework with overviews of virtualization and the design philosophy behind the Xen hypervisor. Next, Chisnall takes you on an in-depth exploration of the hypervisor's architecture, interfaces, device support, management tools, and internals-including key information for developers who want to optimize applications for virtual environments. He reveals the power and pitfalls of Xen in real-world examples and includes hands-on exercises, so you gain valuable experience as you learn.This insightful resource gives you a detailed picture of how all the pieces of the Xen hypervisor fit and work together, setting you on the path to building and implementing a streamlined, cost-efficient virtual enterprise.Coverage includes* Understanding the Xen virtual architecture* Using shared info pages, grant tables, and the memory management subsystem* Interpreting Xen's abstract device interfaces* Configuring and managing device support, including event channels, monitoring with XenStore, supporting core devices, and adding new device types* Navigating the inner workings of the Xen API and userspace tools* Coordinating virtual machines with the Scheduler Interface and API, and adding a new scheduler* Securing near-native speed on guest machines using HVM* Planning for future needs, including porting, power management, new devices, and unusual architectures

Contents

>List of Figures xi List of Tables xiiiForeword xvPreface xviiPart I: The Xen Virtual Machine 1Chapter 1: The State of Virtualization 31.1 What Is Virtualization? 31.2 Why Virtualize? 71.3 The First Virtual Machine 81.4 The Problem of x86 91.5 Some Solutions 91.6 The Xen Philosophy 151.7 The Xen Architecture 16Chapter 2: Exploring the Xen Virtual Architecture 272.1 Booting as a Paravirtualized Guest 272.2 Restricting Operations with Privilege Rings 282.3 Replacing Privileged Instructions with Hypercalls 302.4 Exploring the Xen Event Model 332.5 Communicating with Shared Memory 342.6 Split Device Driver Model 352.7 The VM Lifecycle 372.8 Exercise: The Simplest Xen Kernel 38Chapter 3: Understanding Shared Info Pages 473.1 Retrieving Boot Time Info 473.2 The Shared Info Page 513.3 Time Keeping in Xen 533.4 Exercise: Implementing gettimeofday() 54Chapter 4: Using Grant Tables 594.1 Sharing Memory 594.2 Device I/O Rings 654.3 Granting and Revoking Permissions 664.4 Exercise: Mapping a Granted Page 694.5 Exercise: Sharing Memory between VMs 71Chapter 5: Understanding Xen Memory Management 755.1 Managing Memory with x86 755.2 Pseudo-Physical Memory Model 785.3 Segmenting on 32-bit x86 805.4 Using Xen Memory Assists 825.5 Controlling Memory Usage with the Balloon Driver 845.6 Other Memory Operations 865.7 Updating the Page Tables 895.8 Exercise: Mapping the Shared Info Page 95Part II: Device I/O 97Chapter 6: Understanding Device Drivers 996.1 The Split Driver Model 1006.2 Moving Drivers out of Domain 0 1026.3 Understanding Shared Memory Ring Buffers 1036.4 Connecting Devices with XenBus 1096.5 Handling Notifications from Events 1116.6 Configuring via the XenStore 1126.7 Exercise: The Console Device 112Chapter 7: Using Event Channels 1197.1 Events and Interrupts 1197.2 Handling Traps 1207.3 Event Types 1237.4 Requesting Events 1247.5 Binding an Event Channel to a VCPU 1277.6 Operations on Bound Channels 1287.7 Getting a Channel's Status 1297.8 Masking Events 1307.9 Events and Scheduling 1327.10 Exercise: A Full Console Driver 133Chapter 8: Looking through the XenStore 1418.1 The XenStore Interface 1418.2 Navigating the XenStore 1428.3 The XenStore Device 1458.4 Reading and Writing a Key 1478.5 Other Operations 158Chapter 9: Supporting the Core Devices 1619.1 The Virtual Block Device Driver 1619.2 Using Xen Networking 169Chapter 10: Other Xen Devices 17710.1 CD Support 17710.2 Virtual Frame Buffer 17810.3 The TPM Driver 18310.4 Native Hardware 18410.5 Adding a New Device Type 187Part III: Xen Internals 195Chapter 11: The Xen API 19711.1 XML-RPC 19811.2 Exploring the Xen Interface Hierarchy 20011.3 The Xen API Classes 20111.4 The Function of Xend 20611.5 Xm Command Line 20811.6 Xen CIM Providers 20911.7 Exercise: Enumerating Running VMs 21011.8 Summary 215Chapter 12: Virtual Machine Scheduling 21712.1 Overview of the Scheduler Interface 21812.2 Historical Schedulers 21912.3 Using the Scheduler API 22412.4 Exercise: Adding a New Scheduler 22912.5 Summary 233Chapter 13: HVM Support 23513.1 Running Unmodified Operating Systems 23513.2 Intel VT-x and AMD SVM 23713.3 HVM Device Support 23913.4 Hybrid Virtualization 24013.5 Emulated BIOS 24413.6 Device Models and Legacy I/O Emulation 24513.7 Paravirtualized I/O 24613.8 HVM Support in Xen 248Chapter 14: Future Directions 25314.1 Real to Virtual, and Back Again 25314.2 Emulation and Virtualization 25414.3 Porting Efforts 25514.4 The Desktop 25714.5 Power Management 25914.6 The Domain 0 Question 26114.7 Stub Domains 26314.8 New Devices 26414.9 Unusual Architectures 26514.10 The Big Picture 267Part IV: Appendix 271Appendix: PV Guest Porting Cheat Sheet 273A.1 Domain Builder 273A.2 Boot Environment 274A.3 Setting Up the Virtual IDT 274A.4 Page Table Management 275A.5 Drivers 276A.6 Domain 0 Responsibilities 276A.7 Efficiency 277A.8 Summary 278Index 279

最近チェックした商品