[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH RFC 0/3] arm64: cross cpu support
From: |
Tushar Jagad |
Subject: |
[Qemu-devel] [PATCH RFC 0/3] arm64: cross cpu support |
Date: |
Wed, 9 Sep 2015 08:42:09 +0000 |
Currently, it is not possible to run guests in a cross cpu configuration
(for example: running of cortex-a57 guests on X-Gene or vice versa) on
arm platforms.
This patchset adds support of passing implementation specific hardware
capabilites to vcpu for arm platforms for running guest in cross cpu
configuration. As of now passing of number of hardware breakpoints and
number of hardware watchpoints is supported. This is done by adding
properties to -cpu parameter on the command line.
Example:
cortex-a57 guest with 2 hardware breakpoints and 2 hardware watchpoints can
be started on X-Gene host using
qemu-system-aarch64 -M virt -cpu cortex-a57,bpts=2,wpts=2 \
-smp cpus=1 -m 1024 -enable-kvm -nographic \
-drive
file=ubuntu-core-14.04.1-core-arm64.img,if=none,id=drive0,format=raw,media=disk
\
-kernel Image -append "console=ttyAMA0 root=/dev/vda rootwait rw"
Please note that the supporting patches for KVM have not been merged
into the mainline tree yet.
These patches are on top of qemu tag v2.4.0.
Tushar Jagad (3):
linux-headers: sync'd kernel headers for arm/arm64
arm: cross cpu: add new properties for arm cpu
arm64: pass breakpoint/watchpoint info for target cpu
hw/arm/virt.c | 23 ++++++++++++++++++++++-
linux-headers/asm-arm64/kvm.h | 9 +++++++++
target-arm/cpu-qom.h | 6 ++++++
target-arm/cpu.c | 2 ++
target-arm/kvm64.c | 8 ++++++++
5 files changed, 47 insertions(+), 1 deletion(-)
--
2.4.3
- [Qemu-devel] [PATCH RFC 0/3] arm64: cross cpu support,
Tushar Jagad <=