forked from autotest/tp-libvirt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request autotest#5590 from smitterl/virtiofs_unpr
filesystem_device: test usage for unprivileged users
- Loading branch information
Showing
4 changed files
with
445 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
libvirt/tests/cfg/virtual_device/filesystem_device_unprivileged.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
- virtual_devices.filesystem_device_unprivileged: | ||
type = filesystem_device_unprivileged | ||
# 10.0.0-6 | ||
func_supported_since_libvirt_ver = (10, 0, 0) | ||
take_regular_screendumps = "no" | ||
start_vm = no | ||
vcpus_per_cell = 2 | ||
extra_hugepages = 128 | ||
test_user = test | ||
test_passwd = test | ||
pseries: | ||
vcpus_per_cell = 5 | ||
aarch64: | ||
extra_hugepages = 0 | ||
s390-virtio: | ||
with_numa = no | ||
variants plugmode: | ||
- hotplug: | ||
- coldplug: | ||
variants: | ||
- one_guest: | ||
unpr_vms = unpr-vm | ||
- two_guests: | ||
unpr_vms = unpr-vm,unpr-vm2 | ||
variants memorybacking: | ||
- with_hugepages: | ||
s390-virtio: | ||
kvm_module_parameters = hpage=1 | ||
- with_memfd: | ||
- with_shm: | ||
variants: | ||
- one_fs: | ||
fs_dicts = [{'accessmode': 'passthrough', 'source': {'dir': '/tmp/dir1'}, "target": {'dir': 'mount_tag1'}, 'binary': {'path':'/usr/libexec/virtiofsd', 'lock_posix':'off','flock':'off', 'sandbox_mode':'namespace', 'xattr':'on', 'cache_mode':'none'}, 'driver': {'type': 'virtiofs', 'queue':'1024'}}] | ||
- two_fs: | ||
fs_dicts = [{'accessmode': 'passthrough', 'source': {'dir': '/tmp/dir1'}, "target": {'dir': 'mount_tag1'}, 'binary': {'lock_posix':'off','flock':'off', 'sandbox_mode':'namespace'}, 'driver': {'type': 'virtiofs'}}, {'accessmode': 'passthrough', 'source': {'dir': '/tmp/dir2'}, "target": {'dir': 'mount_tag2'}, 'binary': {'lock_posix':'off','flock':'off', 'sandbox_mode':'namespace', 'xattr':'on', 'cache_mode':'none'}, 'driver': {'type': 'virtiofs'}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.