diff options
author | Sheng Yang <sheng@linux.intel.com> | 2009-05-21 01:50:13 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 01:32:43 -0400 |
commit | e7333391403b31feb27a05bc0dcd052a471f1276 (patch) | |
tree | 91e4966938853cc97a1d686f9e1643e96ee56ff3 /include/linux/kvm.h | |
parent | 628eb9b8a8f3ef31d8316112a4596b1a21b38159 (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/linux/kvm.h')
-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 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 |
680 | struct kvm_assigned_msix_entry { | 680 | struct kvm_assigned_msix_entry { |
681 | __u32 assigned_dev_id; | 681 | __u32 assigned_dev_id; |
682 | __u32 gsi; | 682 | __u32 gsi; |