From: Tushar Jagad <tushar.jagad@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, marc.zyngier@arm.com, patches@apm.com,
tushar.jagad@linaro.org, kvmarm@lists.cs.columbia.edu,
christoffer.dall@linaro.org
Subject: [Qemu-devel] [PATCH RFC 0/3] arm64: cross cpu support
Date: Wed, 9 Sep 2015 08:42:09 +0000 [thread overview]
Message-ID: <1441788132-6286-1-git-send-email-tushar.jagad@linaro.org> (raw)
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
next reply other threads:[~2015-09-09 8:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-09 8:42 Tushar Jagad [this message]
2015-09-09 8:42 ` [Qemu-devel] [PATCH RFC 1/3] linux-headers: sync'd kernel headers for arm/arm64 Tushar Jagad
2015-09-09 8:42 ` [Qemu-devel] [PATCH RFC 2/3] arm: cross cpu: add new properties for arm cpu Tushar Jagad
2015-09-09 8:42 ` [Qemu-devel] [PATCH RFC 3/3] arm64: pass breakpoint/watchpoint info for target cpu Tushar Jagad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441788132-6286-1-git-send-email-tushar.jagad@linaro.org \
--to=tushar.jagad@linaro.org \
--cc=christoffer.dall@linaro.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=marc.zyngier@arm.com \
--cc=patches@apm.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).