vhost_net: use the function qemu_get_peer
commit92fbc3e07eb924bd5e03d22764e637b2e02e46bd
authorCindy Lu <lulu@redhat.com>
Wed, 1 Jul 2020 14:55:26 +0000 (1 22:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Jul 2020 11:57:04 +0000 (3 07:57 -0400)
tree247308914ca0e1f320b4d8216a6694b5e5ce5ab5
parent0165daae5c353bd0d2b72fb39993ece8a845ad75
vhost_net: use the function qemu_get_peer

user the qemu_get_peer to replace the old process

Signed-off-by: Cindy Lu <lulu@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20200701145538.22333-3-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.c