Post on 29-Nov-2014
description
ASIA 2013 (LCA13)
KVM for Core, LEG and LNGStatus and feedback session
ASIA 2013 (LCA13)
www.linaro.org
Agenda
Team and Project Intro
Project Scope
KVM Status
QEMU Status
Questions and Discussion
ASIA 2013 (LCA13)
www.linaro.org
The Virtualization Team
Serge BroslavskyProject ManagerUTC+2:00
Geoff LevandTech LeadUTC-8:00
Peter MaydellEngineerUTC
John RigbyEngineerUTC-7:00
Andre PrzywaraEngineerUTC+1:00
Anup PatelEngineerUTC+5:30
Pranavkumar SawargaonkarEngineerUTC+5:30
ASIA 2013 (LCA13)
www.linaro.org
Community Friends
Marc ZyngierKVM Upstream MaintainerUTC
Christoffer DallKVM Upstream MaintainerUTC-5:00
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
ASIA 2013 (LCA13)
KVM / {arm,arm64} statusMarc Zyngier <marc.zyngier@arm.com>
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
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
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)
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
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:
kvmarm@lists.cs.columbia.edu
kvm@vger.kernel.org
linux-arm-kernel@lists.infradead.org
ASIA 2013 (LCA13)
QEMU {arm,arm64}Peter Maydell <peter.maydell@linaro.org>
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: qemu-devel@nongnu.org
Web site: http://www.qemu.org/
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
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? ...
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
ASIA 2013 (LCA13)
Expectations towards KVM/QEMUAudience looking at this slide and reading this title
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!
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)