You are not logged in.

#1 2023-04-27 14:34:16

djmwj1
Member
Registered: 2013-10-04
Posts: 32

[SOLVED] virtiofsd died unexpectedly - Qemu 8.0.0-1

Hi all,
I did not see anyone else with this issue, but posting here in case it helps someone else.

Updated to Qemu 8 and my virtual machines with virtiofsd mounts refused to start with the message:

Error starting domain: internal error: virtiofsd died unexpectedly

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1402, in startup
    self._backend.create()
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 1373, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: virtiofsd died unexpectedly

My virtiofs setup looked like:

    <filesystem type="mount" accessmode="passthrough">
      <driver type="virtiofs"/>
      <binary xattr="on">
        <cache mode="always"/>
        <sandbox mode="namespace"/>
        <lock posix="on" flock="on"/>
      </binary>
      <source dir="[SRCPATH]"/>
      <target dir="[TGTPATH]"/>
      <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
    </filesystem>

Removing this allowed it to boot (not sure why) :

 <binary xattr="on">
        <cache mode="always"/>
        <sandbox mode="namespace"/>
        <lock posix="on" flock="on"/>
      </binary>

Hope this helps someone else if they find themselves in a similar position!

Offline

Board footer

Powered by FluxBB