diff options
| author | Michael S. Tsirkin | 2019-06-20 19:44:32 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-07-01 15:11:02 +0200 |
| commit | 861dc73518a049887b709f031359713e5f6b284e (patch) | |
| tree | 31a5a1c9db7a283768d847be9260ac7f4271a278 /exec.c | |
| parent | Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2019-06-24' in... (diff) | |
| download | qemu-861dc73518a049887b709f031359713e5f6b284e.tar.gz qemu-861dc73518a049887b709f031359713e5f6b284e.tar.xz qemu-861dc73518a049887b709f031359713e5f6b284e.zip | |
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 'exec.c')
0 files changed, 0 insertions, 0 deletions
