Best way to transfer files in and out of a mkosi qemu VM? #3745
Answered
by
daandemeyer
gabevenberg
asked this question in
Q&A
|
Ordinarily id use SCP or, if I need to mount something, virtiofsd. However, qemu wraps ssh itself, and I'm not extremely clear as to if there is a clean way to get mkosi to setup virtiofsd. For full clarity, my usecase is that im using a cross-arch qemu emulated image to compile an application for armv7 on an x86 host, with a tool that does not itself support cross-compilation. Eventually, I want this to be part of our CI. What would be the best way to programmatically transfer the source code in to, and then the build artifacts out of, the VM? |
Answered by
daandemeyer
May 28, 2025
Replies: 1 comment 3 replies
|
See the |
3 replies
Answer selected by
gabevenberg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the
RuntimeBuildSources=andRuntimeTrees=options