Re: [PATCH RFC 09/21] ramblock: Add RAM_READONLY

2023-01-29 Thread Juan Quintela
Peter Xu 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 th

Re: [PATCH RFC 09/21] ramblock: Add RAM_READONLY

2023-01-23 Thread Dr. David Alan Gilbert
* 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. > >

[PATCH RFC 09/21] ramblock: Add RAM_READONLY

2023-01-17 Thread Peter Xu
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