On Wed, Jun 03, 2015 at 09:56:57AM +0200, Thibaut Collet wrote: > thanks for your point, I did not notice the problem of the lost of ARP > announce by discarding the message. > So I must rewrite my patch to define a queue to transmit the ARP announce > to the guest. Is it the proper solution?
I'm not sure if vhost-user is designed to support live migration in the first place. It's only worth adding ARP packet injection support if live migration is supported with vhost-user. You don't need to define a queue, instead implement the .receive() function for vhost-user and invoke a new virtio-net-specific vhost-user request type that injects a packet (independent of the tx virtqueue). Stefan
pgpOnj0MEICyu.pgp
Description: PGP signature