[PATCH 0/2] qemu: ARM KVM: clean up interrupt handling

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

 



These two patches clean up some of the interrupt handling code
in the ARM KVM support QEMU patches. Notably, they remove the
kvm_arch_interrupt() function in favour of just having the
arm_pic device do the kvm_set_irq() call.

I've posted these for review, but they depend on a series of
generic cleanup patches which I've sent to qemu-devel over
the last week or two. For actual testing purposes,
 git://git.linaro.org/people/pmaydell/qemu-arm.git q-l-pic-cleanup
is a branch containing:
 * qemu-linaro 
 * the prerequisite cleanup patches
 * these two patches.

Pointy-clicky web version:
 http://git.linaro.org/gitweb?p=people/pmaydell/qemu-arm.git;a=shortlog;h=refs/heads/q-l-pic-cleanup

Possibly the arm_pic.c code could be simplified away if we were
to make the non-vgic kernel code take a per-vcpu version of
KVM_IRQ_LINE; see other email.

NB: my aim with some of this cleanup is to get the patches I
currently have to a state where I can post them to qemu-devel
as an RFC for initial review.

Peter Maydell (2):
  hw/arm_pic: Move non-vgic interrupt handling out of target-arm/kvm.c
  hw/kvm/arm_gic.c: Use kvm_set_irq where possible

 hw/arm_pic.c     |   28 ++++++++++++++++++++++++++--
 hw/kvm/arm_gic.c |    7 +++----
 kvm.h            |    2 --
 target-arm/kvm.c |   39 ++++-----------------------------------
 4 files changed, 33 insertions(+), 43 deletions(-)

-- 
1.7.9.5

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux