mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
dt: Add global option to set phandle start offset
If anyone outside of QEMU wants to mess with a QEMU generated device tree, he needs to know which range phandles are valid in. So let's expose a machine option that an external program can use to set the start allocate id for phandles in QEMU. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
3627757e32
commit
4b1b1c896f
2 changed files with 31 additions and 1 deletions
|
@ -587,6 +587,10 @@ static QemuOptsList qemu_machine_opts = {
|
|||
.name = "dumpdtb",
|
||||
.type = QEMU_OPT_STRING,
|
||||
.help = "Dump current dtb to a file and quit",
|
||||
}, {
|
||||
.name = "phandle_start",
|
||||
.type = QEMU_OPT_STRING,
|
||||
.help = "The first phandle ID we may generate dynamically",
|
||||
},
|
||||
{ /* End of list */ }
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue