]> git.proxmox.com Git - mirror_qemu.git/commit - hw/net/can/can_sja1000.c
hw/net/can: interrupt cleanup
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Jan 2018 22:30:17 +0000 (23:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2018 10:44:13 +0000 (11:44 +0100)
commita62ed5d10600762eef20e2d925ce9e3adf56b9f7
tree30902b3c0f5ac83842d59a3fa5356b97e6532398
parente73e09481c6fc87a67fc3b3183d40aed6bb586ff
hw/net/can: interrupt cleanup

Define two functions to update the interrupt state, and call them
on loadvm.  This removes the need to migrate the state as part of
vmstate_kvaser_pci.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/net/can/can_kvaser_pci.c
hw/net/can/can_sja1000.c