Whonix Host Live - enable KVM readonly mode - virt-xml vm-name --edit --disk readonly=on

Information

ID: 914
PHID: PHID-TASK-zyooer26fhdajrbqbi7f
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

@HulaHoop

Dug around on how to modify XML settings on the fly via cli. Other options were too messy or required manual editing which are useless for scripting.

sudo virt-xml Whonix-Workstation --edit --disk readonly=on

readonly takes values on/off

I am not sure whonix-libvirt is the ideal place for detection of live mode and the adjustment of image write options. Perhaps the grub-live package is a better place.

However wouldn’t doing this break VM usage since ro-mode-init is not our first choice for using it?

Comments


Patrick

2019-08-19 13:45:09 UTC


Patrick

2019-08-21 06:38:04 UTC


Patrick

2019-08-21 07:13:19 UTC


onion_knight2

2020-03-15 12:51:44 UTC


Patrick

2020-03-15 13:37:56 UTC


onion_knight2

2020-03-15 14:09:31 UTC


onion_knight2

2020-03-15 15:49:31 UTC


onion_knight2

2020-03-15 16:22:17 UTC


Patrick

2020-03-15 20:13:09 UTC


onion_knight2

2020-03-15 20:45:31 UTC


onion_knight2

2020-03-15 23:21:01 UTC


Patrick

2020-03-16 07:22:52 UTC


onion_knight2

2020-03-16 15:47:25 UTC


Patrick

2020-03-17 12:19:17 UTC


onion_knight2

2020-03-17 13:25:41 UTC


onion_knight2

2020-03-26 21:25:07 UTC


Patrick

2020-03-30 15:27:28 UTC


onion_knight2

2020-04-21 01:15:26 UTC


Patrick

2020-04-21 16:28:34 UTC


onion_knight2

2020-04-21 18:37:16 UTC


Patrick

2020-04-23 11:01:22 UTC


onion_knight2

2020-04-23 14:18:54 UTC


onion_knight2

2020-05-14 14:47:23 UTC


Patrick

2020-05-14 19:11:38 UTC


onion_knight2

2020-05-14 22:06:30 UTC


Patrick

2020-05-14 23:05:54 UTC


onion_knight2

2020-05-14 23:11:57 UTC


onion_knight2

2020-05-15 09:52:03 UTC


Patrick

2020-05-16 15:05:56 UTC


onion_knight2

2020-05-17 18:54:37 UTC


Patrick

2020-05-17 19:21:41 UTC