Can someone pls help me troubleshoot why qvm-run --pass-io doesn't work with win7-template

30 views
Skip to first unread message

xyzo

unread,
Jun 12, 2020, 6:57:35 PM6/12/20
to qubes-users
qubes version 4.0.
I need to copy files from win7-template to a Linux appvm. I was suggested to use (qvm-run --pass-io win7-template "type C:\n.pdf" > ./n.pdf)
To copy files from win7-template to dom0 then move it from dom0 to any destination appvm. Invoking this command in dom0 terminal, the curosr just hangs and nothing happens and I exit by ^C in terminal. Running it with --verbose parameter shows "Running win7-template C:\n.pdf" and it hangs. It's like it's not seeing that win7-template is already running.

I discovered that the command only works when win7-template is powered off. Then invoking above command will power on win7-template and successfully execute.

PS: I can copy files from any Linux appvm to the win7-template QubesIncoming folder by right-clicking the file I want to copy to win7-template and selecting "copy to another Vm" this works fine to copy any file from Linux appvm over to win7-template. But not the other way around.

So I'm not sure why the qvm-run --pass-io hangs when win7-template is already running. Any help is appreciated. Thanks

unman

unread,
Jun 12, 2020, 7:38:42 PM6/12/20
to qubes-users
Why are you doing this?
In Windows, right click on the file, Select "Send to", and there are the
options to copy or move to another qube.

As to your "problem", on my windows templates with QWT installed, I do
not see the behaviour you report. Simply, it does not hang, but it does
not provide the output that you want.

xyzo

unread,
Jun 13, 2020, 1:53:05 AM6/13/20
to qubes-users

Man thank you so much.. I was totally not aware of the send-to option. Somehow I missed that info in the windows doc. The Send-to option worked perfectly.. for a long time I thought there was no way we can copy files through the windows gui. But now I know thanks.

Out of curiosity what was the command you entered in dom0 and what was its output?

It would be nice to learn if there's a way we could copy files from windows via terminal without having to interact directly with Windows gui.

Reply all
Reply to author
Forward
0 new messages