diff options
author | Sheng Yang <sheng@linux.intel.com> | 2009-05-21 05:50:13 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 05:32:43 (GMT) |
commit | e7333391403b31feb27a05bc0dcd052a471f1276 (patch) | |
tree | 91e4966938853cc97a1d686f9e1643e96ee56ff3 | |
parent | 628eb9b8a8f3ef31d8316112a4596b1a21b38159 (diff) | |
download | linux-e7333391403b31feb27a05bc0dcd052a471f1276.tar.xz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 65df6f5..632a856 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; |