Thread (91 messages) 91 messages, 7 authors, 2022-01-25

Re: [RFC PATCH v2 04/44] vl: Introduce machine_init_done_late notifier

From: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-08-26 10:14:34
Also in: qemu-devel

On Wed, Jul 07, 2021 at 05:54:34PM -0700, isaku.yamahata@gmail.com wrote:
From: Isaku Yamahata <redacted>

Introduce a new notifier, machine_init_done_late, that is notified after
machine_init_done.  This will be used by TDX to generate the HOB for its
virtual firmware, which needs to be done after all guest memory has been
added, i.e. after machine_init_done notifiers have run.  Some code
registers memory by machine_init_done().
Can you be more specific than "some code"?

I see only pc_memory_init() adding guest ram (and the corresponding e820
entries), and that should run early enough ...

thanks,
  Gerd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help