I have a script that calls other scripts.
The script could be in a qube, or it could be in dom0.
If the script is in dom0, it needs to execute commands using qvm-run.
Is there anyway to know inside the script if the script is running in dom0 or in a qube?