Thanks for details, Marek !

> If you want to call it automatically at VM startup, you can create qrexec 
> service for that
Cool, this was my first idea, but I was unable to implement it.
Q1: If taking this way I'll need to have opposite (umount & detach) operation 
at VM shutdown (to avoid refreshing block devices). 
Where should I attach (in appVm) the opposite shutdown script (injected by 
rc.local)?

Q2: If taking the opposite way (dom0-initiated process), how/where should 
attach/mount script be called from? 
- systemd service that depends on some (which) qubes service?
- /etc/init.d/rc.local (not sure if necessary qubes stuff will be already 
available)
- something else

thanks,
  Tomhet

P.S. An alternative could be event listeners for qubes events 
'onVmStartComplete'/'beforeVmShutdown', if such exist & I knew python.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/df6e39ff-982e-4daa-8b09-8424025e54d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to