Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.19 KB

xen.md

File metadata and controls

32 lines (18 loc) · 1.19 KB

Xen and the Art of Virtualization

Requirement

  • ISOLATION
  • resource accounting
  • APPs unmodified(OS)
  • software heterogeneity
  • perfomance/overhead
  • scale

核心idea

paravirtualization : modify the OS

当时没有HW support, 也不想使用binary dynamic translation. 就修改OS, 改变跑特权指令的那部分.

CPU scheduling

Borrowed Vir- tual Time (BVT) scheduling algorithm

Virtual address translation

Xen need only be involved in page table updates, to prevent guest OSes from making unacceptable changes

the approach in Xen is to register guest OS page tables directly with the MMU, and restrict guest OSes to read-only access. Page table updates are passed to Xen via a hypercall; to ensure safety, requests are validated before being applied

Deawback

不过Xen要使用Domain0的real driver和其他domain的虚拟driver通信,速度慢. Vmware ESX解决了这个问题.