hwsim tests: Add scripts to run in a VM
Instead of running on the host, it can be useful to run in a VM, particularly to test kernel rather than userspace changes, so add a few scripts that allow doing so easily. The basic idea is that the VM kernel is the same architecture as the host kernel, so the host's root filesystem can be used (in read-only mode) to run everything. Only a log filesystem is mounted read-write and will get all the test output. The kernel console output is collected to a special 'console' file in the logs directory and kernel crashes are detected. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
e8e238c436
commit
970d3b096f
5 changed files with 1845 additions and 0 deletions
1706
tests/hwsim/vm/kernel-config
Normal file
1706
tests/hwsim/vm/kernel-config
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue