Using Intel® VT with Intel® Quickassist Technology
Total Page:16
File Type:pdf, Size:1020Kb
Using Intel® Virtualization Technology (Intel® VT) with Intel® QuickAssist Technology Application Note February 2015 Document Number: 330689-004 YouLegal Lines andmay Disclaimers not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Intel products described herein. You agree to grant Intel a non-exclusive, royalty-free license to any patent claim thereafter drafted which includes subject matter disclosed herein. No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document. All information provided here is subject to change without notice. Contact your Intel representative to obtain the latest Intel product specifications and roadmaps. The products described may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Copies of documents which have an order number and are referenced in this document may be obtained by calling 1-800-548-4725 or by visiting: http://www.intel.com/design/literature.htm Intel technologies’ features and benefits depend on system configuration and may require enabled hardware, software or service activation. Learn more at http://www.intel.com/ or from the OEM or retailer. Basis, Basis Peak, BlueMoon, BunnyPeople, Celeron, Centrino, Cilk, Curie, Flexpipe, Intel, the Intel logo, the Intel Anti-Theft technology logo, Intel Atom, Intel CoFluent, Intel Core, Intel Inside, the Intel Inside logo, Intel Insider, Intel RealSense, Intel SingleDriver, Intel SpeedStep, Intel vPro, Intel Xeon Phi, Intel XScale, InTru, the InTru logo, the InTru Inside logo, InTru soundmark, Iris, Itanium, Kno, Look Inside., the Look Inside. logo, Mashery, MCS, MMX, Pentium, picoArray, Picochip, picoXcell, Puma, Quark, SMARTi, smartSignaling, Sound Mark, Stay With It, the Engineering Stay With It logo, The Creators Project, The Journey Inside, Thunderbolt, the Thunderbolt logo, Transcede, True Key, Ultrabook, VTune, Xeon, X-GOLD, XMM, X-PMU and XPOSYS are trademarks of Intel Corporation in the U.S. and/or other countries. *Other names and brands may be claimed as the property of others. Copyright © 2015, Intel Corporation. All rights reserved. Using Intel® Virtualization Technology (Intel® VT) with Intel® QuickAssist Technology Application Note February 2015 2 Document Number: 330689-004 Intel® Virtualization Technology Contents 1.0 Introduction ..............................................................................................................5 1.1 About this Document ...........................................................................................5 1.2 About the Software..............................................................................................5 1.2.1 Features .................................................................................................5 1.2.2 Limitations ..............................................................................................5 1.3 Documentation ...................................................................................................5 1.3.1 Where to Find Current Software and Documentation .....................................5 1.3.2 Product Documentation .............................................................................5 1.3.3 Documentation Conventions ......................................................................6 1.4 Software Requirements ........................................................................................6 2.0 Using Intel® QuickAssist Technology Software with KVM ..........................................7 2.1 Updating the BIOS Settings ..................................................................................7 2.2 Installing and Configuring the Host Operating System ..............................................7 2.3 Installing the Guest OS Image ..............................................................................8 2.4 Installing and Configuring Intel® QuickAssist Technology Software........................... 10 2.4.1 Using the libvirt* Virtual Machine Manager GUI .......................................... 10 2.4.1.1 Installing Intel® QuickAssist Technology Software on Host ............. 10 2.4.1.2 Verifying SR-IOV on the Host ..................................................... 10 2.4.1.3 Pass-through the PCI Device ...................................................... 12 2.4.1.4 Installing Intel® QuickAssist Technology Software on the Guest ...... 15 2.4.2 Using QEMU* KVM Command Line Interface............................................... 15 2.4.2.1 Installing Updated QEMU* KVM................................................... 15 2.4.2.2 Pass-through the PCI Device ...................................................... 16 2.4.2.3 Creating a Shared Folder ........................................................... 17 2.4.2.4 Starting the Guest .................................................................... 17 2.4.2.5 Verifying Pass-through .............................................................. 17 2.4.2.6 Installing Intel® Communications Chipset 89xx Series Software in KVM Guest...................................................................................... 18 2.5 Running Acceleration Services Simultaneously in Host and Guest............................. 18 AFAQ......................................................................................................................... 20 B SRIOV Configuration Examples on DH895xCC Device............................................... 22 Tables 1 Related Documents ....................................................................................................6 Using Intel® Virtualization Technology (Intel® VT) with Intel® QuickAssist Technology February 2015 Application Note Document Number: 330689-004 3 Intel® Virtualization Technology Revision History Date Revision Description Updated: Section 1.4, “Software Requirements” on page 6 February 2015 004 Section 2.4.1.1, “Installing Intel® QuickAssist Technology Software on Host” on page 10 Section 2.5, “Running Acceleration Services Simultaneously in Host and Guest” on page 18 Change bars indicate areas of change. • Updated Section 2.5, “Running Acceleration Services Simultaneously in Host and Guest” on November 2014 003 page 18. • Added Appendix B, “SRIOV Configuration Examples on DH895xCC Device” • Updated Section 2.5, “Running Acceleration Services Simultaneously in Host and Guest” on September 2014 002 page 18. Updates include: • First “public” version of the document. Based on “Intel confidential” document number 476488-1.4 with the revision history of that document retained for reference purposes. • Updated Section 1.3.1, “Where to Find Current Software and Documentation” on page 5. July 2014 001 • Removed Fedora 14 information from Section 1.4, “Software Requirements” on page 6 and Section 2.4.1, “Using the libvirt* Virtual Machine Manager GUI” on page 10. • Added new step at the end of Section 2.2, “Installing and Configuring the Host Operating System” on page 7. • Updated Section 2.5, “Running Acceleration Services Simultaneously in Host and Guest” on page 18. Updates include: • Modified step 8 in Section 2.3, “Installing the Guest OS Image” on page 8. March 2014 1.4 • Added Section 2.5, “Running Acceleration Services Simultaneously in Host and Guest” on page 18. June 2013 1.3 Updates to make applicable to multiple platforms that use Intel® QuickAssist Technology. February 2013 1.2 • Added new FAQ items: 1 and 1; deleted outdated FAQ items. October 2012 1.1 Added Limitation. September 2012 1.0 Initial release of this document. § § Using Intel® Virtualization Technology (Intel® VT) with Intel® QuickAssist Technology Application Note February 2015 4 Document Number: 330689-004 Introduction—Intel® Virtualization Technology 1.0 Introduction 1.1 About this Document This document discusses the following topics related to using Intel® Virtualization Technology (Intel® VT) with the Intel® QuickAssist Technology Software: • Features and limitations • Build and installation Users of this document are expected to be familiar with virtualization technologies. In this document, for convenience: • Software package is used as a generic term for the Intel® QuickAssist Technology Software package. • Acceleration drivers is used as a generic term for the software that allows the QuickAssist Software Library APIs to access the Intel® QuickAssist Accelerator(s) integrated in the Intel® QuickAssist Technology. 1.2 About the Software This section lists the features and limitations. 1.2.1 Features • PCI pass-through with Kernel-based Virtual Machine (KVM) •SR-IOV with KVM 1.2.2 Limitations • SR-IOV may not work on GNU*/Linux* kernel versions older than 2.6.38. • KVM limitation: the maximum number of Virtual Functions that can be mapped to a single VM is 7. KVM will not allow a VM to start with more than 7 VFs. 1.3 Documentation 1.3.1 Where to Find Current Software and Documentation Associated software and collateral can be found on the open source website: https:// 01.org/packet-processing/intel%C2%AE-quickassist-technologydrivers-and-patches Table 1 includes a list of related documentation. 1.3.2 Product Documentation Documentation includes: •Using Intel® Virtualization Technology (Intel® VT) with Intel® QuickAssist Technology Application Note (this document) • Additional related documents listed in Table 1, which may be accessed