lca13: kvm for core, leg and lng

21
ASIA 2013 (LCA13) KVM for Core, LEG and LNG Status and feedback session

Upload: linaro

Post on 29-Nov-2014

450 views

Category:

Technology


5 download

DESCRIPTION

Resource: LCA13 Name: KVM for Core, LEG and LNG Date: 06-03-2013 Speaker: Geoff Levand

TRANSCRIPT

Page 1: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

KVM for Core, LEG and LNGStatus and feedback session

Page 2: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

Agenda

Team and Project Intro

Project Scope

KVM Status

QEMU Status

Questions and Discussion

Page 4: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

Community Friends

Marc ZyngierKVM Upstream MaintainerUTC

Christoffer DallKVM Upstream MaintainerUTC-5:00

Page 5: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

Linaro Virtualization Project

Comprized of assignees from different Linaro working groups

Regards LEG as a primary client (LNG to follow)

Works in upstream

No non-public code

Works almost around the clock (UTC+5:30 to UTC-8:00)

Team wiki: https://wiki.linaro.org/LEG/Engineering/Virtualization

IRC: #linaro on freenet

Page 6: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

Project Scope – 32 bits

Page 7: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

Project Scope – 64 bits

Page 8: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

KVM / {arm,arm64} statusMarc Zyngier <[email protected]>

Page 9: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

KVM / arm

Entered mainline during the 3.9 merge window

Mandates Virtualization Extentions and LPAE

Supports Cortex-A15 SMP (both guest and host)

Supports VGIC and generic timers

Tested on VE-TC2, Exynos5, OMAP5

Uses QEMU or KVM Tool for platform emulation

Maintainer: Christoffer Dall

Page 10: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

KVM / arm64

Patches just posted. Reviews, please!

http://www.spinics.net/lists/arm-kernel/msg227739.html

Mandates Virtualization Extentions, VGIC and generic timers

Supports Foundation Model, Cortex-A57 SMP (both guest and host)

Supports two different page sizes: 4kB (3 levels) and 64kB (2 levels)

Supports both 32bit and 64bit guests

Uses KVM Tool for platform emulation

Maintainer: Marc Zyngier

Page 11: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

KVM / {arm,arm64}: future plans

Live migration

Huge pages support (WIP)

SystemMMU/IOMMU driver (WIP)

Next generation interrupt controllers

Cortex-A7 support

big.LITTLE ARMv7 support

Feature parity with x86

BE-on-LE support (WIP)

Page 12: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

KVM tool

Implementation of platform emulation for KVM

No instruction emulation

Small, neat, follows the kernel's coding convention

On ARM, only paravirtualized backends (virtio-mmio).

Fully supported by mach-virt(!)

Unlikely to ever be merged in the mainline kernel

arm/arm64 port maintained by Will Deacon

Page 13: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

KVM: useful pointers

Git trees:

arm:git://github.com/virtualopensystems/linux-kvm-arm.git

arm64:git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/kvm

KVM tool:git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git kvmtool/next

Mailing lists:

[email protected]

[email protected]

[email protected]

Page 14: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

QEMU {arm,arm64}Peter Maydell <[email protected]>

Page 15: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

QEMU

Platform emulation for KVM

Also works as a complete CPU emulator without KVM

Solid, production-proven, fully featured

Large codebase that can be a bit unwieldy to work with

ARM target maintained by Peter Maydell

Mailing list: [email protected]

Web site: http://www.qemu.org/

Page 16: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

QEMU for ARMv7: what's been done?

KVM support: initial patches in the process of being upstreamed

Guest sees a Versatile Express A15 system

Cleanup of virtio so we can do memory-mapped virtio rather than PCI

Page 17: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

QEMU for ARMv7: what's next?

VM migration

show guest a stripped-down ("mach-virt") system, not VExpress

finish virtio work

support running on big.LITTLE hosts

testing and validation

Long list of "someday, maybe" items:

power management? ; debug and profiling support? ; IOMMU? ;

security audit? ; realtime support? big-endian? ...

Page 18: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

QEMU for ARMv8: what's next?

everything!

system models

instruction emulation

KVM support

everything we need to do or have done for v7 KVM support

Page 19: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

Expectations towards KVM/QEMUAudience looking at this slide and reading this title

Page 20: LCA13: KVM for Core, LEG and LNG

ASIA 2013 (LCA13)

www.linaro.org

KVM / QEMU Expectations

What are the use cases?

What are the critical features?

What are the priorities?

It's your turn, please speak up!

Page 21: LCA13: KVM for Core, LEG and LNG

More about Linaro Connect: www.linaro.org/connect/ More about Linaro: www.linaro.org/about/

More about Linaro engineering: www.linaro.org/engineering/

ASIA 2013 (LCA13)