Intel VT vs AMD AMD-V
( CPU) 2
3 IA-32 Intel VT-x AMD Virtualization(AMD-V) IA-64 Intel VT-i UltraSPARC UltraSPARCArchitecture2005(UltraSPARC T1) POWER Logical Partitioning (LPAR) ARM TrustZone
x86 4
Intel VT Intel Virtualization Technology "Vanderpool Technology IA-32 VT-x IA-64 VT-i I/O VT-d Virtualization Technology for Directed I/O 5
Intel VT-x VMX virtual-machine control structure(vmcs) 10 (VMX Instruction Set) VMX 5 VMCS 5 CR4 MSR(Model Specific Register: ) 6
VMX 0 VMX 2 VMX root VMM VMX non-root VMX transitions 7
VMX transitions VMX transitions 2 VM entries VMX root VMX non-root VM exits VMX non-root VMX root 8
VMX root VMX VMX 9
VMX non-root VM exits VM exits VMX root VMM VMM VMCS VM exits VMM VMX non-root 10
VMX non-root Ring Aliasing( ) Xen OS VMM 11
VMXON VM Entries VM Exits VM Entries VMXOFF VM Exits 12
VMCS VMX non-root VMX tansitions VMM VMCS region 4KB 6 Guest-state Host-state VM-execution VM-exit VM-entry VM-exit 13
VMCS Guest-state VM exits VMX non-root VM entry Host-state VM exits 14
VMCS VM-execution VMX non-root VM-exit VM exits VM-entry VM entries VM-exit VM exits 15
10 VMCS VMPTRLD VMCS VMPTRST VMCS VMCLEAR VMCS VMREAD VMCS VMWRITE VMCS 16
10 VMX VMCALL VMX non-root VMM VM exits VMM VMLAUNCH VMRESUME 17 VMXOFF VMX VMXON VMX
Xen+VT 18
Xen+VT VM Entries VM Exits VMCS2 VMCS1 19
AMD-V AMD Virtualization AMD SVM(Security and Virtual Machine architecture) Pacifica I/O AMD IOMMU(AMD I/O Virtualization Technology) 20
AMD-V ( ) 2 (Virtualization Support) (Security Support) Guest Virtual Machine Control Block(VMCB) 9 SVM instruction set) 8 1 21
AMD-V ( ) LocalAPIC DMA VMM TLB tagged TLB Nested Paging Intel EPT Extended Page Tables 22
Guest VT-x VMX non-root operation SVM Guest Mode VMEXIT VMCB VMRUN 23
Guest ( ) VMM VMCB VMEXIT VMM VMEXIT VMCB VMM 24
VMCB VT-x VMCS Virtual-Machine Control data Structure VMCB 4KB 4KB VMCB Control Area 2 State Save Area 25
Control Area VMEXIT VMEXIT 26
State Save Area State Save Area 27
SVM instruction set VMRUN Guest Mode VMSAVE VMCB VMLOAD VMCB VMMCALL VMM STGI 28
SVM instruction set CLGI INVLPGA ASID TLB MOV (CRn) CR8 SKINIT Security Kernel 29
VT-x AMD-V The architectures are from 10,000 ft. view they are very similar Each has their own advantages/disadvantages IBM Leendertvan Doorn Xen 10,000 30
VMX Guest VMCS VMCB 31
32
Xen Hardware Virtual Machine Abstraction Layer HVM HVM 33
VT-x VMCS VMM SVM VMCB SVM 4KB VMRUN 34
35
STGI CLGI VT-x INVLPGA SVM TLB MOV(CRn) SKINIT TPM 36
AMD-V TLB tagged TLB (PTE) TLB TLB Translation Lookaside Buffer PTE AMD-V ASID(Address Space IDentifier) ASID TLB 37
TLB tagged TLB VMCB ASID OS TLB ASID TLB TLB TLB 38
I/O VT-d AMD IOMMU ML 39
OS VMware VMtools OS (Windows ) 40
I/O I/O VMM PCI-Express PCI-Express IOV 41
AMD SVM Windows Linux 42