Skip to content
/ mt Public

VM autoconf bash script for Linux kernel modules testing

License

Notifications You must be signed in to change notification settings

shgpavel/mt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

module-test

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
...

how to use

  • main.sh is a template,
  • install.sh is a cli configurator that sets it up
  1. run the installer: sh install.sh
  2. open your new virtual system using virt-manager
  3. install the OS (e.g., with archinstall)
  4. in the installed system, install qemu-guest-agent and openssh (e.g., pacman -S qemu-guest-agent openssh)
  5. 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

About

VM autoconf bash script for Linux kernel modules testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages