]> git.proxmox.com Git - mirror_qemu.git/commit
memory: Correctly return alias region type
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 24 Feb 2020 09:13:00 +0000 (10:13 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Mar 2020 14:18:45 +0000 (15:18 +0100)
commit39fa93c4438e7c5efb93d859224d27d04e5c2160
tree2020e4e8a389bf9c5e84bc1e9e657b97a73254d4
parentac90871cf8030753a7bcef26fa1662c4e3c90078
memory: Correctly return alias region type

Since memory region aliases are neither rom nor ram, they are
described as i/o, which is often incorrect. Return instead the
type of the original region we are aliasing.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
memory.c