From 2fb94bd3e6999322e959d032272850fa8d43011e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 5 Jul 2017 14:26:11 +0200 Subject: [PATCH] qvm-copy-to-vm: use --service option qvm-run got --service option, so use it. Old method doesn't work anymore, because qubes.VMShell service is used, instead of qrexec command directly. --- file-copy-vm/qvm-copy-to-vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file-copy-vm/qvm-copy-to-vm b/file-copy-vm/qvm-copy-to-vm index e464e70..a528881 100644 --- a/file-copy-vm/qvm-copy-to-vm +++ b/file-copy-vm/qvm-copy-to-vm @@ -36,7 +36,7 @@ mkfifo -- "$RESPONSE" # can't use $@ with --localcmd, and $* would fail on whitespace /usr/lib/qubes/qfile-dom0-agent "$@" <"$RESPONSE" | -qvm-run --pass-io "$VM" "QUBESRPC qubes.Filecopy dom0" >"$RESPONSE" +qvm-run --pass-io --service "$VM" "qubes.Filecopy" >"$RESPONSE" if [ "${0##*/}" = "qvm-move-to-vm" ]; then rm -rf -- "$@"