xen/pciback: Don't print scary messages when unsupported by hypervisor.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 27 Feb 2015 21:11:06 +0000 (16:11 -0500)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 16 Mar 2015 14:49:14 +0000 (14:49 +0000)
commit74beaf6270f5b08159f1df8208322a24bb2905e6
tree2eec6a83e56f76dfa653ae76c611916ccb844af6
parent526abeaed4971def462f209632b88fd7b8c4a09c
xen/pciback: Don't print scary messages when unsupported by hypervisor.

We print at the warninig level messages such as:
pciback 0000:90:00.5: MSI-X preparation failed (-38)

which is due to the hypervisor not supporting this sub-hypercall
(which was added in Xen 4.3).

Instead of having scary messages all the time - only have it
when the hypercall is actually supported.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xen-pciback/pci_stub.c