]> git.ipfire.org Git - thirdparty/qemu.git/commit
e1000: don't raise interrupt in pre_save()
authorJason Wang <jasowang@redhat.com>
Wed, 10 Jul 2019 03:52:53 +0000 (11:52 +0800)
committerJason Wang <jasowang@redhat.com>
Mon, 29 Jul 2019 08:29:30 +0000 (16:29 +0800)
commitf46efa9b0895a7ff8ed0b4e874aee52a49f2a878
tree2fc9f3370beef37dbf12990d4a7536121eb4f774
parentfff3159900d2b95613a9cb75fc3703e67a674729
e1000: don't raise interrupt in pre_save()

We should not raise any interrupt after VM has been stopped but this
is what e1000 currently did when mit timer is active in
pre_save(). Fixing this by scheduling a timer in post_load() which can
make sure the interrupt was raised when VM is running.

Reported-and-tested-by: Longpeng <longpeng2@huawei.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000.c