diff options
author | Paolo Bonzini | 2018-05-15 16:35:16 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-06-01 14:15:10 +0200 |
commit | 257a7430e7a6bc5a9e4c17d884f4a092529501c7 (patch) | |
tree | b42c32ab3f7c7767c0bfe6af8d150a7ec767d3d3 /docs | |
parent | memory.h: Fix typo in documentation comment (diff) | |
download | qemu-257a7430e7a6bc5a9e4c17d884f4a092529501c7.tar.gz qemu-257a7430e7a6bc5a9e4c17d884f4a092529501c7.tar.xz qemu-257a7430e7a6bc5a9e4c17d884f4a092529501c7.zip |
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>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/devel/memory.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/devel/memory.txt b/docs/devel/memory.txt index 8ed810f8b9..c1dee1252c 100644 --- a/docs/devel/memory.txt +++ b/docs/devel/memory.txt @@ -77,9 +77,8 @@ MemoryRegion): - reservation region: a reservation region is primarily for debugging. It claims I/O space that is not supposed to be handled by QEMU itself. The typical use is to track parts of the address space which will be - handled by the host kernel when KVM is enabled. - You initialize these with memory_region_init_reservation(), or by - passing a NULL callback parameter to memory_region_init_io(). + handled by the host kernel when KVM is enabled. You initialize these + by passing a NULL callback parameter to memory_region_init_io(). It is valid to add subregions to a region which is not a pure container (that is, to an MMIO, RAM or ROM region). This means that the region |