On Fri, Sep 18, 2015 at 10:58:43PM +0800, Yuanhan Liu wrote: [...] > diff --git a/net/vhost-user.c b/net/vhost-user.c > index 93dcecd..4fa3d64 100644 > --- a/net/vhost-user.c > +++ b/net/vhost-user.c [...] > + if (i == 0) { > + max_queues = vhost_net_get_max_queues(s->vhost_net);
This breaks arm-softmmu (and any target that doesn't have CONFIG_VHOST_NET): $ make subdir-arm-softmmu CC arm-softmmu/hw/net/vhost_net.o LINK arm-softmmu/qemu-system-arm ../net/vhost-user.o: In function `vhost_user_start': /home/ehabkost/rh/proj/virt/qemu/net/vhost-user.c:88: undefined reference to `vhost_net_get_max_queues' collect2: error: ld returned 1 exit status Makefile:193: recipe for target 'qemu-system-arm' failed make[1]: *** [qemu-system-arm] Error 1 Makefile:184: recipe for target 'subdir-arm-softmmu' failed make: *** [subdir-arm-softmmu] Error 2 -- Eduardo