qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH RFC 0/3] arm64: cross cpu support
@ 2015-09-09  8:42 Tushar Jagad
  2015-09-09  8:42 ` [Qemu-devel] [PATCH RFC 1/3] linux-headers: sync'd kernel headers for arm/arm64 Tushar Jagad
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tushar Jagad @ 2015-09-09  8:42 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, marc.zyngier, patches, tushar.jagad, kvmarm,
	christoffer.dall

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-09  8:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09  8:42 [Qemu-devel] [PATCH RFC 0/3] arm64: cross cpu support Tushar Jagad
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

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).