第 2 章 操​​​​​​​作​​​​​​​系​​​​​​​统​​​​​​​支​​​​​​​持​​​​​​​

Red Hat Virtualization's paravirtualization mode allows you to utilize high performance virtualization on architectures that are potentially difficult to virtualize such as x86 based systems. To deploy para-virtualization across your operating system(s), you need access to the paravirtual guest kernels that are available from a respective Red Hat distro (for example, RHEL 4.0, RHEL 5.0, etc.). Whilst your operating system kernels must support Red Hat Virtualization, it is not necessary to modify user applications or libraries.
如​​​​​​​果​​​​​​​你​​​​​​​有​​​​​​​ Intel VT 和​​​​​​​ AMD SVM CPU 硬​​​​​​​件​​​​​​​,Red Hat虚​​​​​​​拟​​​​​​​化​​​​​​​系​​​​​​​统​​​​​​​允​​​​​​​许​​​​​​​你​​​​​​​运​​​​​​​行​​​​​​​未​​​​​​​经​​​​​​​修​​​​​​​改​​​​​​​的​​​​​​​客​​​​​​​户​​​​​​​机​​​​​​​内​​​​​​​核​​​​​​​。​​​​​​​在​​​​​​​ Intel VT 或​​​​​​​ AMD SVM 系​​​​​​​统​​​​​​​里​​​​​​​,你​​​​​​​不​​​​​​​必​​​​​​​要​​​​​​​移​​​​​​​植​​​​​​​你​​​​​​​的​​​​​​​操​​​​​​​作​​​​​​​系​​​​​​​统​​​​​​​来​​​​​​​部​​​​​​​署​​​​​​​这​​​​​​​个​​​​​​​体​​​​​​​系​​​​​​​结​​​​​​​构​​​​​​​。​​​​​​​Red Hat虚​​​​​​​拟​​​​​​​化​​​​​​​系​​​​​​​统​​​​​​​支​​​​​​​持​​​​​​​:
  • 用​​​​​​​于​​​​​​​完​​​​​​​全​​​​​​​和​​​​​​​半​​​​​​​虚​​​​​​​拟​​​​​​​化​​​​​​​的​​​​​​​ Intel VT-x 或​​​​​​​ AMD-V Pacifica 和​​​​​​​ Vanderpool 技​​​​​​​术​​​​​​​。​​​​​​​
  • 用​​​​​​​于​​​​​​​ ia64 的​​​​​​​ Intel VT-i
  • Linux 和​​​​​​​ UNIX 操​​​​​​​作​​​​​​​系​​​​​​​统​​​​​​​,包​​​​​​​括​​​​​​​ NetBSD、​​​​​​​FreeBSD 和​​​​​​​ Solaris。​​​​​​​
  • Microsoft Windows as an unmodified guest operating system with Intel Vanderpool or AMD's Pacifica technology.
要​​​​​​​在​​​​​​​ Hardware-assisted Virtual Machine (HVM)、​​​​​​​Intel 或​​​​​​​ AMD 平​​​​​​​台​​​​​​​的​​​​​​​系​​​​​​​统​​​​​​​里​​​​​​​运​​​​​​​行​​​​​​​完​​​​​​​全​​​​​​​虚​​​​​​​拟​​​​​​​化​​​​​​​环​​​​​​​境​​​​​​​,你​​​​​​​必​​​​​​​须​​​​​​​检​​​​​​​查​​​​​​​你​​​​​​​的​​​​​​​ CPU,确​​​​​​​保​​​​​​​它​​​​​​​具​​​​​​​备​​​​​​​所​​​​​​​需​​​​​​​的​​​​​​​能​​​​​​​力​​​​​​​。​​​​​​​
要​​​​​​​检​​​​​​​查​​​​​​​是​​​​​​​否​​​​​​​用​​​​​​​于​​​​​​​ Intel 支​​​​​​​持​​​​​​​的​​​​​​​ CPU flags,键​​​​​​​入​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​:
grep vmx /proc/cpuinfo
输​​​​​​​出​​​​​​​如​​​​​​​下​​​​​​​:
flags   :  fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall  nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
如​​​​​​​果​​​​​​​出​​​​​​​现​​​​​​​了​​​​​​​ vmx flag,那​​​​​​​么​​​​​​​你​​​​​​​的​​​​​​​ CPU 带​​​​​​​有​​​​​​​ Intel 支​​​​​​​持​​​​​​​。​​​​​​​
要​​​​​​​检​​​​​​​查​​​​​​​你​​​​​​​是​​​​​​​否​​​​​​​有​​​​​​​ AMD 支​​​​​​​持​​​​​​​的​​​​​​​ CPU flag,键​​​​​​​入​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​:
grep svm /proc/cpuinfo
cat /proc/cpuinfo | grep svm
输​​​​​​​出​​​​​​​如​​​​​​​下​​​​​​​:
flags   :  fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dt acpi mmx fxsr sse sse2 ss ht tm syscall nx mmtext fxsr_opt  rdtscp lm 3dnowext  pni  cx16  lahf_lm  cmp_legacy  svm  cr8_legacy
如​​​​​​​果​​​​​​​出​​​​​​​现​​​​​​​了​​​​​​​ svm flag,则​​​​​​​表​​​​​​​示​​​​​​​你​​​​​​​的​​​​​​​ CPU 带​​​​​​​有​​​​​​​ AMD 支​​​​​​​持​​​​​​​。​​​​​​​

注意

除​​​​​​​了​​​​​​​检​​​​​​​查​​​​​​​ CPU flag,你​​​​​​​应​​​​​​​该​​​​​​​在​​​​​​​系​​​​​​​统​​​​​​​的​​​​​​​ BIOS 启​​​​​​​用​​​​​​​完​​​​​​​全​​​​​​​虚​​​​​​​拟​​​​​​​化​​​​​​​。​​​​​​​

为了尽快向用户提供最新的信息,本文档可能会包括由机器自动从英文原文翻译的内容。如需更多信息,请参阅此说明。