Commit 75eb51d
committed
pci: add unit tests for MSI-X code
Also, drop some of effectively dead code that Cloud Hypervisor was using
because they were not relying on KVM to handle interrupt controllers.
Finally, fixup some error cases on guest reads which need to return
all-ones when bad accesses happen.
Signed-off-by: Babis Chalios <[email protected]>1 parent dce0754 commit 75eb51d
File tree
6 files changed
+417
-90
lines changed- src
- pci
- src
- vmm/src/devices/virtio/transport/pci
6 files changed
+417
-90
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| 846 | + | |
846 | 847 | | |
847 | 848 | | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
| 852 | + | |
| 853 | + | |
851 | 854 | | |
852 | 855 | | |
853 | 856 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
| |||
0 commit comments