This repository was archived by the owner on Apr 14, 2021. It is now read-only.
Commit cf191a1
committed
virtio-pci: Correctly expose vector count for virtio-rng-pci
The vector count should be 1 + the number of virtqueues which is one
for virtio-rng. The other PCI devices correctly define this property and
default value. This will then enable the use of MSI-X which prevents the
kernel from falling back to legacy interrupts which we do not support.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>1 parent 4728f53 commit cf191a1
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2489 | 2489 | | |
2490 | 2490 | | |
2491 | 2491 | | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
2492 | 2497 | | |
2493 | 2498 | | |
2494 | 2499 | | |
| |||
2498 | 2503 | | |
2499 | 2504 | | |
2500 | 2505 | | |
| 2506 | + | |
2501 | 2507 | | |
2502 | 2508 | | |
2503 | 2509 | | |
| |||
0 commit comments