x86/hvm: check against VIOAPIC_LEVEL_TRIG in hvm_gsi_deassert
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 19 Jun 2020 13:23:50 +0000 (15:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jun 2020 13:23:50 +0000 (15:23 +0200)
commit81ebf6e707ec0f49e257b136ce0421cbba4f4819
treeff0006b9bd4318de1c0f6fd386ed655620d5c709
parentf1d376a825f4878eab0ef9cabe50ec4299968629
x86/hvm: check against VIOAPIC_LEVEL_TRIG in hvm_gsi_deassert

In order to avoid relying on the specific values of
VIOAPIC_{LEVEL/EDGE}_TRIG.

No functional change.

Requested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Paul Durrant <paul@xen.org>
xen/arch/x86/hvm/irq.c