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
Send VHOST_USER_RESET_OWNER when the device is stopped.
Signed-off-by: Shesha Sreenivasamurthy
---
hw/virtio/vhost.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index de29968..808184f 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virtio/vhost.c
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
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
Send VHOST_USER_RESET_OWNER when the device is stopped.
Signed-off-by: Shesha Sreenivasamurthy
---
hw/virtio/vhost.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index de29968..808184f 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virtio/vhost.c
Hi,
I'm profiling memcpy and seeing strange behavior (for me at least) and
wanted to see if some one has an idea what may be happening.
My set up is as follows:
I have a Ubuntu 12.04 Linux host running 3.2.0-23 kernel. It has a four
10-core dual-hyper-threaded CPU with 128GB RAM. I have instant
Hi All,
I'm using the following command to have two nics in multicast on the
same vlan. I see a storm of ARP requests. Does any one have any
suggestions?
qemu.bin.kvm84 -hda /live_disks/clone-disk.img -snapshot -serial
telnet:SERVER:5,nowait,server -monitor
tcp:SERVER:51000,server,nowait,nodel
:23 AM
To: Cisco Employee mailto:she...@cisco.com>>
Cc: "qemu-devel@nongnu.org<mailto:qemu-devel@nongnu.org>"
mailto:qemu-devel@nongnu.org>>
Subject: Re: [PATCH] vhost-user: Slave crashes as Master unmaps vrings during
guest reboot
On Fri, Jan 15, 2016 at 12:12:43PM -
Hi All,
I'm implementing VM migration support for open-VPP, an open source Vector
Packet Processing (VPP) technology (https://wiki.fd.io/view/VPP) - A Linux
foundation project. In lieu of it, I have hit an issue and I need some
clarification.
In Qemu's vhost-user implementation, each queue is t