![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
A virtual machine in Uvmm is configured with a device tree that contains information about the VMs resources, memory layout, virtual CPUs and peripheral devices.
Uvmm_dtg is a tool to generate such a device tree at runtime according to its command line.
dt
The dataspace that the device tree is put into.
<file | -->
-- prints to stdout. On L4Re, the string given as <file> is interpreted as a named capability which needs to be backed by a sufficiently large Dataspace. On Linux, a file with the given name is created. In both cases, uvmm_dtg will output into the named file.
String value.
-h, --help
Show help.
Flag. True if provided.
--arch <target architecture>
Select the target architecture.
Possible values for <target architecture> are x86, x86_64, arm32, arm64, mips32, mips64
--format <format>
Select the output format.
Possible values for <format> are
--mem-base <membase>
Configure the start of the memory distribution. membase can be defined in both decimal and hex notations. uvmm_dtg rounds the given base up to the platforms page size.
This value can be overridden by memory devices with fixed addresses.
Numerical value.
--device <devicename:[Option1,Option2=value,Option3=value,...]>
This configures a device.
To get a list of supported devices, use --device help.
To get help for a specific device, use --device devicename:help.
String value.
Example lua script for Ned:
Please notice the :wait() when starting uvmm_dtg. This makes Ned pause until uvmm_dtg has exited and put the device tree into the dataspace such that Uvmm can commence.