diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-06-01 12:18:58 +0900 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-11-29 15:33:42 +0300 |
commit | cc5124d9797b0801525bc6658af9ed22426d1eff (patch) | |
tree | 4de50812d3b57b31f1bbde5f45ec1af967670295 /module-common.c | |
parent | c6c0a1888fc2339048157391eab2017cadbaf684 (diff) |
net: Provide MemReentrancyGuard * to qemu_new_nic()
Recently MemReentrancyGuard was added to DeviceState to record that the
device is engaging in I/O. The network device backend needs to update it
when delivering a packet to a device.
In preparation for such a change, add MemReentrancyGuard * as a
parameter of qemu_new_nic().
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Jason Wang <jasowang@redhat.com>
(cherry picked from commit 7d0fefdf81f5973334c344f6b8e1896c309dff66)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: fixup in hw/net/xen_nic.c due to lack of v8.1.0-2771-g25967ff69f
"hw/xen: update Xen PV NIC to XenDevice model")
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions