mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
When restoring from snapshot with shared=false, write access to the backing file is not required. Opening it read-only allows restore to succeed on read-only media and overlay lower layers while preserving MAP_PRIVATE semantics. Signed-off-by: Rowen-Ye <rowenye1@gmail.com>