qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] DPDK application using vhost-user segfaults when guest is r


From: Shesha Sreenivasamurthy
Subject: [Qemu-devel] DPDK application using vhost-user segfaults when guest is rebooted/shutdown
Date: Thu, 14 Jan 2016 17:05:23 -0800

If a guest has vhost-user enabled, then on reboot vhost_virtqueue_stop is invoked. This unmaps vring memory. However, it will not give any indication to the underlying DPDK application about it. Therefore, a pollmode DPDK driver tries to read the ring to check for packets and segfaults.

We do have VHOST_USER_RESET_OWNER API an can be called by vhost_virtqueue_stop so that DPDK application can note that mappings are gone. Is that the right way ?

Qemu Version: qemu-2.5.0
DPDK Version: 2.2

Thanks,
Shesha.

reply via email to

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