[Virtio-fs] vhost_set_vring_kick failed
Prashant Dewan
linux_learner at outlook.com
Tue May 24 14:29:12 UTC 2022
I am trying to setup virtfs using KVM and QEMU.
1. Inside the VM, I do
* mount -t virtiofs myfs /dev/myfile --succeeds
* cd /dev/myfile -hangs
1. The host logs -
qemu-system: Failed to write msg. Wrote -1 instead of 20.
May 24 14:01:08 device-myhost[644]: qemu-system: vhost_set_vring_kick failed: Invalid argument (22)
May 24 14:01:08 device-myhost[644]: qemu-system: Failed to set msg fds.
May 24 14:01:08 device-myhost[644]: qemu-system: vhost VQ 0 ring restore failed: -1: Invalid argument (22)
May 24 14:01:08 device-myhost[644]: qemu-system: Error starting vhost: 22
May 24 14:01:08 device-myhost[644]: qemu-system: Failed to set msg fds.
May 24 14:01:08 device-myhost[644]: qemu-system: vhost_set_vring_call failed: Resource temporarily unavailable (11)
May 24 14:01:08 device-myhost[644]: qemu-system: Failed to set msg fds.
May 24 14:01:08 device-myhost[644]: qemu-system: vhost_set_vring_call failed: Resource temporarily unavailable (11)
May 24 14:01:08 device-myhost[644]: qemu-system: Failed to read from slave.
1. Qemu parameters -
"-device",
"vhost-user-fs-device,queue-size=1024,chardev=char0,tag=myfs",
"-object",
"memory-backend-memfd,id=mem,size=4G,share=on"
Any input is appreciated...
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20220524/080dab5b/attachment.htm>
More information about the Virtio-fs
mailing list