qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] vhost-user: Slave crashes as Master unmaps vrings d


From: Shesha Sreenivasamurthy
Subject: [Qemu-devel] [PATCH] vhost-user: Slave crashes as Master unmaps vrings during guest reboot
Date: Fri, 15 Jan 2016 12:12:43 -0800

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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]