linux-kernel-test/virt/kvm
Paolo Bonzini f36f3f2846 KVM: add "new" argument to kvm_arch_commit_memory_region
This lets the function access the new memory slot without going through
kvm_memslots and id_to_memslot.  It will simplify the code when more
than one address space will be supported.

Unfortunately, the "const"ness of the new argument must be casted
away in two places.  Fixing KVM to accept const struct kvm_memory_slot
pointers would require modifications in pretty much all architectures,
and is left for later.

Reviewed-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-05-28 10:42:58 +02:00
..
arm KVM: arm/arm64: check IRQ number on userland injection 2015-04-22 15:42:24 +01:00
async_pf.c mm: gup: kvm use get_user_pages_unlocked 2015-02-11 17:06:05 -08:00
async_pf.h
coalesced_mmio.c KVM: move iodev.h from virt/kvm/ to include/kvm 2015-03-26 21:43:12 +00:00
coalesced_mmio.h KVM: Make coalesced mmio use a device per zone 2011-09-25 19:17:57 +03:00
eventfd.c KVM: move iodev.h from virt/kvm/ to include/kvm 2015-03-26 21:43:12 +00:00
irqchip.c KVM: fix checkpatch.pl errors in kvm/irqchip.c 2015-03-10 10:37:42 -03:00
Kconfig KVM: Disable compat ioctl for s390 2015-02-09 12:44:14 +01:00
kvm_main.c KVM: add "new" argument to kvm_arch_commit_memory_region 2015-05-28 10:42:58 +02:00
vfio.c kvm: vfio: fix unregister kvm_device_ops of vfio 2014-10-24 13:30:47 +02:00
vfio.h kvm: vfio: fix unregister kvm_device_ops of vfio 2014-10-24 13:30:47 +02:00