Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filesystem_device: test usage for unprivileged users
Add new test cases checking that non-root users can mount and use a host directory. Variants: 2 vms, 1 filesystem 1 vm, 1 filesystem 1 vm, 2 filesystems Notes: 1. use wait_for_serial login because the unprivileged user's VMs are created with interface type 'user' per default, so there's no vnet nic and therefore wait_for_login can't get the address 2. Due to 1. it's better to use the 'safe' command functions to avoid timeouts because there might be kernel messages breaking the output scan. 3. For hugepages, the unprivileged user needs access to a hugetlbfs and update their local libvirt configuration. After updating the configuration, the process needs to be killed to force the daemon to be loaded with the new configuration. This is expected. 4. Make sure to close and reopen sessions for the virsh instance of the unprivileged user to avoid running into issues when setting up hugepages. 5. virsh_sysinfo: update reference after change in avocado-vt that this test implementation depends on. Signed-off-by: Sebastian Mitterle <[email protected]>
- Loading branch information