How do I set the VM's in KVM to read-only?

The wiki says to do it in the gui, but I don’t see where to change it to read only. Thanks.

Edit: I tried this and it seemed to work.
sudo virt-xml Whonix-Workstation --edit --disk readonly=on

Is there any way I can confirm?

View → Details → VirtIO Disk 1 → Check: Read-only

Create a new file in your home dir then reboot (assuming you were already booted in the live mode from the boot menu) then restart the VM. You shouldn;t see it anymore.

Make sure you read the wiki page on precautions before you use it for best results.

2 Likes

Thanks! Thats a great idea. I’ll give that a try and report back.