Hi,
> +static void tdvf_hob_add_memory_resources(TdvfHob *hob)
> +{
> +/* Copy and sort the e820 tables to add them to the HOB. */
> +memcpy(e820_entries, e820_table,
> + nr_e820_entries * sizeof(struct e820_entry));
> +qsort(e820_entries, nr_e820_entries, sizeof(struct e8
From: Isaku Yamahata
Build the TD HOB during machine late initialization, i.e. once guest
memory is fully defined.
Signed-off-by: Isaku Yamahata
Co-developed-by: Sean Christopherson
Signed-off-by: Sean Christopherson
---
hw/i386/meson.build | 2 +-
hw/i386/tdvf-hob.c| 166 +++