<div dir="auto">By downgrading DPDK to 16.11, the problem was solved. </div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 9, 2017 10:56 PM, "jason" <<a href="mailto:huzhijiang@gmail.com">huzhijiang@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I encountered a tricky problem. I am using ovs+DPDK on the host side<br>
to build the virtual network, so on the VM side , the virtio_net.ko<br>
module is used to drive the nic. But VM always freezes while insmod<br>
virtio_net.ko (I found  virtio_net.ko is located in initrams.img by<br>
defualt, so I had to delete all virtio modules from initramfs.img and<br>
insmod then one by one after system is loaded to confirm that).<br>
<br>
After such freeze, virsh reset can not recover it due to cannot<br>
acquire state change lock (held by remoteDispatchDomainReset) so I<br>
have to use virsh destroy instead.<br>
<br>
On the ovs-vswitchd side, the last log I can see is:<br>
<br>
<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_NUM<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_BASE<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_ADDR<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_KICK<br>
VHOST_CONFIG: vring kick idx:0 file:59<br>
VHOST_CONFIG: virtio is not ready for processing.<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_CALL<br>
VHOST_CONFIG: vring call idx:0 file:60<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_NUM<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_BASE<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_ADDR<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_KICK<br>
VHOST_CONFIG: vring kick idx:1 file:46<br>
VHOST_CONFIG: virtio is not ready for processing.<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_CALL<br>
VHOST_CONFIG: vring call idx:1 file:61<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_ENABLE<br>
VHOST_CONFIG: set queue enable: 1 to qp idx: 0<br>
VHOST_CONFIG: read message VHOST_USER_SET_VRING_ENABLE<br>
VHOST_CONFIG: set queue enable: 1 to qp idx: 1<br>
VHOST_CONFIG: read message VHOST_USER_SET_FEATURES<br>
<br>
Software version I used are:<br>
<br>
guest kernel: 3.10.0-514.26.2.el7.x86_64<br>
host kernel: 3.10.0-514.26.2.el7.x86_64<br>
host libvirt: 2.0.0-10.el7_3.9.x86_64<br>
host qemu: 2.6.0-28.el7.10.1<br>
host openvswitch: git 2.7.0<br>
host DPDK: git  17.02.0<br>
<br>
Please help to have a look at this issue.<br>
<br>
--<br>
B.R.,<br>
Jason<br>
</blockquote></div></div>