New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qvm-run -a --pass-io #710

Closed
marmarek opened this Issue Mar 8, 2015 · 6 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by Zrubi on 19 Feb 2013 14:42 UTC
cat /path/to/file_in_dom0 | qvm-run -a -q --pass-io <dst_domain> 'cat /path/to_file_name_in_appvm'

This command is not working if the AppVM is not running.
More specificly: no real error messages, but a 0 byte file in the testination place instead. The same commands are ok if the VM way already running.

Migrated-From: https://wiki.qubes-os.org/ticket/710

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 20 Feb 2013 19:11 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 20 Feb 2013 19:11 UTC

@marmarek marmarek added this to the Release 2 Beta 3 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 24 Feb 2013 15:23 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 24 Feb 2013 15:23 UTC

@marmarek marmarek added P: minor and removed P: major labels Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 2 Oct 2013 03:05 UTC
It works for me... Perhaps fixed by some commit in the meantime.

BTW in the ticket description you've forgot about '>' in 'cat > /path/to_file_name_in_appvm'.

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 2 Oct 2013 03:05 UTC
It works for me... Perhaps fixed by some commit in the meantime.

BTW in the ticket description you've forgot about '>' in 'cat > /path/to_file_name_in_appvm'.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 16 Nov 2013 12:00 UTC
Yes, looks like it is fixed on the pre-Beta 3 now.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 16 Nov 2013 12:00 UTC
Yes, looks like it is fixed on the pre-Beta 3 now.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 16 Nov 2013 12:01 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 16 Nov 2013 12:01 UTC

@marmarek marmarek closed this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by anderfin on 17 Nov 2014 21:48 UTC
This did not work for me in R2. You need to specify the complete path to cat on the host vm:

''cat /path/to/file_in_dom0 | qvm-run --pass-io <dst_domain> ''''/usr/bin/'''cat > /path/to/file_name_in_appvm''''

Your Wiki should be updated accordingly: [http://wiki.qubes-os.org/wiki/CopyToDomZero]

Member

marmarek commented Mar 8, 2015

Comment by anderfin on 17 Nov 2014 21:48 UTC
This did not work for me in R2. You need to specify the complete path to cat on the host vm:

''cat /path/to/file_in_dom0 | qvm-run --pass-io <dst_domain> ''''/usr/bin/'''cat > /path/to/file_name_in_appvm''''

Your Wiki should be updated accordingly: [http://wiki.qubes-os.org/wiki/CopyToDomZero]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment