December 2019
Intermediate to advanced
880 pages
28h 2m
English
This chapter discusses the use of BPF tools with virtual machine hypervisors for hardware virtualization, of which Xen and KVM are popular examples. BPF tools with OS-level virtualization—containers—was discussed in the previous chapter.
Learning Objectives:
Understand hypervisor configurations and BPF tracing capabilities
Trace guest hypercalls and exits, where possible
Summarize stolen CPU time
This chapter begins with the necessary background for hardware virtualization analysis, describes BPF capabilities and strategies for the different hypervisor situations, and includes some example BPF tools.
Hardware virtualization creates a virtual machine (VM) that can run an entire operating system, including ...
Read now
Unlock full access