Peter Xu <pet...@redhat.com> wrote: > This allows us to have RAM_READONLY to be set in ram_flags to show that > this ramblock can only be read not write. > > We used to pass in readonly boolean along the way for allocating the > ramblock, now let it be together with the rest ramblock flags. > > The main purpose of this patch is not for clean up though, it's for caching > mapping information of each ramblock so when we want to mmap() it again for > whatever reason we can have all the information on hand. > > Signed-off-by: Peter Xu <pet...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>