kvm on ppc forum2008

14
Christian Ehrhardt IBM Linux Technology Center Status of KVM on PowerPC KVM 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

Upload: el-alvarock

Post on 17-Jul-2016

220 views

Category:

Documents


2 download

DESCRIPTION

Status of KVM on PowerPCKVM Forum 2008 by Christian EhrhardtIBM Linux Technology Center

TRANSCRIPT

Page 1: Kvm on ppc Forum2008

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

Page 2: Kvm on ppc Forum2008

2IBM Linux Technology Center

Agenda

Milestones reached

Server vs. embedded virtualization

Major requirements

Planned milestones

Page 3: Kvm on ppc Forum2008

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

Page 4: Kvm on ppc Forum2008

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

Page 5: Kvm on ppc Forum2008

5IBM Linux Technology Center

Agenda

Milestones reached

Server vs. embedded virtualization

Major requirements

Planned milestones

Page 6: Kvm on ppc Forum2008

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

Page 7: Kvm on ppc Forum2008

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

Page 8: Kvm on ppc Forum2008

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

Page 9: Kvm on ppc Forum2008

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

Page 10: Kvm on ppc Forum2008

10IBM Linux Technology Center

Agenda

Milestones reached

Server vs. embedded virtualization

Major requirements

Planned milestones

Page 11: Kvm on ppc Forum2008

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

Page 12: Kvm on ppc Forum2008

12IBM Linux Technology Center

Agenda

Milestones reached

Server vs. embedded virtualization

Major requirements

Planned milestones

Page 13: Kvm on ppc Forum2008

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

Page 14: Kvm on ppc Forum2008

14IBM Linux Technology Center

Questions