]> xenbits.xensource.com Git - xen.git/commit
x86/MSI: fail if no hardware support
authorJan Beulich <jbeulich@suse.com>
Wed, 16 Sep 2015 09:20:27 +0000 (11:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 16 Sep 2015 09:20:27 +0000 (11:20 +0200)
commitc7d5d5d8ea1ecbd6ef8b47dace4dec825f0f6e48
treeefa530cfbd3502d62414e982e6864caaea75c56a
parente94af1c1bef62daa706c644b39a8517cb794fa74
x86/MSI: fail if no hardware support

This is to guard against buggy callers (luckily Dom0 only) invoking
the respective hypercall for a device not being MSI-capable.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/msi.c