Re: [Qemu-devel] [PATCH] pc: Move compat_apic_id_mode variable to PCMachineClass

2019-06-30 Thread Michael S. Tsirkin
On Fri, Jun 28, 2019 at 05:02:27PM -0300, Eduardo Habkost wrote: > Replace the static variable with a PCMachineClass field. This > will help us eventually get rid of the pc_compat_*() init > functions. > > Signed-off-by: Eduardo Habkost Reviewed-by: Michael S. Tsirkin Pls feel free to merge.

Re: [Qemu-devel] [PATCH] pc: Move compat_apic_id_mode variable to PCMachineClass

2019-06-29 Thread Philippe Mathieu-Daudé
On 6/28/19 10:02 PM, Eduardo Habkost wrote: > Replace the static variable with a PCMachineClass field. This > will help us eventually get rid of the pc_compat_*() init > functions. > > Signed-off-by: Eduardo Habkost > --- > include/hw/i386/pc.h | 3 +++ > hw/i386/pc.c | 22 +---

[Qemu-devel] [PATCH] pc: Move compat_apic_id_mode variable to PCMachineClass

2019-06-28 Thread Eduardo Habkost
Replace the static variable with a PCMachineClass field. This will help us eventually get rid of the pc_compat_*() init functions. Signed-off-by: Eduardo Habkost --- include/hw/i386/pc.h | 3 +++ hw/i386/pc.c | 22 +- hw/i386/pc_piix.c| 3 ++- 3 files changed,