]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: introduce memory_region_set_enabled()
authorAvi Kivity <avi@redhat.com>
Wed, 14 Sep 2011 08:54:58 +0000 (11:54 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 4 Dec 2011 17:00:33 +0000 (19:00 +0200)
commit6bba19ba4e2b8c89496569439ca38a328cf29a77
tree3c00c804e3217e72f440cf1bb154864b68ace053
parentf44336c594c7e7887ee43ece3b53ba68b827fd1d
memory: introduce memory_region_set_enabled()

This allows users to disable a memory region without removing
it from the hierarchy, simplifying the implementation of
memory routers.

Signed-off-by: Avi Kivity <avi@redhat.com>
memory.c
memory.h