linux/drivers/vdpa/vdpa_sim
Johan Hovold e13fc46b4d vdpa_sim_net: switch to dynamic root device
Driver core expects devices to be dynamically allocated and will, for
example, complain loudly when no release function has been provided.

Use root_device_register() to allocate and register the root device
instead of open coding using a static device.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260424104703.2619093-3-johan@kernel.org>
2026-06-10 02:17:00 -04:00
..
Makefile vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
vdpa_sim_blk.c vdpa_sim_blk: switch to dynamic root device 2026-06-10 02:16:59 -04:00
vdpa_sim_net.c vdpa_sim_net: switch to dynamic root device 2026-06-10 02:17:00 -04:00
vdpa_sim.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
vdpa_sim.h vdpa_sim: move buffer allocation in the devices 2023-04-21 03:02:35 -04:00