The idea is to just run mt from your module's src directory, so it will automatically upload the contents to vm-s /root and open (as a pop-up) an ssh session
For example shgpavel/yadro_dmp may be tested as
-------- on host
mt
-------- on vm
make
insmod & etc
...
main.shis a template,install.shis a cli configurator that sets it up
- run the installer:
sh install.sh - open your new virtual system using
virt-manager - install the OS (e.g., with
archinstall) - in the installed system, install
qemu-guest-agentandopenssh(e.g.,pacman -S qemu-guest-agent openssh) - enable the services and reboot
(e.g.,
systemctl enable qemu-guest-agent sshd)
now you are able to just run mt under some module dir