summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-04-30 10:58:42 +0800
committerAvi Kivity <avi@redhat.com>2009-09-10 08:32:43 +0300
commit968a6347936f9421b5bc5358b579e811c52726bc (patch)
tree0067fd4925db6763c701d9534e54b4b61be1712d /include/linux/kvm_host.h
parent017cb99e875f2d8ff375cbb576c794b081cd0bd5 (diff)
downloadlinux-stable-968a6347936f9421b5bc5358b579e811c52726bc.tar.gz
linux-stable-968a6347936f9421b5bc5358b579e811c52726bc.tar.bz2
linux-stable-968a6347936f9421b5bc5358b579e811c52726bc.zip
KVM: No disable_irq for MSI/MSI-X interrupt on device assignment
Disable interrupt at interrupt handler and enable it when guest ack is for the level triggered interrupt, to prevent reinjected interrupt. MSI/MSI-X don't need it. One possible problem is multiply same vector interrupt injected between irq handler and scheduled work handler would be merged as one for MSI/MSI-X. But AFAIK, the drivers handle it well. The patch fixed the oplin card performance issue(MSI-X performance is half of MSI/INTx). Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions