pc-*-3.1 machine-types
Hopefully in time for -rc2.
commit 9b4cf107 ("hyperv: only add SynIC in compatible configurations") breaks compatibility on pc-*-3.0, so this is required as a bug fix.
The following changes since commit 46cabfb41e9cb269affc14c8188f0c8745f8cd55:
Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (2018-11-20 12:24:09 +0000)
are available in the Git repository at:
git://github.com/ehabkost/qemu.git tags/x86-for-3.1-pull-request
for you to fetch changes up to 4a93722f9c279184e95b1e1ad775c01deec05065:
hw/i386: add pc-i440fx-3.1 & pc-q35-3.1 (2018-11-20 11:42:32 -0200)
----------------------------------------------------------------
pc-*-3.1 machine-types
----------------------------------------------------------------
Marc-André Lureau (1):
hw/i386: add pc-i440fx-3.1 & pc-q35-3.1
hw/i386/pc_piix.c | 15 ++++++++++++--- hw/i386/pc_q35.c | 13 +++++++++++-- 2 files changed, 23 insertions(+), 5 deletions(-)
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
[Qemu-devel] [PULL 1/1] hw/i386: add pc-i440fx-3.1 & pc-q35-3.1
From: Marc-André Lureau <[email protected]>
We have a couple of PC_COMPAT_3_0, so we should have 3.1 PC machines, and update the 3.0 machines to make use of those.
Fixes a "Known issue" from https://wiki.qemu.org/Planning/3.1.
Message-Id: <[email protected]>
--- hw/i386/pc_piix.c | 15 ++++++++++++--- hw/i386/pc_q35.c | 13 +++++++++++-- 2 files changed, 23 insertions(+), 5 deletions(-)
hw/i386/pc_piix.c +12 -3
@@ -428,21 +428,30 @@ static void pc_i440fx_machine_options(MachineClass *m)machine_class_allow_dynamic_sysbus_dev (m,TYPE_RAMFB_DEVICE ); } -static void pc_i440fx_3_0_machine_options (MachineClass *m) +static void pc_i440fx_3_1_machine_options (MachineClass *m) {pc_i440fx_machine_options (m); m->alias ="pc" ; m->is_default =1 ; } +DEFINE_I440FX_MACHINE (v3_1,"pc-i440fx-3.1" ,NULL , + pc_i440fx_3_1_machine_options); + +static void pc_i440fx_3_0_machine_options (MachineClass *m) +{ +pc_i440fx_3_1_machine_options (m); + m->is_default =0 ; + m->alias =NULL ; +SET_MACHINE_COMPAT (m,PC_COMPAT_3_0 ); +} +DEFINE_I440FX_MACHINE (v3_0,"pc-i440fx-3.0" ,NULL , pc_i440fx_3_0_machine_options);static void pc_i440fx_2_12_machine_options (MachineClass *m) {pc_i440fx_3_0_machine_options (m); - m->is_default =0 ; - m->alias =NULL ;SET_MACHINE_COMPAT (m,PC_COMPAT_2_12 ); }
hw/i386/pc_q35.c +11 -2
@@ -311,19 +311,28 @@ static void pc_q35_machine_options(MachineClass *m) m->max_cpus =288 ; } -static void pc_q35_3_0_machine_options (MachineClass *m) +static void pc_q35_3_1_machine_options (MachineClass *m) {pc_q35_machine_options (m); m->alias ="q35" ; } +DEFINE_Q35_MACHINE (v3_1,"pc-q35-3.1" ,NULL , + pc_q35_3_1_machine_options); + +static void pc_q35_3_0_machine_options (MachineClass *m) +{ +pc_q35_3_1_machine_options (m); + m->alias =NULL ; +SET_MACHINE_COMPAT (m,PC_COMPAT_3_0 ); +} +DEFINE_Q35_MACHINE (v3_0,"pc-q35-3.0" ,NULL , pc_q35_3_0_machine_options);static void pc_q35_2_12_machine_options (MachineClass *m) {pc_q35_3_0_machine_options (m); - m->alias =NULL ;SET_MACHINE_COMPAT (m,PC_COMPAT_2_12 ); }
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
Re: [Qemu-devel] [PULL 1/1] hw/i386: add pc-i440fx-3.1 & pc-q35-3.1
Quoted 4 lines · Eduardo Habkost
From: Marc-André Lureau <[email protected]>
We have a couple of
PC_COMPAT_3_0, so we should have 3.1 PC machines, and update the 3.0 machines to make use of those.
As a side note, we should have 3.1 machines regardless. Every versioned machine should have a new -x.y type every version of QEMU. (We should also try to remember to do this at the start of the release cycle rather than the end :-))
thanks
-- PMM
Peter Maydell
AppliedQuoted 13 lines · Eduardo Habkost
Hopefully in time for -rc2.
commit
9b4cf107("hyperv: only add SynIC in compatible configurations") breaks compatibility on pc-*-3.0, so this is required as a bug fix.The following changes since commit
46cabfb41e9cb269affc14c8188f0c8745f8cd55:Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (2018-11-20 12:24:09 +0000)
are available in the Git repository at:
git://github.com/ehabkost/qemu.gittags/x86-for-3.1-pull-request
Quoted 8 lines
for you to fetch changes up to
4a93722f9c279184e95b1e1ad775c01deec05065:hw/i386: add pc-i440fx-3.1 & pc-q35-3.1 (2018-11-20 11:42:32 -0200)
----------------------------------------------------------------
pc-*-3.1 machine-types----------------------
Applied, thanks.
-- PMM