WSL2-Linux-Kernel/virt/kvm
Jan Kiszka 4cd481f68d KVM: Fix overlapping check for memory slots
When checking for overlapping slots on registration of a new one, kvm
currently also considers zero-length (ie. deleted) slots and rejects
requests incorrectly. This finally denies user space from joining slots.
Fix the check by skipping deleted slots and advertise this via a
KVM_CAP_JOIN_MEMORY_REGIONS_WORKS.

Cc: stable@kernel.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-04-22 13:52:09 +03:00
..
coalesced_mmio.c
coalesced_mmio.h
ioapic.c KVM: Report IRQ injection status to userspace. 2009-03-24 11:03:11 +02:00
ioapic.h KVM: Report IRQ injection status to userspace. 2009-03-24 11:03:11 +02:00
iodev.h
iommu.c KVM: Fix assigned devices circular locking dependency 2009-02-15 02:47:39 +02:00
irq_comm.c KVM: fix sparse warnings: Should it be static? 2009-03-24 11:03:14 +02:00
kvm_main.c KVM: Fix overlapping check for memory slots 2009-04-22 13:52:09 +03:00
kvm_trace.c KVM: Prevent trace call into unloaded module text 2008-12-31 16:55:04 +02:00