-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.6, rhel-10.0
-
No
-
Low
-
rhel-sst-virtualization
-
ssg_virtualization
-
5
-
Dev ack
-
False
-
-
None
-
None
-
None
-
None
-
-
11.0.0
-
None
Description
Should allow read only mode for virtiofs from libvirt side. Read only mode for virtiofs has just been supported by virtiofsd: https://issues.redhat.com/browse/RHEL-9930
How reproducible:
100%
Versions:
libvirt-10.10.0-2.el9.x86_64
virtiofsd-1.13.0-1.el9.x86_64
1. Prepare a guest with following xml
# cat lizhu.xml ... <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'> <cache mode='always'/> <sandbox mode='namespace'/> <thread_pool size='16'/> </binary> <source dir='/path'/> <target dir='mount_tag'/> <readonly/> </filesystem> ...
2. Define the guest
# virsh define lizhu.xml error: Failed to define domain from lizhu.xml error: unsupported configuration: virtiofs does not yet support read-only mode
Expected result:
virtiofsd had supported read only mode. We should support either.
- is blocked by
-
RHEL-71662 Rebase libvirt in RHEL-10.1
- Planning
- links to