On 2026-10-15T11:13:15, Bin Meng <[email protected]> wrote: > test: dm: Check virtio queue cleanup on device removal > > Checking device status alone does not detect queues left allocated when > a virtio device is removed. > > Probe the virtio child before removal so that it owns a real queue. > Verify that removal for DMA shutdown resets the child and releases its > queue. Reprobe it and check that the old queue is not retained, then > verify cleanup on normal removal. > > Signed-off-by: Bin Meng <[email protected]> > > test/dm/virtio_device.c | 19 ++++++++++++++----- > 1 file changed, 14 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
