On Wed, 29 Jun 2016 09:41:50 +0800 Jason Wang <jasow...@redhat.com> wrote: > On 2016年06月27日 17:44, Peter Lieven wrote: > > Hi, with the above patch applied: > > > > commit 9f06e71a567ba5ee8b727e65a2d5347fd331d2aa > > Author: Cornelia Huck <cornelia.h...@de.ibm.com> > > Date: Fri Jun 10 11:04:12 2016 +0200 > > > > virtio-pci: convert to ioeventfd callbacks > > > > a Ubuntu 14.04 VM freezes at startup when blk-mq is set up - even if > > there is only one queue. > > > > Peter > > > > > > In fact, I notice vhost-net does not work for master, look like we are > trying to set host notifier without initialization which seems a bug
Yes, that's the problem: We switch handlers, but the notifier has not yet been setup (that's different from the dataplane call sequence). I think we need to setup the notifier without touching the handler for that case. I'm working on a patch.