Re: [PATCH] hw/net: store timers for e1000 in vmstate

2021-10-27 Thread Pavel Dovgalyuk
On 27.10.2021 07:05, Jason Wang wrote: On Tue, Oct 26, 2021 at 6:36 PM Pavel Dovgalyuk wrote: Setting timers randomly when vmstate is loaded breaks execution determinism. Therefore this patch allows saving mit and autoneg timers for e1000. It makes execution deterministic and allows snapshotti

Re: [PATCH] hw/net: store timers for e1000 in vmstate

2021-10-26 Thread Jason Wang
On Tue, Oct 26, 2021 at 6:36 PM Pavel Dovgalyuk wrote: > > Setting timers randomly when vmstate is loaded breaks > execution determinism. > Therefore this patch allows saving mit and autoneg timers > for e1000. It makes execution deterministic and allows > snapshotting and reverse debugging in ico

Re: [PATCH] hw/net: store timers for e1000 in vmstate

2021-10-26 Thread Dr. David Alan Gilbert
* Pavel Dovgalyuk (pavel.dovgal...@ispras.ru) wrote: > Setting timers randomly when vmstate is loaded breaks > execution determinism. > Therefore this patch allows saving mit and autoneg timers > for e1000. It makes execution deterministic and allows > snapshotting and reverse debugging in icount m

[PATCH] hw/net: store timers for e1000 in vmstate

2021-10-26 Thread Pavel Dovgalyuk
Setting timers randomly when vmstate is loaded breaks execution determinism. Therefore this patch allows saving mit and autoneg timers for e1000. It makes execution deterministic and allows snapshotting and reverse debugging in icount mode. Signed-off-by: Pavel Dovgalyuk --- hw/net/e1000.c | 6