forked from firecracker-microvm/firecracker
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: --config-json and /vm/config work together
Commit modifies 'framework/vm_config.json' to be explicitly complete. Validates that exported config and imported configs are compatible/interchangeable by configuring and booting vm from config file, then verifying that exported config is equal to config file. Signed-off-by: Adrian Catangiu <acatan@amazon.com>
- Loading branch information
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
{ | ||
"boot-source": { | ||
"kernel_image_path": "vmlinux.bin", | ||
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off" | ||
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off", | ||
"initrd_path": null | ||
}, | ||
"drives": [ | ||
{ | ||
"drive_id": "rootfs", | ||
"path_on_host": "xenial.rootfs.ext4", | ||
"is_root_device": true, | ||
"is_read_only": false | ||
"partuuid": null, | ||
"is_read_only": false, | ||
"cache_type": "Unsafe", | ||
"rate_limiter": null | ||
} | ||
], | ||
"machine-config": { | ||
"vcpu_count": 2, | ||
"mem_size_mib": 1024, | ||
"ht_enabled": false | ||
} | ||
"ht_enabled": false, | ||
"track_dirty_pages": false | ||
}, | ||
"balloon": null, | ||
"network-interfaces": [], | ||
"vsock": null, | ||
"logger": null, | ||
"metrics": null, | ||
"mmds-config": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters