Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7108

virtiofsd started by libvirtd uses the deprecated option format

    • libvirt-10.5.0-2.el9
    • None
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 24
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • 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:

      1. 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:

              jtomko@redhat.com Jano Tomko
              rhn-support-yafu Yan Fu
              Jano Tomko Jano Tomko
              Lili Zhu Lili Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: