diff options
author | Alexander Graf <agraf@suse.de> | 2012-06-06 01:01:23 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-06-24 01:04:50 +0200 |
commit | 4b1b1c896fb38d435f3d350c44b1bdc8b56600a4 (patch) | |
tree | e928cf90e18fdb147900ab1db15f3fc2a0ff4ec6 /qemu-config.c | |
parent | 3627757e32e2c9fcee84e218746639aa2bfb1723 (diff) |
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>
Diffstat (limited to 'qemu-config.c')
-rw-r--r-- | qemu-config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c index 5bbebafa1b..2cd27262e9 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -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 */ } }, |