kvm on ppc forum2008
DESCRIPTION
Status of KVM on PowerPCKVM Forum 2008 by Christian EhrhardtIBM Linux Technology CenterTRANSCRIPT
Christian EhrhardtIBM Linux Technology Center
Status of KVM on PowerPCKVM Forum 2008
The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.Linux is a registered trademark of Linus Torvalds
2IBM Linux Technology Center
Agenda
Milestones reached
Server vs. embedded virtualization
Major requirements
Planned milestones
3IBM Linux Technology Center
Milestones reached
No hardware support on PowerPC 440– Compress privilege levels
• Implies instruction emulation
– Shadow TLB
– Interrupt delivery
Virtio support– pci-emulation
– virtio-block
– virtio-net
4IBM Linux Technology Center
Milestones reached
Performance measurement– Exit statistics
– Profile host
MMU optimizations– Strategic TLB selection
– Experimental large page support
Paravirtualized IRQ handlers– Native IRQ handlers have a lot of privileged instructions
– Important to speed up non virtualization assisted hardware
– Device tree to announce hypervisor features
5IBM Linux Technology Center
Agenda
Milestones reached
Server vs. embedded virtualization
Major requirements
Planned milestones
6IBM Linux Technology Center
Server vs. Embedded virtualization
Different consolidation scenarios– Classic utilization consolidation not important
– Consolidation interesting when combining virtualization&emulation• AMP to SMP migration
• Support discontinued HW along new SW stack
– Uniting formerly exclusive SW
VisualizationManagement
Control proprietarykernel
core
Linux/KVM
RTapp
core
Non-RT e.g.:VisualizationManagement
Control
proprietarykernel
core
LinuxRT app
core
7IBM Linux Technology Center
Server vs. Embedded virtualization
Multicore enablement– Port old SW with minimal investment
– Allows running new SW along in host or other guests
legacyapp
core
legacykernel
core
multicore kernel
core core core
host kernel
app app app
legacykernel
legacyapplegacy
app
8IBM Linux Technology Center
Server vs. Embedded virtualization
Secure monitoring– Allowing complex watchdogs
– Protect and hide monitoring software
Sandboxing untrusted code
host kernel
HW
monitorapp
HW
app
kernelkernel
networknetwork
monitor
9IBM Linux Technology Center
Server vs. Embedded virtualization
Shared use cases but with different focus– Hot standby to save power&space and for debugging
– Flexible resource management for QOS
HW
host kernel
HW
backupapp
app
app
HW
backupapp
HW
app
10IBM Linux Technology Center
Agenda
Milestones reached
Server vs. embedded virtualization
Major requirements
Planned milestones
11IBM Linux Technology Center
Major requirements
Reduce performance tradeoff– Hardware virtualization support
RT support– RT is important in embedded market
– Leverage various RT Linux work
Standardization– Power.org TSC – Embedded hypervisor
– several hypervisors and operating systems to coordinate
– ABI/API coordination
12IBM Linux Technology Center
Agenda
Milestones reached
Server vs. embedded virtualization
Major requirements
Planned milestones
13IBM Linux Technology Center
Planned milestones
More functionality– Merge exit accounting with kvmtrace
– Support gdb stub
– Leverage RT-Linux
Hardware support is coming– Power ISA 2.06 scheduled for 4Q 2008
– We will exploit that instructions to reduce our performance tradeoff
– Support when hardware arrives
Standardization– Push TSC results to ePAPR
14IBM Linux Technology Center
Questions