vhost_net: introduce set_config & get_config
commit38140cc4d9713dc9af78090503105bf9c82b6bff
authorCindy Lu <lulu@redhat.com>
Wed, 1 Jul 2020 14:55:36 +0000 (1 22:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Jul 2020 11:57:04 +0000 (3 07:57 -0400)
treee1fe32d1b9891a0f9febba6cd6438331f5a790a5
parent7a471694a19d692bd68872d7d256d2086c9c72d4
vhost_net: introduce set_config & get_config

This patch introduces set_config & get_config  method which allows
vhost_net set/get the config to backend

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20200701145538.22333-13-lulu@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
hw/net/vhost_net-stub.c
hw/net/vhost_net.c
include/net/vhost_net.h