Show Table of Contents
章 7. 虛擬化
增加 KVM 中的最大 vCPU 數量
KVM 客座端所支援的虛擬 CPU(vCPU)之最大數量已增加為 240。這項變更增加了使用者可以指定給客座端使用的虛擬處理器數量,並以此增進效能。
QEMU、KVM 與 libvirt API 支援第五代 Intel 核心指令集
Red Hat Enterprise Linux 7.1 中,對第五代 Intel Core 處理器的支援已經加入 QEMU hypervisor、KVM kernel 原始碼、以及
libvirt API。這能讓 KVM 客座端使用以下指令與特性:ADCX、ADOX、RDSFEED、PREFETCHW 以及 SMAP(supervisor mode access prevention)。
KVM 客座端的 USB 3.0 支援
Red Hat Enterprise Linux 7.1 藉由新增了 USB 3.0 host adapter(xHCI)模擬作為技術預覽,以包含改善的 USB 支援。
dump-guest-memory 指令的壓縮功能
Red Hat Enterprise Linux 7.1 中,
dump-guest-memory 指令支援當機傾印時的壓縮功能。當機傾印時,這可以讓無法使用 virsh dump 指令的使用者所需之磁碟空間更小。除此之外,常常儲存壓縮過的客座端傾印檔,會比儲存未壓縮傾印檔的時間更快。
開放式虛擬機器的韌體
在 Red Hat Enterprise Linux 7.1 中,有開放式虛擬機器的韌體(OVMF,Open Virtual Machine Firmware)的技術預覽版。OVMF 是 AMD64 與 Intel 64 客座端的 UEFI 安全啟動環境。
Hyper-V 的網路效能更為精進
Hyper-V 網路驅動程式的幾項新特性可改善網路效能。例如 Receive-Side Scaling、Large Send Offload、Scatter/Gather I/O 都已受到支援,且網路吞吐量也已經增加。
hyperv-daemons 中的 hypervfcopyd
hypervfcopyd daemon 已加入 hyperv-daemons 套件。hypervfcopyd 是 Hyper-V 2012 R2 主機上執行的 LInux 客座端使用的檔案複製服務。這項服務能讓主機複製檔案(透過 VMBUS)到 Linux 客座端上。
libguestfs 的新特性
Red Hat Enterprise Linux 7.1 的
libguestfs(存取、修改虛擬機器磁碟映像檔的工具組)引入了多項特性。
新工具
virt-builder— 建立虛擬機器映像檔的新工具。使用 virt-builder 可快速、安全地建立、客製客座端。
virt-customize— 客製虛擬機器磁碟映像檔的新工具。virt-customize 可用來安裝套件、編輯配置檔、執行 script 並設定密碼。
virt-diff— 顯示兩台虛擬機器的檔案系統之差異的工具。virt-diff 可輕易找出 snapshot 之間的改變之處。
virt-log— 從客座端列出日誌檔的新工具。virt-log 工具支援多種客座端,包括傳統 Linux、使用日誌的 Linux、以及 Windows 事件記錄。
virt-v2v— 從其它 hypervisor 轉換客座端至 KVM 的新工具,可由 libvirt、OpenStack、oVirt、Red Hat Enterprise Virtualization (RHEV)、及其它目標管理。目前 virt-v2v 可以轉換 Xen 與 VMware ESX 的 Red Hat Enterprise Linux 與 Windows 客座端。
Flight Recorder 追蹤功能
Support for flight recorder tracing has been introduced in Red Hat Enterprise Linux 7.1. Flight recorder tracing uses
SystemTap to automatically capture qemu-kvm data as long as the guest machine is running. This provides an additional avenue for investigating qemu-kvm problems, more flexible than qemu-kvm core dumps.
欲知如何配置、使用 flight recorder 追蹤功能,請參閱《虛擬化建置與管理指南》。
RDMA-based Migration of Live Guests
The support for Remote Direct Memory Access (RDMA)-based migration has been added to
libvirt. As a result, it is now possible to use the new rdma:// migration URI to request migration over RDMA, which allows for significantly shorter live migration of large guests. Note that prior to using RDMA-based migration, RDMA has to be configured and libvirt has to be set up to use it.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.