q35: Remove old machines and unused compat code
v2 cover q35: Remove old machines and unused compat code
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Remove no_tco field
ich9: Remove enable_tco arguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to check gigabyte_align
Makefile | 2 +- hw/acpi/ich9.c | 8 +-- hw/i386/pc_q35.c | 176 +--------------------------------------------- hw/isa/lpc_ich9.c | 4 +- include/hw/acpi/ich9.h | 1 - include/hw/boards.h | 1 - include/hw/i386/ich9.h | 2 +- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 8 files changed, 9 insertions(+), 185 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.aml
Signature · 1 line
2.1.0
PATCH v2 1/5 q35: Remove old machine versions
Migration with q35 was not possible before commit 04329029a8c539eb5f75dcb6d8b016f0c53a031a, because q35 unconditionally creates an ich9-ahci device, that was marked as unmigratable. So all q35 machine classes before pc-q35-2.4 were not migratable, so there's no point in keeping compatibility code for them.
Remove all old pc-q35 machine classes and keep only pc-q35-2.4 and newer.
--- hw/i386/pc_q35.c | 165 ------------------------------------------------------- 1 file changed, 165 deletions(-)
hw/i386/pc_q35.c +0 -165
@@ -268,62 +268,6 @@ static void pc_q35_init(MachineState *machine) } } -/* Looking for a pc_compat_2_4() function? It doesn't exist. -* pc_compat_*() functions that run on machine-init time and -* change global QEMU state are deprecated. Please don't create -* one, and implement any pc-*-2.4 (and newer) compat code in -* HW_COMPAT_*, PC_COMPAT_*, or * pc_*_machine_options(). -*/ - -static void pc_compat_2_3 (MachineState *machine) -{ -PCMachineState *pcms =PC_MACHINE (machine); -savevm_skip_section_footers (); -if (kvm_enabled ()) { - pcms->smm =ON_OFF_AUTO_OFF ; - } -global_state_set_optional (); -savevm_skip_configuration (); -} - -static void pc_compat_2_2 (MachineState *machine) -{ -pc_compat_2_3 (machine); - machine->suppress_vmdesc = true; -} - -static void pc_compat_2_1 (MachineState *machine) -{ -pc_compat_2_2 (machine); -x86_cpu_change_kvm_default ("svm" ,NULL ); -} - -static void pc_compat_2_0 (MachineState *machine) -{ -pc_compat_2_1 (machine); -} - -static void pc_compat_1_7 (MachineState *machine) -{ -pc_compat_2_0 (machine); -x86_cpu_change_kvm_default ("x2apic" ,NULL ); -} - -static void pc_compat_1_6 (MachineState *machine) -{ -pc_compat_1_7 (machine); -} - -static void pc_compat_1_5 (MachineState *machine) -{ -pc_compat_1_6 (machine); -} - -static void pc_compat_1_4 (MachineState *machine) -{ -pc_compat_1_5 (machine); -} -#define DEFINE_Q35_MACHINE (suffix, name, compatfn, optionfn) \ static void pc_init_##suffix(MachineState *machine) \ { \
@@ -380,112 +324,3 @@ static void pc_q35_2_4_machine_options(MachineClass *m)DEFINE_Q35_MACHINE (v2_4,"pc-q35-2.4" ,NULL , pc_q35_2_4_machine_options); - - -static void pc_q35_2_3_machine_options (MachineClass *m) -{ -pc_q35_2_4_machine_options (m); - m->hw_version ="2.3.0" ; - m->no_floppy =0 ; - m->no_tco =1 ; -SET_MACHINE_COMPAT (m,PC_COMPAT_2_3 ); -} - -DEFINE_Q35_MACHINE (v2_3,"pc-q35-2.3" , pc_compat_2_3, - pc_q35_2_3_machine_options); - - -static void pc_q35_2_2_machine_options (MachineClass *m) -{ -PCMachineClass *pcmc =PC_MACHINE_CLASS (m); -pc_q35_2_3_machine_options (m); - m->hw_version ="2.2.0" ; -SET_MACHINE_COMPAT (m,PC_COMPAT_2_2 ); - pcmc->rsdp_in_ram = false; -} - -DEFINE_Q35_MACHINE (v2_2,"pc-q35-2.2" , pc_compat_2_2, - pc_q35_2_2_machine_options); - - -static void pc_q35_2_1_machine_options (MachineClass *m) -{ -PCMachineClass *pcmc =PC_MACHINE_CLASS (m); -pc_q35_2_2_machine_options (m); - m->hw_version ="2.1.0" ; - m->default_display =NULL ; -SET_MACHINE_COMPAT (m,PC_COMPAT_2_1 ); - pcmc->smbios_uuid_encoded = false; - pcmc->enforce_aligned_dimm = false; -} - -DEFINE_Q35_MACHINE (v2_1,"pc-q35-2.1" , pc_compat_2_1, - pc_q35_2_1_machine_options); - - -static void pc_q35_2_0_machine_options (MachineClass *m) -{ -PCMachineClass *pcmc =PC_MACHINE_CLASS (m); -pc_q35_2_1_machine_options (m); - m->hw_version ="2.0.0" ; -SET_MACHINE_COMPAT (m,PC_COMPAT_2_0 ); - pcmc->has_reserved_memory = false; - pcmc->smbios_legacy_mode = true; - pcmc->acpi_data_size =0x10000 ; -} - -DEFINE_Q35_MACHINE (v2_0,"pc-q35-2.0" , pc_compat_2_0, - pc_q35_2_0_machine_options); - - -static void pc_q35_1_7_machine_options (MachineClass *m) -{ -PCMachineClass *pcmc =PC_MACHINE_CLASS (m); -pc_q35_2_0_machine_options (m); - m->hw_version ="1.7.0" ; - m->default_machine_opts =NULL ; - m->option_rom_has_mr = true; -SET_MACHINE_COMPAT (m,PC_COMPAT_1_7 ); - pcmc->smbios_defaults = false; - pcmc->gigabyte_align = false; -} - -DEFINE_Q35_MACHINE (v1_7,"pc-q35-1.7" , pc_compat_1_7, - pc_q35_1_7_machine_options); - - -static void pc_q35_1_6_machine_options (MachineClass *m) -{ -PCMachineClass *pcmc =PC_MACHINE_CLASS (m); -pc_q35_machine_options (m); - m->hw_version ="1.6.0" ; - m->rom_file_has_mr = false; -SET_MACHINE_COMPAT (m,PC_COMPAT_1_6 ); - pcmc->has_acpi_build = false; -} - -DEFINE_Q35_MACHINE (v1_6,"pc-q35-1.6" , pc_compat_1_6, - pc_q35_1_6_machine_options); - - -static void pc_q35_1_5_machine_options (MachineClass *m) -{ -pc_q35_1_6_machine_options (m); - m->hw_version ="1.5.0" ; -SET_MACHINE_COMPAT (m,PC_COMPAT_1_5 ); -} - -DEFINE_Q35_MACHINE (v1_5,"pc-q35-1.5" , pc_compat_1_5, - pc_q35_1_5_machine_options); - - -static void pc_q35_1_4_machine_options (MachineClass *m) -{ -pc_q35_1_5_machine_options (m); - m->hw_version ="1.4.0" ; - m->hot_add_cpu =NULL ; -SET_MACHINE_COMPAT (m,PC_COMPAT_1_4 ); -} - -DEFINE_Q35_MACHINE (v1_4,"pc-q35-1.4" , pc_compat_1_4, - pc_q35_1_4_machine_options);
Signature · 1 line
2.1.0
PATCH v2 2/5 machine: Remove no_tco field
In reply to Eduardo HabkostThe field is always set to zero, so it is not necessary anymore.
--- hw/i386/pc_q35.c | 3 +-- include/hw/boards.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-)
hw/i386/pc_q35.c +1 -2
@@ -234,7 +234,7 @@ static void pc_q35_init(MachineState *machine) (pcms->vmport != ON_OFF_AUTO_ON), 0xff0104);/* connect pm stuff to lpc */ -ich9_lpc_pm_init (lpc,pc_machine_is_smm_enabled (pcms), !mc->no_tco); +ich9_lpc_pm_init (lpc,pc_machine_is_smm_enabled (pcms), true);/* ahci and SATA device, for q35 1 ahci controller is built-in */ ahci = pci_create_simple_multifunction(host_bus,
@@ -289,7 +289,6 @@ static void pc_q35_machine_options(MachineClass *m) m->default_machine_opts ="firmware=bios-256k.bin" ; m->default_display ="std" ; m->no_floppy =1 ; - m->no_tco =0 ; }static void pc_q35_2_6_machine_options (MachineClass *m)
include/hw/boards.h +0 -1
@@ -84,7 +84,6 @@ struct MachineClass { no_cdrom:1, no_sdcard:1, has_dynamic_sysbus:1, - no_tco:1, pci_allow_0_address:1;int is_default;const char *default_machine_opts;
Signature · 1 line
2.1.0
PATCH v2 3/5 ich9: Remove enable_tco arguments from init functions
In reply to Eduardo HabkostThe enable_tco arguments are always true, so they are not needed anymore.
--- hw/acpi/ich9.c | 8 +++----- hw/i386/pc_q35.c | 2 +- hw/isa/lpc_ich9.c | 4 ++-- include/hw/acpi/ich9.h | 1 - include/hw/i386/ich9.h | 2 +- 5 files changed, 7 insertions(+), 10 deletions(-)
hw/acpi/ich9.c +3 -5
@@ -239,7 +239,7 @@ static void pm_powerdown_req(Notifier *n, void *opaque) }void ich9_pm_init (PCIDevice *lpc_pci,ICH9LPCPMRegs *pm, -bool smm_enabled,bool enable_tco, +bool smm_enabled,qemu_irq sci_irq) {memory_region_init (&pm->io,OBJECT (lpc_pci),"ich9-pm" ,ICH9_PMIO_SIZE );
@@ -263,10 +263,8 @@ void ich9_pm_init(PCIDevice *lpc_pci, ICH9LPCPMRegs *pm, pm->smm_enabled = smm_enabled; - pm->enable_tco = enable_tco; -if (pm->enable_tco) { -acpi_pm_tco_init (&pm->tco_regs, &pm->io); - } + pm->enable_tco = true; +acpi_pm_tco_init (&pm->tco_regs, &pm->io); pm->irq = sci_irq;qemu_register_reset (pm_reset, pm);
hw/i386/pc_q35.c +1 -1
@@ -234,7 +234,7 @@ static void pc_q35_init(MachineState *machine) (pcms->vmport != ON_OFF_AUTO_ON), 0xff0104);/* connect pm stuff to lpc */ -ich9_lpc_pm_init (lpc,pc_machine_is_smm_enabled (pcms), true); +ich9_lpc_pm_init (lpc,pc_machine_is_smm_enabled (pcms));/* ahci and SATA device, for q35 1 ahci controller is built-in */ ahci = pci_create_simple_multifunction(host_bus,
hw/isa/lpc_ich9.c +2 -2
@@ -368,13 +368,13 @@ static void ich9_set_sci(void *opaque, int irq_num, int level) } } -void ich9_lpc_pm_init (PCIDevice *lpc_pci,bool smm_enabled,bool enable_tco) +void ich9_lpc_pm_init (PCIDevice *lpc_pci,bool smm_enabled) {ICH9LPCState *lpc =ICH9_LPC_DEVICE (lpc_pci);qemu_irq sci_irq; sci_irq =qemu_allocate_irq (ich9_set_sci, lpc,0 ); -ich9_pm_init (lpc_pci, &lpc->pm, smm_enabled, enable_tco, sci_irq); +ich9_pm_init (lpc_pci, &lpc->pm, smm_enabled, sci_irq);ich9_lpc_reset (&lpc->d.qdev); }
include/hw/acpi/ich9.h +0 -1
@@ -62,7 +62,6 @@ typedef struct ICH9LPCPMRegs {void ich9_pm_init (PCIDevice *lpc_pci,ICH9LPCPMRegs *pm,bool smm_enabled, -bool enable_tco,qemu_irq sci_irq);void ich9_pm_iospace_update (ICH9LPCPMRegs *pm,uint32_t pm_io_base);
include/hw/i386/ich9.h +1 -1
@@ -17,7 +17,7 @@void ich9_lpc_set_irq (void *opaque,int irq_num,int level);int ich9_lpc_map_irq (PCIDevice *pci_dev,int intx);PCIINTxRoute ich9_route_intx_pin_to_irq (void *opaque,int pirq_pin); -void ich9_lpc_pm_init (PCIDevice *pci_lpc,bool smm_enabled,bool enable_tco); +void ich9_lpc_pm_init (PCIDevice *pci_lpc,bool smm_enabled);I2CBus *ich9_smb_init (PCIBus *bus,int devfn,uint32_t smb_io_base);void ich9_generate_smi (void );
Signature · 1 line
2.1.0
PATCH v2 4/5 q35: Remove unused q35-acpi-dsdt.aml file
In reply to Eduardo HabkostThe file was used only by older machine-types, and it is not needed anymore.
--- Makefile | 2 +- hw/i386/pc_q35.c | 4 ---- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.aml
Makefile +1 -1
@@ -390,7 +390,7 @@ bepo cz ifdef INSTALL_BLOBS BLOBS=bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin vgabios-virtio.bin \ -acpi-dsdt.aml q35-acpi-dsdt.aml \ +acpi-dsdt.aml \ ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin QEMU,cgthree.bin \ pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \ pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \
hw/i386/pc_q35.c +0 -4
@@ -116,10 +116,6 @@ static void pc_q35_init(MachineState *machine) }pc_cpus_init (pcms); -if (!pcmc->has_acpi_build) { -/* only machine types 1.7 & older need this */ -pc_acpi_init ("q35-acpi-dsdt.aml" ); - }kvmclock_create ();
pc-bios/q35-acpi-dsdt.aml deleted binary +0 -0
Signature · 1 line
2.1.0
PATCH v2 5/5 q35: No need to check gigabyte_align
In reply to Eduardo Habkostgigabyte_align is always true on q35, so we don't need the !gigabyte_align compat code anymore.
--- hw/i386/pc_q35.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
hw/i386/pc_q35.c +1 -3
@@ -81,11 +81,9 @@ static void pc_q35_init(MachineState *machine)* If it doesn't, we need to split it in chunks below and above 4G. * In any case, try to make sure that guest addresses aligned at * 1G boundaries get mapped to host addresses aligned at 1G boundaries. -* For old machine types, use whatever split we used historically to avoid -* breaking migration. */ if (machine->ram_size >=0xb0000000 ) { - lowmem = pcmc->gigabyte_align ?0x80000000 :0xb0000000 ; + lowmem =0x80000000 ; }else { lowmem =0xb0000000 ; }
Signature · 1 line
2.1.0
Quoted 11 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_align
Quoted 11 lines
Makefile | 2 +- hw/acpi/ich9.c | 8 +-- hw/i386/pc_q35.c | 176 +--------------------------------------------- hw/isa/lpc_ich9.c | 4 +- include/hw/acpi/ich9.h | 1 - include/hw/boards.h | 1 - include/hw/i386/ich9.h | 2 +- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 8 files changed, 9 insertions(+), 185 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.aml
I read / skimmed the earlier discussion:
http://thread.gmane.org/gmane.comp.emulators.qemu/356340
http://thread.gmane.org/gmane.comp.emulators.qemu/382574
For patches 1, 2, 3, 5:
For patch 4:
How about removing the following two files in addition:
- hw/i386/q35-acpi-dsdt.dsl
- hw/i386/q35-acpi-dsdt.hex.generated
and updating the references in "hw/i386/Makefile.objs"?
Thanks
Laszlo
Quoted 31 lines · On Mon, 25 Jan 2016 12:27:47 +0100 Laszlo Ersek <[email protected]> wrote:
Quoted 11 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_alignQuoted 11 lines
Makefile | 2 +- hw/acpi/ich9.c | 8 +-- hw/i386/pc_q35.c | 176 +--------------------------------------------- hw/isa/lpc_ich9.c | 4 +- include/hw/acpi/ich9.h | 1 - include/hw/boards.h | 1 - include/hw/i386/ich9.h | 2 +- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 8 files changed, 9 insertions(+), 185 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.amlI read / skimmed the earlier discussion:
http://thread.gmane.org/gmane.comp.emulators.qemu/356340
http://thread.gmane.org/gmane.comp.emulators.qemu/382574For patches 1, 2, 3, 5:
Quoted 7 lines
Reviewed-by Laszlo Ersek <[email protected]>For patch 4:
How about removing the following two files in addition:
- hw/i386/q35-acpi-dsdt.dsl
- hw/i386/q35-acpi-dsdt.hex.generated
above files don't exist in current master as there where removed by DSDT->AML conversion series. And well, they weren't related to legacy code removed here anyway.
Quoted 5 lines
and updating the references in "hw/i386/Makefile.objs"?
Thanks
Laszlo
Laszlo Ersek
Reviewed-byQuoted 36 lines · Igor Mammedov
Quoted 33 lines · On Mon, 25 Jan 2016 12:27:47 +0100 Laszlo Ersek <[email protected]> wrote:
Quoted 11 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_alignQuoted 11 lines
Makefile | 2 +- hw/acpi/ich9.c | 8 +-- hw/i386/pc_q35.c | 176 +--------------------------------------------- hw/isa/lpc_ich9.c | 4 +- include/hw/acpi/ich9.h | 1 - include/hw/boards.h | 1 - include/hw/i386/ich9.h | 2 +- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 8 files changed, 9 insertions(+), 185 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.amlI read / skimmed the earlier discussion:
http://thread.gmane.org/gmane.comp.emulators.qemu/356340
http://thread.gmane.org/gmane.comp.emulators.qemu/382574For patches 1, 2, 3, 5:
Reviewed-by Laszlo Ersek <[email protected]>
Quoted 7 lines
Quoted 5 lines
For patch 4:
How about removing the following two files in addition:
- hw/i386/q35-acpi-dsdt.dsl
- hw/i386/q35-acpi-dsdt.hex.generatedabove files don't exist in current master as there where removed by
DSDT->AMLconversion series.
Sigh. That's right. For some reason I looked at a wrong branch in my tree.
For patch 4 too:
Quoted 2 lines
And well, they weren't related
to legacy code removed here anyway.
Sigh again. You are right. "pc-bios/q35-acpi-dsdt.aml" came from SeaBIOS's "src/fw/q35-acpi-dsdt.dsl", apparently, *not* from QEMU's "hw/i386/q35-acpi-dsdt.dsl"
It's just great that up to 9fc6502606, QEMU and SeaBIOS had had an independent, but identically named (and more or less same purpose) file!
Quoted 5 lines
Quoted 4 lines
and updating the references in "hw/i386/Makefile.objs"?
Thanks
Laszlo
Quoted 3 lines · On Sat, 23 Jan 2016 14:02:08 -0200 Eduardo Habkost <[email protected]> wrote:
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Quoted 19 lines
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_alignMakefile | 2 +- hw/acpi/ich9.c | 8 +-- hw/i386/pc_q35.c | 176 +--------------------------------------------- hw/isa/lpc_ich9.c | 4 +- include/hw/acpi/ich9.h | 1 - include/hw/boards.h | 1 - include/hw/i386/ich9.h | 2 +- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 8 files changed, 9 insertions(+), 185 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.aml
[Qemu-devel] [PATCH 6/5] pc: Remove unused pc_acpi_init() function
In reply to Eduardo Habkost---
Additional code we can remove after removing the old q35 machines.
--- hw/i386/pc.c | 28 ---------------------------- include/hw/i386/pc.h | 1 - 2 files changed, 29 deletions(-)
hw/i386/pc.c +0 -28
@@ -1233,34 +1233,6 @@ void pc_pci_as_mapping_init(Object *owner, MemoryRegion *system_memory, pci_address_space, -1); } -void pc_acpi_init (const char *default_dsdt) -{ -char *filename; - -if (acpi_tables !=NULL ) { -/* manually set via -acpitable, leave it alone */ -return ; - } - - filename =qemu_find_file (QEMU_FILE_TYPE_BIOS , default_dsdt); -if (filename ==NULL ) { -fprintf (stderr,"WARNING: failed to find %s\n" , default_dsdt); - }else { -QemuOpts *opts =qemu_opts_create (qemu_find_opts ("acpi" ),NULL ,0 , - &error_abort); -Error *err =NULL ; - -qemu_opt_set (opts,"file" , filename, &error_abort); - -acpi_table_add_builtin (opts, &err); -if (err) { -error_reportf_err (err,"WARNING: failed to load %s: " , - filename); - } -g_free (filename); - } -} -FWCfgState *xen_load_linux (PCMachineState *pcms,PcGuestInfo *guest_info) {
include/hw/i386/pc.h +0 -1
@@ -230,7 +230,6 @@ void pc_acpi_smi_interrupt(void *opaque, int irq, int level);void pc_cpus_init (PCMachineState *pcms);void pc_hot_add_cpu (const int64_t id,Error **errp); -void pc_acpi_init (const char *default_dsdt);PcGuestInfo *pc_guest_info_init (PCMachineState *pcms);
Signature · 1 line
2.1.0
Laszlo Ersek
Reviewed-byRe: [Qemu-devel] [PATCH 6/5] pc: Remove unused pc_acpi_init() function
Quoted 54 lines · Eduardo Habkost
Signed-off-by Eduardo Habkost <[email protected]>---
Additional code we can remove after removing the old q35 machines.--- hw/i386/pc.c | 28 ---------------------------- include/hw/i386/pc.h | 1 - 2 files changed, 29 deletions(-)hw/i386/pc.c +0
-28@@ -1233,34 +1233,6 @@ void pc_pci_as_mapping_init(Object *owner, MemoryRegion *system_memory, pci_address_space, -1); } -void pc_acpi_init (const char *default_dsdt) -{ -char *filename; - -if (acpi_tables !=NULL ) { -/* manually set via -acpitable, leave it alone */ -return ; - } - - filename =qemu_find_file (QEMU_FILE_TYPE_BIOS , default_dsdt); -if (filename ==NULL ) { -fprintf (stderr,"WARNING: failed to find %s\n" , default_dsdt); - }else { -QemuOpts *opts =qemu_opts_create (qemu_find_opts ("acpi" ),NULL ,0 , - &error_abort); -Error *err =NULL ; - -qemu_opt_set (opts,"file" , filename, &error_abort); - -acpi_table_add_builtin (opts, &err); -if (err) { -error_reportf_err (err,"WARNING: failed to load %s: " , - filename); - } -g_free (filename); - } -} -FWCfgState *xen_load_linux (PCMachineState *pcms,PcGuestInfo *guest_info) {include/hw/i386/pc.h +0
-0
include/hw/i386/pc.h void pc_acpi_smi_interrupt(void *opaque, int irq, int level); · line 235
Quoted 7 lines
include/hw/i386/pc.h +0
-1@@ -230,7 +230,6 @@ void pc_acpi_smi_interrupt(void *opaque, int irq, int level);void pc_cpus_init (PCMachineState *pcms);void pc_hot_add_cpu (const int64_t id,Error **errp); -void pc_acpi_init (const char *default_dsdt);PcGuestInfo *pc_guest_info_init (PCMachineState *pcms);
[Qemu-devel] [PATCH 7/5] acpi: Remove unused acpi_table_add_builtin() function
In reply to Eduardo Habkost---
Additional code removal.
--- hw/acpi/core.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
hw/acpi/core.c +1 -9
@@ -309,14 +309,6 @@ out:error_propagate (errp, err); } -static bool acpi_table_builtin = false; - -void acpi_table_add_builtin (const QemuOpts *opts,Error **errp) -{ - acpi_table_builtin = true; -acpi_table_add (opts, errp); -} -unsigned acpi_table_len (void *current) {struct acpi_table_header *hdr = current -sizeof (hdr->_length);
@@ -332,7 +324,7 @@ void *acpi_table_hdr(void *h)uint8_t *acpi_table_first (void ) { -if (acpi_table_builtin || !acpi_tables) { +if (!acpi_tables) {return NULL ; }return acpi_table_hdr (acpi_tables +ACPI_TABLE_PFX_SIZE );
Signature · 1 line
2.1.0
Laszlo Ersek
Reviewed-byRe: [Qemu-devel] [PATCH 7/5] acpi: Remove unused acpi_table_add_builtin() function
Quoted 28 lines · Eduardo Habkost
Signed-off-by Eduardo Habkost <[email protected]>---
Additional code removal.--- hw/acpi/core.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)hw/acpi/core.c +0
-8@@ -309,14 +309,6 @@ out:error_propagate (errp, err); } -static bool acpi_table_builtin = false; - -void acpi_table_add_builtin (const QemuOpts *opts,Error **errp) -{ - acpi_table_builtin = true; -acpi_table_add (opts, errp); -} -unsigned acpi_table_len (void *current) {struct acpi_table_header *hdr = current -sizeof (hdr->_length);
hw/acpi/core.c void *acpi_table_hdr(void *h) · line 330
Quoted 8 lines
hw/acpi/core.c +1
-1@@ -332,7 +324,7 @@ void *acpi_table_hdr(void *h)uint8_t *acpi_table_first (void ) { -if (acpi_table_builtin || !acpi_tables) { +if (!acpi_tables) {return NULL ; }return acpi_table_hdr (acpi_tables +ACPI_TABLE_PFX_SIZE );
Igor Mammedov
Reviewed-byRe: [Qemu-devel] [PATCH 7/5] acpi: Remove unused acpi_table_add_builtin() function
In reply to Eduardo HabkostQuoted 1 line · On Tue, 26 Jan 2016 12:59:46 -0200 Eduardo Habkost <[email protected]> wrote:
Signed-off-by Eduardo Habkost <[email protected]>
Quoted 34 lines
---
Additional code removal.--- hw/acpi/core.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)hw/acpi/core.c +1
-9@@ -309,14 +309,6 @@ out:error_propagate (errp, err); } -static bool acpi_table_builtin = false; - -void acpi_table_add_builtin (const QemuOpts *opts,Error **errp) -{ - acpi_table_builtin = true; -acpi_table_add (opts, errp); -} -unsigned acpi_table_len (void *current) {struct acpi_table_header *hdr = current -sizeof (hdr->_length);@@ -332,7 +324,7 @@ void *acpi_table_hdr(void *h)uint8_t *acpi_table_first (void ) { -if (acpi_table_builtin || !acpi_tables) { +if (!acpi_tables) {return NULL ; }return acpi_table_hdr (acpi_tables +ACPI_TABLE_PFX_SIZE );
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.
Quoted 21 lines
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_alignMakefile | 2 +- hw/acpi/ich9.c | 8 +-- hw/i386/pc_q35.c | 176 +--------------------------------------------- hw/isa/lpc_ich9.c | 4 +- include/hw/acpi/ich9.h | 1 - include/hw/boards.h | 1 - include/hw/i386/ich9.h | 2 +- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 8 files changed, 9 insertions(+), 185 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.amlSignature · 1 line
2.1.0
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.
If people use them, they can easily update their configurations.
I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Signature · 1 line
Eduardo
Quoted 12 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.
Quoted 46 lines
If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Quoted 2 lines
Signature · 1 line
Eduardo
Quoted 56 lines · Michael S. Tsirkin
Quoted 55 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 39 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Signature · 1 line
Eduardo
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset. I am saying, look for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.
For example, the builtin AML can be dropped since we always use a bios with acpi support now.
It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 6 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Quoted 2 lines
Signature · 1 line
Eduardo
Quoted 68 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Quoted 8 lines
Nope, sorry. It's your idea, your patchset. I am saying, look for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.
For example, the builtin AML can be dropped since we always use a bios with acpi support now.
It is also trivial to test.
Are you seriously proposing to *change* the old machine types in ways that survive (some) testing?
If yes, that's still B, no matter how hard you swear it isn't.
Quoted 3 lines
Memory layout is probably ok to change.
Maybe more.
Unbounded, ill-specified wild goose chase. Ridiculous waste of resources.
Quoted 13 lines
Quoted 6 lines
Quoted 2 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 6 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Quoted 4 lines
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Switching to a different virtual machine type is exactly the same as switching to a different real machine type. You have to shut off to do it. Whether things still work afterwards is anybody's guess, but decent OSes make an effort to cope, and usually succeed.
That's pretty much all the guidance real hardware manufacturers provide, and it's certainly all we should provide.
Quoted 62 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset.
It's your idea. You are the one proposing to waste resources keeping an old machine-type name "working" just because you don't want users (who we don't even know if they actually exist) to update their configurations on a QEMU upgrade.
I am proposing the opposite: dropping support to a feature that people are unlikely to be using, in a very clear way.
Quoted 28 lines
I am saying, look
for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.For example, the builtin AML can be dropped since we always use a bios with acpi support now. It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 7 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Quoted 4 lines
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Exactly the same guidance vendors already provide for people that want to change machine types today. It depends on who wrote the config files and why, and we can't and shouldn't make any guesses.
Signature · 1 line
Eduardo
Quoted 71 lines · Eduardo Habkost
Quoted 62 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset.
Quoted 7 lines
It's your idea. You are the one proposing to waste resources keeping an old machine-type name "working" just because you don't want users (who we don't even know if they actually exist) to update their configurations on a QEMU upgrade.
I am proposing the opposite: dropping support to a feature that people are unlikely to be using, in a very clear way.
What will happen with installed VMs? Will they break?
Quoted 34 lines
Quoted 29 lines
I am saying, look
for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.For example, the builtin AML can be dropped since we always use a bios with acpi support now. It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 7 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Quoted 4 lines
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Quoted 4 lines
Exactly the same guidance vendors already provide for people that want to change machine types today. It depends on who wrote the config files and why, and we can't and shouldn't make any guesses.
AFAIK that's basically "don't do it".
Quoted 2 lines
Signature · 1 line
Eduardo
Quoted 77 lines · Michael S. Tsirkin
Quoted 76 lines · Eduardo Habkost
Quoted 62 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset.
It's your idea. You are the one proposing to waste resources keeping an old machine-type name "working" just because you don't want users (who we don't even know if they actually exist) to update their configurations on a QEMU upgrade.
Quoted 4 lines
Quoted 2 lines
I am proposing the opposite: dropping support to a feature that people are unlikely to be using, in a very clear way.
What will happen with installed VMs? Will they break?
They won't start unless the QEMU command-line is changed, because they are using a feature QEMU won't support anymore. Why is that a problem?
Why do you want to waste so much time keeping a feature that people are not even supposed to be using?
Quoted 35 lines
Quoted 35 lines
Quoted 34 lines
I am saying, look
for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.For example, the builtin AML can be dropped since we always use a bios with acpi support now. It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 7 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Quoted 6 lines
Quoted 4 lines
Exactly the same guidance vendors already provide for people that want to change machine types today. It depends on who wrote the config files and why, and we can't and shouldn't make any guesses.
AFAIK that's basically "don't do it".
So, are you saying that changing a machine is a risky thing, but at the same time you are proposing that QEMU does that silently for the user?
Really, just because you believe somebody out there is using an experimental machine-type and is too afraid to change to a newer one, you want to make QEMU developers waste their time testing and maintaing old compat code and old machine-types forever?
Signature · 1 line
Eduardo
Quoted 78 lines · Eduardo Habkost
Quoted 77 lines · Michael S. Tsirkin
Quoted 76 lines · Eduardo Habkost
Quoted 62 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset.
It's your idea. You are the one proposing to waste resources keeping an old machine-type name "working" just because you don't want users (who we don't even know if they actually exist) to update their configurations on a QEMU upgrade.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
I am proposing the opposite: dropping support to a feature that people are unlikely to be using, in a very clear way.
What will happen with installed VMs? Will they break?
They won't start unless the QEMU command-line is changed, because they are using a feature QEMU won't support anymore. Why is that a problem?
We don't support installing one machine type, then switching. So they won't start unless guest is re-installed. Not nice.
Quoted 2 lines
Why do you want to waste so much time keeping a feature that people are not even supposed to be using?
Why aren't people supposed to use this feature?
Quoted 40 lines
Quoted 40 lines
Quoted 39 lines
Quoted 30 lines
I am saying, look
for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.For example, the builtin AML can be dropped since we always use a bios with acpi support now. It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 7 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Quoted 4 lines
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Exactly the same guidance vendors already provide for people that want to change machine types today. It depends on who wrote the config files and why, and we can't and shouldn't make any guesses.
Quoted 5 lines
Quoted 1 line
AFAIK that's basically "don't do it".
So, are you saying that changing a machine is a risky thing, but at the same time you are proposing that QEMU does that silently for the user?
We do this all the time. Any change in qemu changes something. Compatibility is a question of testing.
Quoted 4 lines
Really, just because you believe somebody out there is using an experimental machine-type and is too afraid to change to a newer one, you want to make QEMU developers waste their time testing and maintaing old compat code and old machine-types forever?
What exactly made it experimental?
Quoted 2 lines
Signature · 1 line
Eduardo
Quoted 84 lines · Michael S. Tsirkin
Quoted 83 lines · Eduardo Habkost
Quoted 81 lines · Michael S. Tsirkin
Quoted 71 lines · Eduardo Habkost
Quoted 62 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset.
Quoted 7 lines
It's your idea. You are the one proposing to waste resources keeping an old machine-type name "working" just because you don't want users (who we don't even know if they actually exist) to update their configurations on a QEMU upgrade.
I am proposing the opposite: dropping support to a feature that people are unlikely to be using, in a very clear way.
What will happen with installed VMs? Will they break?
Quoted 7 lines
Quoted 3 lines
They won't start unless the QEMU command-line is changed, because they are using a feature QEMU won't support anymore. Why is that a problem?
We don't support installing one machine type, then switching. So they won't start unless guest is re-installed. Not nice.
Really? Who is "we"? I believe some vendors support changing the machine-type when necessary. I'm sure most OSes are capable of handling a hardware upgrade.
Quoted 5 lines
Quoted 3 lines
Why do you want to waste so much time keeping a feature that people are not even supposed to be using?
Why aren't people supposed to use this feature?
Because (AFAICS) most developers involved in that code don't want to waste time supporting it, and we already provide better alternatives.
Quoted 41 lines
Quoted 41 lines
Quoted 41 lines
Quoted 40 lines
Quoted 31 lines
I am saying, look
for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.For example, the builtin AML can be dropped since we always use a bios with acpi support now. It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 7 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Quoted 4 lines
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Exactly the same guidance vendors already provide for people that want to change machine types today. It depends on who wrote the config files and why, and we can't and shouldn't make any guesses.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
AFAIK that's basically "don't do it".
So, are you saying that changing a machine is a risky thing, but at the same time you are proposing that QEMU does that silently for the user?
We do this all the time. Any change in qemu changes something. Compatibility is a question of testing.
Testing and reviewing code is costly.
Quoted 7 lines
Quoted 5 lines
Really, just because you believe somebody out there is using an experimental machine-type and is too afraid to change to a newer one, you want to make QEMU developers waste their time testing and maintaing old compat code and old machine-types forever?
What exactly made it experimental?
The fact that nobody declared it as fully supported.
Signature · 1 line
Eduardo
Quoted 5 lines · Michael S. Tsirkin
Quoted 3 lines
They won't start unless the QEMU command-line is changed, because they are using a feature QEMU won't support anymore. Why is that a problem?
We don't support installing one machine type, then switching.
Uhm, we definitely support people using qemu directly with no -M option at all with installed VMs. That's the same as switching machine types every time a new QEMU is released.
At least RHEV supports switching machine types, even RHEL6->RHEL7. There are constraints on when to do that because it affects the whole datacenter, but it is done routinely because each RHEV release only supports two machine types IIRC.
Paolo
Quoted 5 lines · Michael S. Tsirkin
Quoted 3 lines
They won't start unless the QEMU command-line is changed, because they are using a feature QEMU won't support anymore. Why is that a problem?
We don't support installing one machine type, then switching.
Uhm, we definitely support people using qemu directly with no -M option at all with installed VMs. That's the same as switching machine types every time a new QEMU is released.
At least RHEV supports switching machine types, even RHEL6->RHEL7. There are constraints on when to do that because it affects the whole datacenter, but it is done routinely because each RHEV release only supports two machine types IIRC.
Paolo
Quoted 84 lines · Michael S. Tsirkin
Quoted 83 lines · Eduardo Habkost
Quoted 81 lines · Michael S. Tsirkin
Quoted 71 lines · Eduardo Habkost
Quoted 62 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset.
Quoted 7 lines
It's your idea. You are the one proposing to waste resources keeping an old machine-type name "working" just because you don't want users (who we don't even know if they actually exist) to update their configurations on a QEMU upgrade.
I am proposing the opposite: dropping support to a feature that people are unlikely to be using, in a very clear way.
What will happen with installed VMs? Will they break?
Quoted 7 lines
Quoted 3 lines
They won't start unless the QEMU command-line is changed, because they are using a feature QEMU won't support anymore. Why is that a problem?
We don't support installing one machine type, then switching. So they won't start unless guest is re-installed. Not nice.
As Paolo said, this isn't true. You're overstating your case.
I'm going to sound like a broken record, but here goes again: switching machine types means switching hardware. You have to power off to do it. The OS will cope if the new hardware sufficiently similar.
In many cases, you can't know whether it'll cope without testing it. We can test only a finite set of (OS, old-hardware, new-hardware) tuples. Our strategy to deal with this is as follows:
1. We make an effort to ensure switching between old and new machine types works for the most common OSes. This effort is somewhat haphazard upstream, because we lack the resources for more systematic testing. There's a reason enterprise downstreams exist.
2. A user who wants maximum guest ABI stability should ask for a specific version of the machine type.
When a user asks for a specific machine type, we better provide exactly that, no ifs no buts. Any guest-visible change is a bug.
Your proposal to silently provide a newer version of q35 would be such a bug.
We very occasionally cheat and make changes that we think are extremely unlikely to be noticed. This is actually the pragmatic backward compatibility strategy we employ across the board: an incompatibility can be accepted when we're convinced users won't notice, and avoiding it would be too costly.
To make use of this exception for your proposal, *you* have convince us that users won't notice.
We occasionally drop features that aren't worth their keep. If a replacement exists, we point to it. Experimental features we even drop without prior notice.
I'll rehash why q35 was experimental until recently below.
3. Users who can accept small ABI variations can use the latest machine type of a versioned set, via the version-less alias. Not asking for a machine type is even easier, and gets you the latest version of the default machine type, but works only when there is a default machine type, and exposes you to a big ABI change when the default machine type changes.
Quoted 46 lines
Quoted 2 lines
Why do you want to waste so much time keeping a feature that people are not even supposed to be using?
Why aren't people supposed to use this feature?
Quoted 40 lines
Quoted 40 lines
Quoted 39 lines
Quoted 30 lines
I am saying, look
for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.For example, the builtin AML can be dropped since we always use a bios with acpi support now. It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 7 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Quoted 4 lines
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Exactly the same guidance vendors already provide for people that want to change machine types today. It depends on who wrote the config files and why, and we can't and shouldn't make any guesses.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
AFAIK that's basically "don't do it".
So, are you saying that changing a machine is a risky thing, but at the same time you are proposing that QEMU does that silently for the user?
We do this all the time. Any change in qemu changes something. Compatibility is a question of testing.
You are the one proposing to change the old machine types. The onus is on *you* to show that your proposed changes won't be noticed and are worthwhile.
I have no opinion to offer on "won't be noticed", simply because I'm convinced changing them is an egregious waste of resources.
Eduardo and I don't want to change the old machine types, we want to *drop* them. The onus is on us to show that dropping them won't unduly inconvenience users. Our arguments:
1. There is no evidence of non-experimental use.
2. There is no sane reason for non-experimental use (see below).
3. Existing users (if any) are better off moving to newer machine types. The old machine types provide no stability anyway, so there's no extra risk in moving.
4. However, moving them to newer machine types *silently* is inappropriate. Users should be given the chance to assess the risk and plan their move. In the meantime, they can stay on the old QEMU version. Failing attempts to use the old machine types with a suitable error message or documentation accomplishes that.
5. Maintaining old machine types that should not be used anymore is a pointless waste of resources.
Quoted 6 lines
Quoted 4 lines
Really, just because you believe somebody out there is using an experimental machine-type and is too afraid to change to a newer one, you want to make QEMU developers waste their time testing and maintaing old compat code and old machine-types forever?
What exactly made it experimental?
I've wasted too much time in this thread for today already, so I'll be brief:
1. Q35 barely worked. The -hda/-cdrom command line sugar didn't work until 2.2. Chipset emulation was full of bugs until 2.4. Migration didn't work at all until 2.4. That's were Eduardo proposes to make the cut.
2. Until 2.4, we pretty much ignored backward compatibility when changing Q35. For instance, something like commit c8b5b20 would be unacceptable for a "real" machine type.
3. The features Q35 provides over i440FX have become usable only recently.
Why would anyone go to the trouble to ask for a machine type that provides only disadvantages for any reason but experimenting with it?
Quoted 242 lines · Markus Armbruster
Quoted 84 lines · Michael S. Tsirkin
Quoted 83 lines · Eduardo Habkost
Quoted 81 lines · Michael S. Tsirkin
Quoted 71 lines · Eduardo Habkost
Quoted 62 lines · Michael S. Tsirkin
Quoted 61 lines · Eduardo Habkost
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Do you volunteer for that work?
Nope, sorry. It's your idea, your patchset.
Quoted 7 lines
It's your idea. You are the one proposing to waste resources keeping an old machine-type name "working" just because you don't want users (who we don't even know if they actually exist) to update their configurations on a QEMU upgrade.
I am proposing the opposite: dropping support to a feature that people are unlikely to be using, in a very clear way.
What will happen with installed VMs? Will they break?
Quoted 7 lines
Quoted 3 lines
They won't start unless the QEMU command-line is changed, because they are using a feature QEMU won't support anymore. Why is that a problem?
We don't support installing one machine type, then switching. So they won't start unless guest is re-installed. Not nice.
As Paolo said, this isn't true. You're overstating your case.
I'm going to sound like a broken record, but here goes again: switching machine types means switching hardware. You have to power off to do it. The OS will cope if the new hardware sufficiently similar.
In many cases, you can't know whether it'll cope without testing it. We can test only a finite set of (OS, old-hardware, new-hardware) tuples. Our strategy to deal with this is as follows:
1. We make an effort to ensure switching between old and new machine types works for the most common OSes. This effort is somewhat haphazard upstream, because we lack the resources for more systematic testing. There's a reason enterprise downstreams exist.
2. A user who wants maximum guest ABI stability should ask for a specific version of the machine type.
When a user asks for a specific machine type, we better provide exactly that, no ifs no buts. Any guest-visible change is a bug.
Your proposal to silently provide a newer version of q35 would be such a bug.
We very occasionally cheat and make changes that we think are extremely unlikely to be noticed. This is actually the pragmatic backward compatibility strategy we employ across the board: an incompatibility can be accepted when we're convinced users won't notice, and avoiding it would be too costly.
To make use of this exception for your proposal, *you* have convince us that users won't notice.
We occasionally drop features that aren't worth their keep. If a replacement exists, we point to it. Experimental features we even drop without prior notice.
I'll rehash why q35 was experimental until recently below.
3. Users who can accept small ABI variations can use the latest machine type of a versioned set, via the version-less alias. Not asking for a machine type is even easier, and gets you the latest version of the default machine type, but works only when there is a default machine type, and exposes you to a big ABI change when the default machine type changes.
Quoted 46 lines
Quoted 2 lines
Why do you want to waste so much time keeping a feature that people are not even supposed to be using?
Why aren't people supposed to use this feature?
Quoted 40 lines
Quoted 40 lines
Quoted 39 lines
Quoted 30 lines
I am saying, look
for some low-hanging fruit. Find some compat options we can drop without breaking guests, drop just these. Are there options we need for piix anyway? No point in dropping them at all.For example, the builtin AML can be dropped since we always use a bios with acpi support now. It is also trivial to test.
Memory layout is probably ok to change.
Maybe more.
Quoted 7 lines
Quoted 3 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
Anything can happen if people change their configurations blindly.
Quoted 7 lines
Nobody should change configuration blindly, and that's also why we shouldn't run a different machine when the user is asking for an old one. We don't know why the user is asking for an old machine and we can't make decisions for the user. Management software might know why an old machine is being used and might be able to help update the config, but QEMU doesn't.
Quoted 4 lines
What guidance do we provide? Try it and see if it works? What exactly do we ask user to test? If QEMU developers can't find out whether switching a machine type is safe, what hope is there that management developers can?
Exactly the same guidance vendors already provide for people that want to change machine types today. It depends on who wrote the config files and why, and we can't and shouldn't make any guesses.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
AFAIK that's basically "don't do it".
So, are you saying that changing a machine is a risky thing, but at the same time you are proposing that QEMU does that silently for the user?
We do this all the time. Any change in qemu changes something. Compatibility is a question of testing.
You are the one proposing to change the old machine types. The onus is on *you* to show that your proposed changes won't be noticed and are worthwhile.
I have no opinion to offer on "won't be noticed", simply because I'm convinced changing them is an egregious waste of resources.
Eduardo and I don't want to change the old machine types, we want to *drop* them. The onus is on us to show that dropping them won't unduly inconvenience users. Our arguments:
1. There is no evidence of non-experimental use.
2. There is no sane reason for non-experimental use (see below).
3. Existing users (if any) are better off moving to newer machine types. The old machine types provide no stability anyway, so there's no extra risk in moving.
4. However, moving them to newer machine types *silently* is inappropriate. Users should be given the chance to assess the risk and plan their move. In the meantime, they can stay on the old QEMU version. Failing attempts to use the old machine types with a suitable error message or documentation accomplishes that.
5. Maintaining old machine types that should not be used anymore is a pointless waste of resources.
Quoted 6 lines
Quoted 4 lines
Really, just because you believe somebody out there is using an experimental machine-type and is too afraid to change to a newer one, you want to make QEMU developers waste their time testing and maintaing old compat code and old machine-types forever?
What exactly made it experimental?
I've wasted too much time in this thread for today already, so I'll be brief:
1. Q35 barely worked. The -hda/-cdrom command line sugar didn't work until 2.2. Chipset emulation was full of bugs until 2.4. Migration didn't work at all until 2.4. That's were Eduardo proposes to make the cut.
2. Until 2.4, we pretty much ignored backward compatibility when changing Q35. For instance, something like commit c8b5b20 would be unacceptable for a "real" machine type.
Quoted 5 lines
3. The features Q35 provides over i440FX have become usable only recently.
Why would anyone go to the trouble to ask for a machine type that provides only disadvantages for any reason but experimenting with it?
No reply from you since Monday.
You can
(a) Apply Eduardo's series.
(b) Debate its merits.
(c) Declare the debate stuck, and put it on the agenda for the next KVM call.
(d) Other (do tell).
What you can't do make the problem go away by ignoring it. It hasn't gone away for six months and two releases.
Quoted 1 line · Markus Armbruster
No reply from you since Monday.
Yes but I'm flooded with other stuff to review. I'll get back to it, 3 days isn't such a long time.
Quoted 10 lines
You can
(a) Apply Eduardo's series.
(b) Debate its merits.
(c) Declare the debate stuck, and put it on the agenda for the next KVM call.
(d) Other (do tell).
Thinking it over on the weekend can't hurt, so I intend to do this. Meanwhile, you could help by reviewing the patchset and sending acks on list (maybe you did, but I can't find it).
Quoted 2 lines
What you can't do make the problem go away by ignoring it. It hasn't gone away for six months and two releases.
I don't think there's a problem as such - the patchset is just supposed to simplify maintainance - but I don't intend to ignore the patchset.
Signature · 1 line
MST
Quoted 10 lines · Michael S. Tsirkin
Quoted 1 line · Markus Armbruster
No reply from you since Monday.
Yes but I'm flooded with other stuff to review. I'll get back to it, 3 days isn't such a long time.
Quoted 4 lines
You can
(a) Apply Eduardo's series.
Quoted 8 lines
Quoted 6 lines
(b) Debate its merits.
(c) Declare the debate stuck, and put it on the agenda for the next KVM call.
(d) Other (do tell).
Thinking it over on the weekend can't hurt, so I intend to do this.
We've debated this for six months, so taking a few more days to mull it over some more won't make a difference.
Quoted 2 lines
Meanwhile, you could help by reviewing the patchset and sending acks on list (maybe you did, but I can't find it).
I thought I had sent out my R-by long ago. Looks like I haven't (my bad), so I did so just now, after re-checking the patches.
Quoted 5 lines
Quoted 2 lines
What you can't do make the problem go away by ignoring it. It hasn't gone away for six months and two releases.
I don't think there's a problem as such - the patchset is just supposed to simplify maintainance - but I don't intend to ignore the patchset.
Thanks!
Quoted 56 lines · Michael S. Tsirkin
Quoted 55 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 39 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
What exactly are you proposing to do? Who should be doing it? And what other work are you willing to sacrifice to get this task done?
Quoted 2 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
PEBKAC
Users switch machine types for any number of reasons, good and bad. You can't stop the ones switching for bad reasons by keeping some barely working machine type around forever.
Quoted 62 lines · Markus Armbruster
Quoted 60 lines · Michael S. Tsirkin
Quoted 58 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
Quoted 5 lines
Quoted 3 lines
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
What exactly are you proposing to do?
I'm not sure. But if someone says "we drop machine X, people can use machine Y instead" then clearly, there should be some data included about how well does Y function in place of X:
based on code analysis, testing, or both.
Some ideas for things that seem rather safe based on code analysis:
1. We should be able to explicitly disable migration for old machine types that could not migrate historically so users don't try to migrate them now that they can.
2. Drop stuff that isn't guest OS visible, that we
keep around for migration or old bios support. has_acpi_build - old bios support will allow removing the dsdt AML. option_rom_has_mr - not guest visible.
Nothing is 100% safe - e.g. people that use their own bios will get bitten by removal of AML.
Quoted 1 line
Who should be doing it?
Whoever's interested.
Quoted 2 lines
And what
other work are you willing to sacrifice to get this task done?
I don't much care about getting this done - most stuff has to be there for piix anyway.
Quoted 8 lines
Quoted 2 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
PEBKAC
Users switch machine types for any number of reasons, good and bad. You can't stop the ones switching for bad reasons by keeping some barely working machine type around forever.
If you tell people to switch to a new machine type, then switching is not PEBKAC and you need a tested migration path that does not involve reinstalling the gust OS for most users.
Signature · 1 line
MST
Quoted 67 lines · Michael S. Tsirkin
Quoted 66 lines · Markus Armbruster
Quoted 63 lines · Michael S. Tsirkin
Quoted 12 lines · Eduardo Habkost
Quoted 10 lines · Michael S. Tsirkin
Quoted 3 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
The same thing I said applies - we don't know that nobody uses old q35 machine types.
We do know we don't need to migrate to/from them,
so we can drop compat code.
But please add aliases so people can still start these machines.Quoted 46 lines
If people use them, they can easily update their configurations. I will copy and paste the reply Markus sent 4 months ago below.
Quoted 42 lines · Markus Armbruster
We've been through this before, but we can go through it once more. Choices:
A. Remove old machine type
A guest using it can't be started. Easy to understand on the host. An error message advising to switch to a newer machine type would be a nice touch.
This is a clean break in backward compatibility. To be mentioned in release notes, obviously.
B. Change old machine type in a guest-visible way
Depending on the nature of the change and the guest, a guest using it either doesn't notice, copes with it successfully, or fails in guest-specific ways. If the latter, the failure can be "guest hangs", which is much harder to figure out than A.
Unless we can *demonstrate* that nothing bad happens for all the guests people actually use with the old machine types, this is a different kind of backward compatibility break.
Demonstrating this is feels infeasible to me, but you're welcome to try.
I could call the difference between the two a tradeoff, but since we've been through this before, I'll be more blunt: choosing B robs Peter (the guy with guests where badness happens) to pay Paul (the guy with guests that cope). Paul is saved the inconvenience of having to read release notes or his logs, and change machine types. Peter pays for that with figuring out WTF his guests are doing now.
As a user, I'd pick a clean break in backward compatibility over a hack that preserves effective compatibility when it works, but breaks it uncleanly when it doesn't.
As a developer, I'm insisting on it.
So, if you want B, the onus is on *you* to show us why nothing bad will happen.
I agree with the conclusion for option B. But I think the correct solution is not A, it is to analyse changes, maybe even test, and show that nothing bad can happen.
Quoted 6 lines
Quoted 1 line
What exactly are you proposing to do?
I'm not sure. But if someone says "we drop machine X, people can use machine Y instead" then clearly, there should be some data included about how well does Y function in place of X:
based on code analysis, testing, or both.
No, that's not what we say. We say: machine type X is no longer supported in new versions of QEMU. You can either stay on older QEMU versions, or you can migrate to newer virtual hardware.
Migrating to new hardware (virtual or physical) is a well understood problem. You can go with a fresh install on new hardware. You can also try to move your old disk or disk contents to new hardware. The latter usually works when the new hardware isn't too different. But if it breaks, you get to keep the pieces.
Since "stay on old QEMU or migrate to another machine type" inconveniences users, we make an effort[*] to keep those machine types alive that people actually use seriously.
The old q35 machine types are experimental and barely work. There is no evidence of non-experimental use. Keeping them alive would therefore be a misuse of scarce resources.
Quoted 5 lines
Some ideas for things that seem rather safe based on code analysis:
1. We should be able to explicitly disable migration for old machine types that could not migrate historically so users don't try to migrate them now that they can.
Nobody should should be migrating these machine types for the simple reason that nobody should be using them.
Quoted 8 lines
2. Drop stuff that isn't guest OS visible, that we
keep around for migration or old bios support.has_acpi_build- old bios support will allow removing the dsdt AML.option_rom_has_mr- not guest visible.Nothing is 100% safe - e.g. people that use their own bios will get bitten by removal of AML.
Keeping these types is a pointless waste of maintenance resources. Messing with them additionally wastes development resources.
Quoted 3 lines
Quoted 1 line
Who should be doing it?
Whoever's interested.
I'm having a hard time believing what I read, so I'm asking you to correct my reading: as the PC maintainer, you demand that "somebody" goes on an unbounded, ill-defined, "I'm not sure" research trip before we can get rid of experimental machine types that barely worked and nobody should be using. Without any evidence of actual use, let alone harm. What am I misunderstanding?
Quoted 11 lines
Quoted 2 lines
And what
other work are you willing to sacrifice to get this task done?I don't much care about getting this done - most stuff has to be there for piix anyway.
Quoted 5 lines
Quoted 2 lines
Because A suffers from exactly the same problem if people just blindly switch to a new machine type.
PEBKAC
Quoted 7 lines
Quoted 3 lines
Users switch machine types for any number of reasons, good and bad. You can't stop the ones switching for bad reasons by keeping some barely working machine type around forever.
If you tell people to switch to a new machine type, then switching is not PEBKAC and you need a tested migration path that does not involve reinstalling the gust OS for most users.
You're missing my point entirely.
Switching machine types without understanding the risks is PEBKAC.
I'm not proposing to tell our users to blindly switch machine types. I'm proposing to tell users of the old q35 machine types (if they exist at all, which I doubt) to migrate to a suitable new machine type.
[*] "Make an effort" because we lack the resources to systematically catch regressions before they happen. If you need stability, use a downstream that does the necessary work.
Quoted 10 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_align
Followup questions:
* Can pcmc->pci_enabled be false in pc_q35_init()?
* Likewise, pcmc->smbios_defaults?
Quoted 13 lines · Markus Armbruster
Quoted 10 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_align
Quoted 5 lines
Reviewed-by Markus Armbruster <[email protected]>Followup questions:
* Can
pcmc->pci_enabledbe false inpc_q35_init()?
No, but I am trying to keep pc_q35_init() code closer to pc_piix.c:pc_init1() to make future code unification easier.
Quoted 2 lines
* Likewise,
pcmc->smbios_defaults?
Ditto.
However, if other developers think otherwise and would like to make q35_init() simpler in the meantime, I won't object to patches removing the "if" lines.
Signature · 1 line
Eduardo
Quoted 24 lines · Eduardo Habkost
Quoted 13 lines · Markus Armbruster
Quoted 10 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_alignQuoted 5 lines
Reviewed-by Markus Armbruster <[email protected]>Followup questions:
* Can
pcmc->pci_enabledbe false inpc_q35_init()?No, but I am trying to keep
pc_q35_init()code closer to pc_piix.c:pc_init1() to make future code unification easier.Quoted 1 line
Quoted 7 lines
Quoted 1 line
* Likewise,
pcmc->smbios_defaults?Ditto.
However, if other developers think otherwise and would like to make
q35_init()simpler in the meantime, I won't object to patches removing the "if" lines.
That's for the people working on this code to decide.
Thanks!
Quoted 10 lines · Eduardo Habkost
This is another attempt to remove old q35 machine code. Now I am also removing unused compat code to demonstrate the benefit of throwing away the old code that nobody uses.
Eduardo Habkost (5):
q35: Remove old machine versions
machine: Removeno_tcofield
ich9: Removeenable_tcoarguments from init functions
q35: Remove unused q35-acpi-dsdt.aml file
q35: No need to checkgigabyte_align
Looks like everyone wants this applied, so I'll go along. Thanks everyone!
Quoted 13 lines
Makefile | 2 +- hw/acpi/ich9.c | 8 +-- hw/i386/pc_q35.c | 176 +--------------------------------------------- hw/isa/lpc_ich9.c | 4 +- include/hw/acpi/ich9.h | 1 - include/hw/boards.h | 1 - include/hw/i386/ich9.h | 2 +- pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes 8 files changed, 9 insertions(+), 185 deletions(-) delete mode 100644 pc-bios/q35-acpi-dsdt.amlSignature · 1 line
2.1.0