linux/Documentation/virtual/kvm/devices
Jens Freimann 94aa033efc KVM: s390: fix get_all_floating_irqs
This fixes a bug introduced with commit c05c4186bb ("KVM: s390:
add floating irq controller").

get_all_floating_irqs() does copy_to_user() while holding
a spin lock. Let's fix this by filling a temporary buffer
first and copy it to userspace after giving up the lock.

Cc: <stable@vger.kernel.org> # 3.18+: 69a8d45626 KVM: s390: no need to hold...

Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2015-03-31 21:05:51 +02:00
..
README kvm: add device control API 2013-04-26 20:27:20 +02:00
arm-vgic.txt arm/arm64: KVM: force alignment of VGIC dist/CPU/redist addresses 2015-01-20 18:25:33 +01:00
mpic.txt kvm/ppc/mpic: remove default routes from documentation 2013-04-30 11:50:39 +02:00
s390_flic.txt KVM: s390: fix get_all_floating_irqs 2015-03-31 21:05:51 +02:00
vfio.txt kvm: Add VFIO device 2013-10-30 19:02:03 +01:00
vm.txt KVM: s390: add cpu model support 2015-02-09 12:44:13 +01:00
xics.txt KVM: PPC: Book3S: Add API for in-kernel XICS emulation 2013-05-02 15:28:36 +02:00

README

This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL.