]> xenbits.xensource.com Git - xen.git/commit
x86/hvm: check return code of hvm_pi_update_irte when binding
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 20 Mar 2025 11:52:32 +0000 (12:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 20 Mar 2025 11:52:32 +0000 (12:52 +0100)
commit94928e415f2131bde75c1c4e5fd120a43e2836a3
tree1554d5837a2045b4f21518e87c0d608bec2d7689
parent74b40fe10582c0375afd3db97626a27094f4c0e5
x86/hvm: check return code of hvm_pi_update_irte when binding

Consume the return code from hvm_pi_update_irte(), and propagate the error
back to the caller if hvm_pi_update_irte() fails.

Fixes: 35a1caf8b6b5 ('pass-through: update IRTE according to guest interrupt config changes')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: cb587f620ab56cc683347d8120ba63989fad2693
master date: 2025-03-12 13:32:31 +0100
xen/drivers/passthrough/x86/hvm.c