Hi On Fri, Sep 8, 2023 at 3:47 AM Laszlo Ersek <ler...@redhat.com> wrote: > > Question for Gerd below: > > On 9/7/23 14:29, Philippe Mathieu-Daudé wrote: > > On 7/9/23 13:25, Laszlo Ersek wrote: > >> This is with QEMU v8.1.0-391-gc152379422a2. > >> > >> I use the command line from (scroll to the bottom): > >> > >> https://github.com/tianocore/edk2/commit/49f06b664018 > >> > >> (with "-full-screen" removed). > >> > >> The crash is as follows: > >> > >> Unexpected error in object_property_find_err() at > >> ../../src/upstream/qemu/qom/object.c:1314: > >> qemu: Property 'qemu-fixed-text-console.device' not found > >> Aborted (core dumped) > > > > Cc'ing Marc-André for commit b208f745a8 > > ("ui/console: introduce different console objects") > [...] > Gerd, here's the question for you: why are "device" and "head" QOM properties > in the first place? What are they needed for? >
You get QOM tree introspection (ex: (qemu) qom-get /backend/console[0]/device type). Other than that, I don't think it brings anything else. > I've found the following two commits: > - aa2beaa1f57c ("console: add device link to QemuConsoles", 2013-04-25) > - 5643706a0950 ("console: add head to index to qemu consoles.", 2014-03-05) > > But I don't understand *how* having a "link" helps for figuring out which > qemu console displays which device. > >