Repository navigation
Commit 7c518d0
committed
Fix FPR and hugepages conflict in create-build command
Firecracker rejects balloon devices (used by free-page-reporting) when
hugepages is enabled. The create-build CLI was auto-enabling FPR for
FC v1.14+ without checking the hugepages flag, causing builds to fail
with the default --hugepages=true.
This fix applies the same logic as the server build path: only enable
FPR automatically when hugepages is disabled. Explicit --free-page-reporting
flag still overrides the default behavior.1 parent a1b3a8f commit 7c518d0
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
368 | 369 | | |
369 | | - | |
| 370 | + | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
| |||
0 commit comments