diff options
authorMichael S. Tsirkin <>2010-04-28 12:27:38 +0300
committerDoug Goldstein <>2010-07-20 18:34:30 -0500
commit58171759d148b740715eebeaed2828382377d8a6 (patch)
treeb3a3103ec6dfb3ed1a9dd25a3781e4bda3917f3e /target-microblaze/op_helper.c
parenttarget-mips: fix DINSU instruction (diff)
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 <> Signed-off-by: Marcelo Tosatti <>
Diffstat (limited to 'target-microblaze/op_helper.c')
0 files changed, 0 insertions, 0 deletions