Skip to content

Commit

Permalink
KVM: Downsize max support MSI-X entry to 256
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sheng Yang authored and Avi Kivity committed Sep 10, 2009
1 parent 628eb9b commit e733339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e733339

Please sign in to comment.