aboutsummaryrefslogtreecommitdiff
path: root/hw/bt.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-04-28 12:27:38 +0300
committerDoug Goldstein <cardoe@gentoo.org>2010-07-20 18:34:30 -0500
commit58171759d148b740715eebeaed2828382377d8a6 (patch)
treeb3a3103ec6dfb3ed1a9dd25a3781e4bda3917f3e /hw/bt.h
parenttarget-mips: fix DINSU instruction (diff)
downloadqemu-kvm-0.12.4-gentoo.tar.gz
qemu-kvm-0.12.4-gentoo.tar.bz2
qemu-kvm-0.12.4-gentoo.zip
qemu-kvm: fix crash on reboot with vhost-netqemu-kvm-0.12.4-gentoo-2qemu-kvm-0.12.4-gentoo
When vhost-net is disabled on reboot, we set msix mask notifier to NULL to disable further mask/unmask notifications. Code currently tries to pass this NULL to notifier, leading to a crash. The right thing to do is to add explicit APIs to enable/disable notifications. Now when disabling notifications: - if vector is masked, we don't need to notify backend, just disable future notifications - if vector is unmasked, invoke callback to unassign backend, then disable future notifications This patch also polls notifier before closing it, to make sure we don't lose events if poll callback didn't have time to run. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/bt.h')
0 files changed, 0 insertions, 0 deletions