-
Bug
-
Resolution: Done-Errata
-
Minor
-
rhel-9.2.0
-
libvirt-10.5.0-2.el9
-
None
-
Low
-
rhel-sst-virtualization
-
ssg_virtualization
-
24
-
3
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
RegressionOnly
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
virtiofsd started by libvirtd uses the deprecated option foramt
Version-Release number of selected component (if applicable):
libvirt-9.0.0-6.el9.x86_64
virtiofsd-1.5.0-1.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Start a guest with virtiofs device:
#virsh start test2
#virsh dumpxml test2 --xpath //filesystem
<filesystem type="mount" accessmode="passthrough">
<driver type="virtiofs" queue="512"/>
<binary path="/usr/libexec/virtiofsd" xattr="on">
<cache mode="none"/>
<lock posix="off" flock="off"/>
</binary>
<source dir="/var/tmp/mount_tag0"/>
<target dir="mount_tag3"/>
<alias name="ua-8d50d10c-719d-11ed-91f4-3a40aa736603"/>
<address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
</filesystem>
3.Check the virtiofsd.log in /var/log/libvirt/qemu:
- vim /var/log/libvirt/qemu/test2-ua-8d50d10c-719d-11ed-91f4-3a40aa736603-virtiofsd.log
[2023-02-20T02:22:45Z WARN virtiofsd] Use of deprecated option format 'o': Please specify options without it (e.g., '-cache auto' instead of '-o cache=auto')
[2023-02-20T02:22:45Z INFO virtiofsd] Waiting for vhost-user socket connection...
4.Check the virtiofsd usage:
#/usr/libexec/virtiofsd --help
..
OPTIONS:
--cache <cache>
The caching policy the file system should use (auto, always, never) [default: auto]
-o <compat-options>...
Options in a format compatible with the legacy implementation
**[deprecated]**
Actual results:
virtiofsd started by libvirtd uses the deprecated option foramt
Expected results:
Modify the virtiofsd's option foramt with the suggestion mode in libvirt.
Additional info:
- is blocked by
-
RHEL-7415 virtiofsd quietly deprecates options
- Closed
- external trackers
- links to
-
RHSA-2024:130953 libvirt bug fix and enhancement update