aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-05-21 01:50:13 -0400
committerAvi Kivity <avi@redhat.com>2009-09-10 01:32:43 -0400
commite7333391403b31feb27a05bc0dcd052a471f1276 (patch)
tree91e4966938853cc97a1d686f9e1643e96ee56ff3
parent628eb9b8a8f3ef31d8316112a4596b1a21b38159 (diff)
KVM: Downsize max support MSI-X entry to 256
We only trap one page for MSI-X entry now, so it's 4k/(128/8) = 256 entries at most. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--include/linux/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 65df6f5e2b98..632a8560dbcf 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -676,7 +676,7 @@ struct kvm_assigned_msix_nr {
676 __u16 padding; 676 __u16 padding;
677}; 677};
678 678
679#define KVM_MAX_MSIX_PER_DEV 512 679#define KVM_MAX_MSIX_PER_DEV 256
680struct kvm_assigned_msix_entry { 680struct kvm_assigned_msix_entry {
681 __u32 assigned_dev_id; 681 __u32 assigned_dev_id;
682 __u32 gsi; 682 __u32 gsi;