Re: riscv64 virt board crash upon startup

2023-09-12 Thread Laszlo Ersek
On 9/11/23 15:12, Laszlo Ersek wrote: > On 9/11/23 10:53, Gerd Hoffmann wrote: >> On Mon, Sep 11, 2023 at 12:12:43PM +0400, Marc-André Lureau wrote: Gerd, here's the question for you: why are "device" and "head" QOM properties in the first place? What are they needed for? >>> >>> Yo

Re: riscv64 virt board crash upon startup

2023-09-11 Thread Laszlo Ersek
On 9/11/23 10:53, Gerd Hoffmann wrote: > On Mon, Sep 11, 2023 at 12:12:43PM +0400, Marc-André Lureau wrote: >>> 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-g

Re: riscv64 virt board crash upon startup

2023-09-11 Thread Gerd Hoffmann
On Mon, Sep 11, 2023 at 12:12:43PM +0400, Marc-André Lureau wrote: > > 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). Oth

Re: riscv64 virt board crash upon startup

2023-09-11 Thread Marc-André Lureau
Hi On Fri, Sep 8, 2023 at 3:47 AM Laszlo Ersek 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): > >> > >>

Re: riscv64 virt board crash upon startup

2023-09-11 Thread Marc-André Lureau
Hi On Fri, Sep 8, 2023 at 3:55 AM Laszlo Ersek wrote: > > On 9/8/23 01:47, Laszlo Ersek wrote: > > > I don't know why qemu_console_is_multihead() used a lot of QOM > > trickery for this in the first place, but here's what I'd propose as > > fix -- simply try to locate a QemuGraphicConsole in "con

Re: riscv64 virt board crash upon startup

2023-09-07 Thread Laszlo Ersek
On 9/8/23 01:47, Laszlo Ersek wrote: > I don't know why qemu_console_is_multihead() used a lot of QOM > trickery for this in the first place, but here's what I'd propose as > fix -- simply try to locate a QemuGraphicConsole in "consoles" that > references the same "device" that *this* QemuGraphicC

Re: riscv64 virt board crash upon startup

2023-09-07 Thread Laszlo Ersek
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-

Re: riscv64 virt board crash upon startup

2023-09-07 Thread Philippe Mathieu-Daudé
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_er