qemu-server/PVE/QemuServer
Dominik Csapak 12e1d472e3 drives: expose 'readonly' flag of qemu for scsi/virtio
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.csapak@proxmox.com>
2021-10-27 13:53:11 +02:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
Cloudinit.pm cloudinit: opennebula: refactor to reduce code bloat 2021-10-15 19:58:16 +02:00
CPUConfig.pm anchor CPU flag regex to avoid arbitrary flag suffixes 2021-01-26 19:27:05 +01:00
Drive.pm drives: expose 'readonly' flag of qemu for scsi/virtio 2021-10-27 13:53:11 +02:00
Helpers.pm Revert "config_aware_timeout: add 5s if TPM is configured" 2021-10-18 09:47:42 +02:00
ImportDisk.pm qm importdisk: tell user to what VM disk we actually imported 2019-10-29 19:11:21 +01:00
Machine.pm cfg2cmd: fix +pveN machine types with pxe 2021-04-18 17:58:56 +02:00
Makefile add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
Memory.pm fix #3581: pass size via argument for memory-backend-ram qmp call 2021-08-18 10:41:04 +02:00
Monitor.pm mon_cmd: add explicit return 2019-11-30 17:24:55 +01:00
OVF.pm Fix #3371: parse ovf: Allow dots in VM name 2021-07-29 17:17:39 +02:00
PCI.pm pci: prepare: improve no-IOMMU error message 2021-10-15 19:58:16 +02:00
USB.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00