aha/virt/kvm
Avi Kivity 105f8d40a7 KVM: Calculate available entries in coalesced mmio ring
Instead of checking whether we'll wrap around, calculate how many entries
are available, and check whether we have enough (just one) for the pending
mmio.

By itself, this doesn't change anything, but it paves the way for making
this function lockless.

Signed-off-by: Avi Kivity <avi@redhat.com>
2009-09-10 08:32:47 +03:00
..
coalesced_mmio.c KVM: Calculate available entries in coalesced mmio ring 2009-09-10 08:32:47 +03:00
coalesced_mmio.h KVM: Add coalesced MMIO support (common part) 2008-07-20 12:42:31 +03:00
eventfd.c KVM: irqfd 2009-09-10 08:32:41 +03:00
ioapic.c KVM: cleanup io_device code 2009-09-10 08:32:45 +03:00
ioapic.h KVM: APIC: get rid of deliver_bitmask 2009-06-10 11:48:27 +03:00
iodev.h KVM: cleanup io_device code 2009-09-10 08:32:45 +03:00
iommu.c KVM: Enable snooping control for supported hardware 2009-06-10 11:48:50 +03:00
irq_comm.c KVM: fix ack not being delivered when msi present 2009-08-05 14:03:43 +03:00
Kconfig KVM: irqfd 2009-09-10 08:32:41 +03:00
kvm_main.c KVM: cleanup io_device code 2009-09-10 08:32:45 +03:00
kvm_trace.c KVM: Prevent trace call into unloaded module text 2008-12-31 16:55:04 +02:00