vdpa_sim: store parsed MAC address in a buffer
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 15 Dec 2020 14:42:48 +0000 (15:42 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 18 Dec 2020 21:14:29 +0000 (16:14 -0500)
commitcf1a3b35382c10ce315c32bd2b3d7789897fbe13
tree623034127e30882628917d443205622528b37636
parenta13b5918fdd0dd7987aa5f3c202f68ed6ad468bb
vdpa_sim: store parsed MAC address in a buffer

As preparation for the next patches, we store the MAC address,
parsed during the vdpasim_create(), in a buffer that will be used
to fill 'config' together with other configurations.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201215144256.155342-11-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_sim/vdpa_sim.c