qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] arm_gic: Initialize VGIC on machine init done


From: Eric Auger
Subject: [Qemu-devel] [PATCH 0/2] arm_gic: Initialize VGIC on machine init done
Date: Tue, 2 Dec 2014 18:28:12 +0000

With current implementation the vgic is initialized very late,
when the VM is started, on the first VCPU run execution. This
series kicks the initialization off on machine init done instead.

Among other things, this earlier VGIC initialization allows to
have a simpler handling of VFIO. VFIO platform signaling can be
setup on reset handler, making sure the VGIC is ready, at that time,
to accept injected virtual IRQs.

Depends on the following kernel patch:
- [PATCH] KVM: arm/arm64: vgic: add init entry to VGIC KVM device

Tested on Calxeda Miday with VFIO platform use case

Eric Auger (2):
  linux-headers: Update KVM headers from linux-next tag ToBeFilled
  hw/intc/arm_gic: Initialize the vgic on machine init done

 hw/intc/arm_gic_kvm.c            | 21 +++++++++++++++++++++
 include/hw/intc/arm_gic_common.h |  1 +
 linux-headers/asm-arm/kvm.h      |  2 ++
 linux-headers/asm-arm64/kvm.h    |  2 ++
 4 files changed, 26 insertions(+)

-- 
1.8.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]