diff options
author | Victor Kaplansky | 2015-11-24 11:55:56 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-11-25 12:42:38 +0100 |
commit | 85ea9da5b8d8c0b2ab77b493d5ce62599279bf33 (patch) | |
tree | e4d8cb20e6ad5975dad65da0765fc297084435ab /tests | |
parent | vhost-user: clarify start and enable (diff) | |
download | qemu-85ea9da5b8d8c0b2ab77b493d5ce62599279bf33.tar.gz qemu-85ea9da5b8d8c0b2ab77b493d5ce62599279bf33.tar.xz qemu-85ea9da5b8d8c0b2ab77b493d5ce62599279bf33.zip |
tests/vhost-user-bridge: propose GUEST_ANNOUNCE feature
The backend has to know whether VIRTIO_NET_F_GUEST_ANNOUNCE was
negotiated, so, as a hack we propose the feature by
vhost-user-bridge during the feature negotiation.
Signed-off-by: Victor Kaplansky <victork@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/vhost-user-bridge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/vhost-user-bridge.c b/tests/vhost-user-bridge.c index 7bdfc98615..784f15f37a 100644 --- a/tests/vhost-user-bridge.c +++ b/tests/vhost-user-bridge.c @@ -747,6 +747,7 @@ vubr_get_features_exec(VubrDev *dev, VhostUserMsg *vmsg) vmsg->payload.u64 = ((1ULL << VIRTIO_NET_F_MRG_RXBUF) | (1ULL << VHOST_F_LOG_ALL) | + (1ULL << VIRTIO_NET_F_GUEST_ANNOUNCE) | (1ULL << VHOST_USER_F_PROTOCOL_FEATURES)); vmsg->size = sizeof(vmsg->payload.u64); |