From: Shesha Sreenivasamurthy <shesha@cisco.com>
To: qemu-devel@nongnu.org
Cc: shesha@cisco.com, mst@redhat.com
Subject: [Qemu-devel] [PATCH] vhost-user: Slave crashes as Master unmaps vrings during guest reboot
Date: Fri, 15 Jan 2016 12:12:43 -0800 [thread overview]
Message-ID: <1452888764-60880-1-git-send-email-shesha@cisco.com> (raw)
Problem:
--------
If a guest has vhost-user enabled, then on reboot vhost_virtqueue_stop
is invoked. This unmaps vring memory mappings. However, it will not give
any indication to the underlying DPDK slave application about it.
Therefore, a pollmode DPDK driver tries to read the ring to check for
packets and segfaults.
Solution:
----------
VHOST_USER_RESET_OWNER API is issued by QEMU so that DPDK slave
application is informed that mappings will be soon gone so that
it can take necessary steps.
Shesha Sreenivasamurthy (1):
vhost-user: Slave crashes as Master unmaps vrings during guest reboot
hw/virtio/vhost.c | 5 +++++
1 file changed, 5 insertions(+)
--
1.9.5 (Apple Git-50.3)
next reply other threads:[~2016-01-15 20:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 20:12 Shesha Sreenivasamurthy [this message]
2016-01-15 20:12 ` [Qemu-devel] [PATCH] vhost-user: Slave crashes as Master unmaps vrings during guest reboot Shesha Sreenivasamurthy
2016-01-17 11:30 ` Michael S. Tsirkin
2016-01-17 11:23 ` Michael S. Tsirkin
2016-01-18 21:40 ` shesha Sreenivasamurthy (shesha)
-- strict thread matches above, loose matches on Subject: below --
2016-01-15 20:23 Shesha Sreenivasamurthy
2016-01-15 20:23 ` Shesha Sreenivasamurthy
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=1452888764-60880-1-git-send-email-shesha@cisco.com \
--to=shesha@cisco.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).