[RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses

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

 



*** warning: this RFC patch series is only compile-tested ***

We need a way to specify the address at which we expect VMs to access
the interrupt controller (both the emulated distributor and the hardware
interface supporting virtualization).  User space should decide on this
address as user space decides on an emulated board and loads a device
tree describing these details directly to the guest.

Instead of modifying the copying KVM_CREATE_IRQCHIP to an ARM specific
ioctl with a a highly device specific set of parameters, we try
something slightly more generic, that should fit well with how user
space (read QEMU) first builds the individual devices and later sets up
the emulated platform.

Comments welcome!

Christoffer Dall (3):
  KVM: ARM: Introduce KVM_INIT_IRQCHIP ioctl
  KVM: ARM: Introduce KVM_SET_DEVICE_ADDRESS ioctl
  KVM: ARM: Split KVM_CREATE_IRQCHIP and KVM_INIT_IRQCHIP

 Documentation/virtual/kvm/api.txt |   46 +++++++++++++++++++++++
 arch/arm/include/asm/kvm.h        |   13 +++++++
 arch/arm/include/asm/kvm_mmu.h    |    1 +
 arch/arm/include/asm/kvm_vgic.h   |   12 ++++++
 arch/arm/kvm/arm.c                |   38 ++++++++++++++++++-
 arch/arm/kvm/vgic.c               |   74 +++++++++++++++++++++++++++++++------
 include/linux/kvm.h               |   11 ++++++
 7 files changed, 183 insertions(+), 12 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