aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-bridge/xio3130_downstream.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-06-20 13:44:32 -0400
committerMichael S. Tsirkin <mst@redhat.com>2019-07-01 09:11:02 -0400
commit861dc73518a049887b709f031359713e5f6b284e (patch)
tree31a5a1c9db7a283768d847be9260ac7f4271a278 /hw/pci-bridge/xio3130_downstream.c
parent7fec76a02267598a4e437ddfdaeaeb6de09b92f3 (diff)
pcie: don't skip multi-mask events
If we are trying to set multiple bits at once, testing that just one of them is already set gives a false positive. As a result we won't interrupt guest if e.g. presence detection change and attention button press are both set. This happens with multi-function device removal. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/pci-bridge/xio3130_downstream.c')
0 files changed, 0 insertions, 0 deletions