diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-18 14:20:23 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-28 11:42:58 +0300 |
commit | f36f3f2846b5578d62910ee0b6dbef59fdd1cfa4 (patch) | |
tree | cb8e161adbf3d4f32e871e73d445d8e23856cc4b /Documentation/debugging-modules.txt | |
parent | 15f46015ee17681b542432df21747f5c51857156 (diff) | |
download | linux-f36f3f2846b5578d62910ee0b6dbef59fdd1cfa4.tar.xz |
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>
Diffstat (limited to 'Documentation/debugging-modules.txt')
0 files changed, 0 insertions, 0 deletions