]> xenbits.xensource.com Git - qemu-xen.git/commit
virtio-net: Use replay_schedule_bh_event for bhs that affect machine state
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Aug 2024 20:23:24 +0000 (21:23 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 16 Aug 2024 13:04:19 +0000 (14:04 +0100)
commita0bf401b8e532670fccccef53727a5f80eaf9049
tree00dc18f03e674416df82e3f6bcfd287937ed93f3
parent4c193bb129dae164ce19c1197c76b59c62b405aa
virtio-net: Use replay_schedule_bh_event for bhs that affect machine state

The regular qemu_bh_schedule() calls result in non-deterministic
execution of the bh in record-replay mode, which causes replay failure.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20240813050638.446172-9-npiggin@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240813202329.1237572-17-alex.bennee@linaro.org>
hw/net/virtio-net.c