qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] target/arm: Add nested virtualization support
@ 2021-03-22 10:07 Haibo Xu
  2021-03-22 10:07 ` [PATCH 1/3] Update linux header with new arm64 NV macro Haibo Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Haibo Xu @ 2021-03-22 10:07 UTC (permalink / raw)
  To: qemu-devel, qemu-arm
  Cc: peter.maydell, drjones, richard.henderson, Haibo Xu, pbonzini, philmd

This series add support for ARMv8.3/8.4 nested virtualization support
in KVM mode. It's based on Marc Zyngier's kernel KVM patches[1], and
has been tested on a FVP model to run a L2 guest with Qemu. Now the
feature can be enabled by "-M virt,accel=kvm,virtualization=on" when
starting a VM.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/nv-5.12-WIP

Haibo Xu (3):
  Update linux header with new arm64 NV macro.
  Enable support for setting KVM vGIC maintenance IRQ
  Enable nested virtualization support in arm64 KVM mode

 hw/arm/virt.c                      | 11 ++++++++---
 hw/intc/arm_gicv3_common.c         |  1 +
 hw/intc/arm_gicv3_kvm.c            | 16 ++++++++++++++++
 include/hw/intc/arm_gicv3_common.h |  1 +
 linux-headers/asm-arm64/kvm.h      |  2 ++
 linux-headers/linux/kvm.h          |  1 +
 target/arm/cpu.h                   |  8 ++++++++
 target/arm/kvm64.c                 | 14 ++++++++++++++
 target/arm/kvm_arm.h               | 28 ++++++++++++++++++++++++++++
 9 files changed, 79 insertions(+), 3 deletions(-)

-- 
2.17.1



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

end of thread, other threads:[~2021-03-23  7:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 10:07 [PATCH 0/3] target/arm: Add nested virtualization support Haibo Xu
2021-03-22 10:07 ` [PATCH 1/3] Update linux header with new arm64 NV macro Haibo Xu
2021-03-22 10:07 ` [PATCH 2/3] Enable support for setting KVM vGIC maintenance IRQ Haibo Xu
2021-03-22 10:07 ` [PATCH 3/3] Enable nested virtualization support in arm64 KVM mode Haibo Xu
2021-03-22 10:48   ` Andrew Jones
2021-03-23  7:08     ` Haibo Xu
2021-03-22 15:42 ` [PATCH 0/3] target/arm: Add nested virtualization support Andrea Bolognani
2021-03-22 16:32   ` Andrew Jones
2021-03-23  7:00     ` Haibo Xu

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