softmmu/vl: Allow -fw_cfg 'gen_id' option to use the 'etc/' namespace
commitf7d8afb16dceb780270960692b949329c8752ff2
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 19 May 2020 17:17:09 +0000 (19 19:17 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 3 Jul 2020 16:16:01 +0000 (3 18:16 +0200)
treea1e0e54f0891bfb3c0dc99b136020d555035c80a
parent6552d87c48679e1ece2da3ddc0947d2146de53ee
softmmu/vl: Allow -fw_cfg 'gen_id' option to use the 'etc/' namespace

Names of user-provided fw_cfg items are supposed to start
with "opt/". However FW_CFG_DATA_GENERATOR items are generated
by QEMU, so allow the "etc/" namespace in this specific case.

Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200623172726.21040-5-philmd@redhat.com>
docs/specs/fw_cfg.txt
softmmu/vl.c