<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello Stefan, </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Here is the output from virtofsd..</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
------------------------------------</div>
<div>
<div class="elementToProof">- Journal begins at Thu 2022-05-26 04:23:42 UTC, ends at Thu 2022-05-26 04:41:57 UTC. --
<div>May 26 04:24:13 localhost systemd[1]: Started virtio-fs vhost-user device daemon.<<Placeholder: run this daemon as non-privileged user>>.</div>
<div>May 26 04:24:13 localhost virtiofsd[505]: [2022-05-26T04:24:13Z INFO  virtiofsd] Waiting for vhost-user socket connection...</div>
<div>May 26 04:27:11 device-3e4b479e2ee9c647 virtiofsd[505]: [2022-05-26T04:27:11Z INFO  virtiofsd] Client connected, servicing requests</div>
<div>May 26 04:27:33 device-3e4b479e2ee9c647 virtiofsd[505]: [2022-05-26T04:27:33Z ERROR virtiofsd]<b> Waiting for daemon failed: HandleRequest(InvalidParam)</b></div>
<div>May 26 04:27:33 device-3e4b479e2ee9c647 systemd[1]: virtiofsd.service: Deactivated successfully.</div>
May 26 04:27:33 device-3e4b479e2ee9c647 systemd[1]: virtiofsd.service: Scheduled restart job, restart counter is at 1.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0);">
<br>
<hr tabindex="-1" style="display:inline-block; width:98%;">
<b>From:</b> Stefan Hajnoczi<br>
<b>Sent:</b> Wednesday, May 25, 2022 4:02 PM<br>
<b>To:</b> Prashant Dewan<br>
<b>Cc:</b> virtio-fs@redhat.com<br>
<b>Subject:</b> Re: [Virtio-fs] vhost_set_vring_kick failed
<div><br>
</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText elementToProof">On Tue, May 24, 2022 at 02:29:12PM +0000, Pra Dew wrote:<br>
> I am trying to setup virtfs using KVM and QEMU.<br>
> <br>
> <br>
>   1.  Inside the VM, I do<br>
>      *   mount -t virtiofs myfs /dev/myfile  --succeeds<br>
>      *   cd /dev/myfile  -hangs<br>
> <br>
> <br>
>   1.  The host logs -<br>
> <br>
>  qemu-system: Failed to write msg. Wrote -1 instead of 20.<br>
<br>
Sending a vhost-user protocol message failed. It is likely that the<br>
virtiofsd process terminated and the UNIX domain socket closed on QEMU.<br>
<br>
Is there any output from virtiofsd?<br>
<br>
Stefan<br>
</div>
</span></font></div>
</div>
</body>
</html>