Re: [PATCH v1 0/3] softmmu/physmem: file_ram_open() readonly improvements

2023-08-10 Thread Philippe Mathieu-Daudé
Hi, On 8/8/23 19:26, ThinerLogoer wrote: At 2023-08-08 03:07:31, "David Hildenbrand" wrote: Instead of handling it inside file_ram_open(), handle it in the caller and only fallback to readonly in a MAP_PRIVATE mapping. I have tested the patch on my compilation environment. These patches

Re:[PATCH v1 0/3] softmmu/physmem: file_ram_open() readonly improvements

2023-08-08 Thread ThinerLogoer
At 2023-08-08 03:07:31, "David Hildenbrand" wrote: >Patch #1 is the result of the discussion of: >"[PATCH v2] softmmu/physmem: try opening file readonly before failure > in file_ram_open" [1] > >Instead of handling it inside file_ram_open(), handle it in the caller >and only fallback to r