Skip to content

openvmm: FUSE file-system setup has no cleanup callback after a refused INIT #1900

Description

Area

area: openvmm (FUSE file-system lifecycle)

What is this bug about?

#1870 documents that when a file system's init callback succeeds but the session subsequently refuses the result, the session does not call its destroy callback. This is separate from publishing session state when sending a reply fails. The built-in NVX VirtioFs implementation is not known to request unoffered flags; this concerns the generic Fuse interface.

Why is this bug relevant?

An implementation that acquires resources during init lacks a clear cleanup point before another attempt. Define the callback contract for a refused negotiation and pair successful setup with a single cleanup, without double-destroying a normal session.

How is this bug reproducible?

Code-review finding; no NVX guest failure claimed. Use a test file system that records callback order and a negotiation that the session refuses after invoking init. Check cleanup before retry or teardown, as well as normal successful teardown. Source: #1630 and the limitations in #1870.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: openvmmneeds triage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions