vhost: claim support of guest announce
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Fri, 29 Jan 2016 04:58:00 +0000 (12:58 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 19 Feb 2016 14:47:20 +0000 (15:47 +0100)
commitd293dac8f30e46f0cb66fbcce2977d73d56fe103
tree1657b37138fefde3bc501b71fd5ed20544876741
parent699e3577e6d81980abc22cb7665f4dc71e14fbd1
vhost: claim support of guest announce

It's actually a feature already enabled in Linux kernel (since v3.5).
What we need to do is simply to claim that we support such feature,
and nothing else.

With that, the guest will send an ARP message after live migration
to notify the switches about the new location of migrated VM.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Tested-by: Pavel Fedin <p.fedin@samsung.com>
lib/librte_vhost/virtio-net.c