[Virtio-fs] [virtiofsd] Issue opened: Daemon failure (MappingPastEof error)

virtiofs-bot at sinrega.org virtiofs-bot at sinrega.org
Fri Apr 22 08:12:46 UTC 2022


Seeing `Waiting for daemon failed: HandleRequest(ReqHandlerError(Custom { kind: Other, error: MappingPastEof }))` in my `/var/log/libvirt/qemu/windose-fs0-virtiofsd.log` file.

Here's the relevant libvirt XML for my filesystem device and memory backing:
```xml
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  ...
  <memoryBacking>
    <source type='memfd'/>
    <access mode='shared'/>
  </memoryBacking>
  ...
  <devices>
    ...
    <filesystem type="mount" accessmode="passthrough">
      <driver type="virtiofs"/>
      <binary path="/run/current-system/sw/bin/virtiofsd" xattr="on">
        <cache mode="always"/>
      </binary>
      <source dir="/test"/>
      <target dir="test-1"/>
      <alias name="fs0"/>
      <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
    </filesystem>
    ...
  </devices>
</domain>
```

### Host Software Info:

- **OS**: NixOS Unstable (kernel `5.17.1`)
- **QEMU**: `6.2.0`
- **virtiofsd backend**: `1.1.0`

### Guest Software Info:

- **OS**: Microsoft Windows 10 Pro for Workstations `10.0.19044 Build 19044`
- **VirtIO Windows Driver Installer**: `0.1.217`
- **WinFsp**: 2022 `1.10.22006`
---
https://gitlab.com/virtio-fs/virtiofsd/-/issues/46



More information about the Virtio-fs mailing list