Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
collect configuration of mmio devices
Firecracker pass the configuration of all mmio device by a Linux kernel parameter This parameter is defined as followd: virtio_mmio.device= [VMMIO] Memory mapped virtio (platform) device. <size>@<baseaddr>:<irq>[:<id>] where: <size> := size (can use standard suffixes like K, M and G) <baseaddr> := physical base address <irq> := interrupt number (as passed to request_irq()) <id> := (optional) platform device id example: virtio_mmio.device=1K@0x100b0000:48:7 Can be used multiple times for multiple devices. This patch parse the command line and store the string <size>@<baseaddr>:<irq>[:<id>] in a vector, which is part of CLI. This PR based on preliminary work of @duanyu-yu
- Loading branch information