aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-12-01 14:51:44 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-12-02 14:28:22 +0000
commite5fc7345412d5e4758fcef55a74354c5cbefd61e (patch)
tree00f8303544240826fb2dd2b97de5ff66596e7beb /net
parentLinux 2.6.37-rc4 (diff)
downloadlinux-dev-e5fc7345412d5e4758fcef55a74354c5cbefd61e.tar.xz
linux-dev-e5fc7345412d5e4758fcef55a74354c5cbefd61e.zip
xen: use PHYSDEVOP_get_free_pirq to implement find_unbound_pirq
Use the new hypercall PHYSDEVOP_get_free_pirq to ask Xen to allocate a pirq. Remove the unsupported PHYSDEVOP_get_nr_pirqs hypercall to get the amount of pirq available. This fixes find_unbound_pirq that otherwise would return a number starting from nr_irqs that might very well be out of range in Xen. The symptom of this bug is that when you passthrough an MSI capable pci device to a PV on HVM guest, Linux would fail to enable MSIs on the device. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions