]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/net/lan9118.c
net: Provide MemReentrancyGuard * to qemu_new_nic()
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 1 Jun 2023 03:18:58 +0000 (12:18 +0900)
committerJason Wang <jasowang@redhat.com>
Tue, 21 Nov 2023 07:42:34 +0000 (15:42 +0800)
commit7d0fefdf81f5973334c344f6b8e1896c309dff66
tree9fc658dc9ad19cf9d509d4d340f8fead4a71294f
parentaf9264da80073435fd78944bc5a46e695897d7e5
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>
40 files changed:
hw/net/allwinner-sun8i-emac.c
hw/net/allwinner_emac.c
hw/net/cadence_gem.c
hw/net/dp8393x.c
hw/net/e1000.c
hw/net/e1000e.c
hw/net/eepro100.c
hw/net/etraxfs_eth.c
hw/net/fsl_etsec/etsec.c
hw/net/ftgmac100.c
hw/net/i82596.c
hw/net/igb.c
hw/net/imx_fec.c
hw/net/lan9118.c
hw/net/mcf_fec.c
hw/net/mipsnet.c
hw/net/msf2-emac.c
hw/net/mv88w8618_eth.c
hw/net/ne2000-isa.c
hw/net/ne2000-pci.c
hw/net/npcm7xx_emc.c
hw/net/opencores_eth.c
hw/net/pcnet.c
hw/net/rocker/rocker_fp.c
hw/net/rtl8139.c
hw/net/smc91c111.c
hw/net/spapr_llan.c
hw/net/stellaris_enet.c
hw/net/sungem.c
hw/net/sunhme.c
hw/net/tulip.c
hw/net/virtio-net.c
hw/net/vmxnet3.c
hw/net/xen_nic.c
hw/net/xgmac.c
hw/net/xilinx_axienet.c
hw/net/xilinx_ethlite.c
hw/usb/dev-network.c
include/net/net.h
net/net.c