Re: [Qemu-devel] [PATCH v2 2/4] hw/i386: Add an Intel MPTable generator

2019-07-02 Thread Gerd Hoffmann
On Tue, Jul 02, 2019 at 10:37:11AM +0200, Sergio Lopez wrote: > > Gerd Hoffmann writes: > > > On Mon, Jul 01, 2019 at 04:47:03PM +0200, Sergio Lopez wrote: > >> Add a helper function (mptable_generate) for generating an Intel > >> MPTable according to version 1.4 of the specification. > >> > >>

Re: [Qemu-devel] [PATCH v2 2/4] hw/i386: Add an Intel MPTable generator

2019-07-02 Thread Sergio Lopez
Gerd Hoffmann writes: > On Mon, Jul 01, 2019 at 04:47:03PM +0200, Sergio Lopez wrote: >> Add a helper function (mptable_generate) for generating an Intel >> MPTable according to version 1.4 of the specification. >> >> This is needed for the microvm machine type implementation. > > Firmware shou

Re: [Qemu-devel] [PATCH v2 2/4] hw/i386: Add an Intel MPTable generator

2019-07-02 Thread Gerd Hoffmann
On Mon, Jul 01, 2019 at 04:47:03PM +0200, Sergio Lopez wrote: > Add a helper function (mptable_generate) for generating an Intel > MPTable according to version 1.4 of the specification. > > This is needed for the microvm machine type implementation. Firmware should do this IMHO (qboot or seabios)

[Qemu-devel] [PATCH v2 2/4] hw/i386: Add an Intel MPTable generator

2019-07-01 Thread Sergio Lopez
Add a helper function (mptable_generate) for generating an Intel MPTable according to version 1.4 of the specification. This is needed for the microvm machine type implementation. Signed-off-by: Sergio Lopez --- hw/i386/mptable.c | 156 + include/hw/i38