virtio_fs_readonly.cfg 862 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
- virtio_fs_readonly:
    only Linux
    no RHEL.6 RHEL.7 RHEL.8.0 RHEL.8.1
    no Host_RHEL.m6 Host_RHEL.m7 Host_RHEL.m8.u0 Host_RHEL.m8.u1
    no s390x
    type = virtio_fs_readonly
    required_qemu = [4.2.0,)
    kill_vm = yes
    start_vm = yes
    filesystems = fs
    fs_driver = virtio-fs
    fs_source_type = mount
    fs_source_dir = virtio_fs_test/
    force_create_fs_source = yes
    remove_fs_source = yes
    fs_target = 'myfs'
    fs_driver_props = {"queue-size": 1024}
    fs_dest = '/mnt/${fs_target}'
    mem = 4096
    mem_devs = mem1
21
    backend_mem_mem1 = memory-backend-file
22 23 24 25 26 27 28 29 30
    mem-path_mem1 = /dev/shm
    size_mem1 = 4G
    use_mem_mem1 = no
    share_mem = yes
    guest_numa_nodes = shm0
    numa_memdev_shm0 = mem-mem1
    numa_nodeid_shm0 = 0
    cmd_create_file = 'touch ${fs_dest}/fs_file'
    check_str = 'Read-only file system'