aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-05-21 13:50:13 +0800
committerAvi Kivity <avi@redhat.com>2009-09-10 08:32:43 +0300
commite7333391403b31feb27a05bc0dcd052a471f1276 (patch)
tree91e4966938853cc97a1d686f9e1643e96ee56ff3 /include
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>
Diffstat (limited to 'include')
-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 65df6f5e2b9..632a8560dbc 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -676,7 +676,7 @@ struct kvm_assigned_msix_nr {
__u16 padding;
};
-#define KVM_MAX_MSIX_PER_DEV 512
+#define KVM_MAX_MSIX_PER_DEV 256
struct kvm_assigned_msix_entry {
__u32 assigned_dev_id;
__u32 gsi;