Hi Andrew, On Thu, 7 Apr 2022 at 04:16, Andrew Scull <[email protected]> wrote: > > On Thu, 7 Apr 2022 at 08:20, Heinrich Schuchardt <[email protected]> wrote: > > > > On 3/31/22 12:09, Andrew Scull wrote: > > > The virtio-rng driver is extremely simple, making it suitable for > > > testing more of the virtio uclass logic. Have the sandbox driver bind > > > the virtio-rng driver rather than the virtio-blk driver so it can be > > > used in tests. > > > > test/dm/rng.c assumes that drivers/rng/sandbox_rng.c is providing the > > only RNG device. > > > > Does test/dm/virtio.c guarantee that no virtio-rng device is bound after > > the test is run? > > My understanding was that dm_test_pre_run() in test/test-main.c reset > the driver model for each dm test, which would imply that nothing is > bound at the start of the test. Have I understood this correctly?
Yes. Reviewed-by: Simon Glass <[email protected]> Regards, Simon

