Commit a1bedce
committed
libvirt: fix PCI-E passthrough configuration after Vagrant removal
The PCI-E passthrough functionality was broken when Vagrant support was
removed. Two issues prevented the passthrough options from appearing in
menuconfig:
1. The check_pciepassthrough_kconfig.sh script was gutted during the
Vagrant removal and always returned "n", preventing the passthrough
Kconfig from being detected.
2. The source line for including the generated passthrough Kconfig was
removed but never updated to the new location.
This commit fixes both issues and additionally improves the user
interface by:
- Restoring the check script to properly detect if the passthrough
Kconfig file exists
- Adding a proper menu structure with "Enable PCI-E passthrough support"
boolean option
- Creating a dedicated "Configure PCI-E passthrough" submenu for device
selection
- Including the assignment strategy choice (manual vs round-robin)
Now users can properly enable and configure PCI-E passthrough through
a clean menu interface instead of having all device options scattered
in the main libvirt menu.
Fixes: 89b7ef8 ("kconfigs: fix Kconfig references after vagrant removal")
Generated-by: Claude AI
Reviewed-by: Chuck Lever <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>1 parent 7f25db7 commit a1bedce
File tree
2 files changed
+57
-1
lines changed- kconfigs
- scripts
2 files changed
+57
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
465 | 508 | | |
466 | 509 | | |
467 | 510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments