summaryrefslogtreecommitdiffstats
path: root/target/i386/kvm/kvm-cpu.c
diff options
context:
space:
mode:
authorPaolo Bonzini2021-05-24 12:57:52 +0200
committerPaolo Bonzini2021-06-04 13:50:04 +0200
commit49e987695a1873a769a823604f9065aa88e00c55 (patch)
tree1373da5c17404275265db45fb3a1104643e312eb /target/i386/kvm/kvm-cpu.c
parentvl: plumb keyval-based options into -readconfig (diff)
downloadqemu-49e987695a1873a769a823604f9065aa88e00c55.tar.gz
qemu-49e987695a1873a769a823604f9065aa88e00c55.tar.xz
qemu-49e987695a1873a769a823604f9065aa88e00c55.zip
vl: plug -object back into -readconfig
Commit bc2f4fcb1d ("qom: move user_creatable_add_opts logic to vl.c and QAPIfy it", 2021-03-19) switched the creation of objects from qemu_opts_foreach to a bespoke QTAILQ in preparation for supporting JSON syntax in -object. Unfortunately in doing so it lost support for [object] stanzas in configuration files and also for "-set object.ID.KEY=VAL". The latter is hard to re-establish and probably best solved by deprecating -set. This patch uses the infrastructure introduced by the previous two patches in order to parse QOM objects correctly from configuration files. Cc: Markus Armbruster <armbru@redhat.com> Cc: qemu-stable@nongnu.org Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210524105752.3318299-4-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/kvm/kvm-cpu.c')
0 files changed, 0 insertions, 0 deletions