On 27/10/2021 13:35, Dominik Csapak wrote:
> this allows a user to set a drive to 'read-only'. This can be useful
> if a disk should not be written to, or if the backing file/source is
> not writable (like a mapped pbs backup to /dev/loopX).
> 
> the option is named 'ro', to achieve consistency with containers
> 
> while this could also be achieved by setting 'snapshot=1', this would
> create a temporary file in /var/tmp which can get quite big.
> 
> Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
> ---
> changes from v2:
> * renamed option to 'ro' to be in line with containers
> 
>  PVE/QemuServer.pm       |  6 ++++++
>  PVE/QemuServer/Drive.pm | 11 +++++++++++
>  2 files changed, 17 insertions(+)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to