I am searching the fastest way to execute a command from Dom0 to a Qube with the following requirements:
exit code is important (I must know the command fail)
stdout / stderr is irrelevant
should still be secure
should be fast
Right now on my machine, this invocation is 180~270ms: qvm-run disp777 /bin/true
I am wondering if I can use directly qrexec-client as I know it is very much faster (this is 10~20ms): qrexec-client -tT -d deb-dvm 'user:exec /bin/true' > /dev/null 2>&1