summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2022-08-23 20:30:33 +0200
committerJason Wang <jasowang@redhat.com>2022-09-02 10:22:39 +0800
commit7a7f87e94c4e75ca177564491595dd17b7e41a62 (patch)
tree706e690cfc61ea4e56e667396f17a7671a43e90f /hw/net/vhost_net.c
parentf8972b56eeace10a410990f032406250abe18d64 (diff)
downloadfocaccia-qemu-7a7f87e94c4e75ca177564491595dd17b7e41a62.tar.gz
focaccia-qemu-7a7f87e94c4e75ca177564491595dd17b7e41a62.zip
vdpa: Move command buffers map to start of net device
As this series will reuse them to restore the device state at the end of
a migration (or a device start), let's allocate only once at the device
start so we don't duplicate their map and unmap.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions