diff options
author | Victor Kaplansky <victork@redhat.com> | 2015-11-24 12:55:56 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-11-25 13:42:38 +0200 |
commit | 85ea9da5b8d8c0b2ab77b493d5ce62599279bf33 (patch) | |
tree | e4d8cb20e6ad5975dad65da0765fc297084435ab /tests/vhost-user-bridge.c | |
parent | c61f09ed855b5009f816242ce281fd01586d4646 (diff) | |
download | qemu-85ea9da5b8d8c0b2ab77b493d5ce62599279bf33.zip qemu-85ea9da5b8d8c0b2ab77b493d5ce62599279bf33.tar.gz qemu-85ea9da5b8d8c0b2ab77b493d5ce62599279bf33.tar.bz2 |
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/vhost-user-bridge.c')
-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 7bdfc98..784f15f 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); |