memory: get rid of memory_region_init_reservation
commit257a7430e7a6bc5a9e4c17d884f4a092529501c7
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 May 2018 14:35:16 +0000 (15 16:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 12:15:10 +0000 (1 14:15 +0200)
treeb42c32ab3f7c7767c0bfe6af8d150a7ec767d3d3
parent0330002cb5176fcbc376478ac36f5f512ed53b9f
memory: get rid of memory_region_init_reservation

The function has been deprecated for 2.5 years, and there are just a handful
of users.  Convert them to memory_region_init_io with NULL callbacks,
and while at it pass the right device as the owner.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/devel/memory.txt
hw/i386/kvm/i8254.c
hw/i386/kvm/i8259.c
hw/i386/kvm/ioapic.c
include/exec/memory.h