All of lore.kernel.org
 help / color / mirror / Atom feed
From: Prashant Dewan <linux_learner@outlook.com>
To: "virtio-fs@redhat.com" <virtio-fs@redhat.com>
Subject: [Virtio-fs] vhost_set_vring_kick failed
Date: Tue, 24 May 2022 14:29:12 +0000	[thread overview]
Message-ID: <BY5PR14MB38937584E1C443A7BB3B0BCF86D79@BY5PR14MB3893.namprd14.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 3131 bytes --]

             reply	other threads:[~2022-05-24 14:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-24 14:29 Prashant Dewan [this message]
2022-05-25 16:02 ` [Virtio-fs] vhost_set_vring_kick failed Stefan Hajnoczi
2022-05-26  5:34 Prashant Dewan
2022-05-26  7:49 ` Stefan Hajnoczi
2022-05-26  8:06   ` Sergio Lopez
2022-05-30 22:11     ` Vivek Goyal
2022-05-31 22:25       ` Pra.. Dew..
2022-05-31 22:50         ` Vivek Goyal
2022-06-01  6:01         ` Sergio Lopez
2022-05-26 16:07 Pra.. Dew..
2022-05-31 10:50 ` Sergio Lopez
2022-05-31 18:33 Pra.. Dew..
2022-06-01 19:12 Pra.. Dew..

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BY5PR14MB38937584E1C443A7BB3B0BCF86D79@BY5PR14MB3893.namprd14.prod.outlook.com \
    --to=linux_learner@outlook.com \
    --cc=virtio-fs@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.