@@ -359,18 +359,6 @@ static void pc_compat_1_4_fn(MachineState *machine)
359
359
pc_compat_1_5_fn (machine );
360
360
}
361
361
362
- static void pc_compat_1_3 (MachineState * machine )
363
- {
364
- pc_compat_1_4_fn (machine );
365
- }
366
-
367
- /* PC compat function for pc-1.0 to pc-1.2 */
368
- static void pc_compat_1_2 (MachineState * machine )
369
- {
370
- pc_compat_1_3 (machine );
371
- x86_cpu_change_kvm_default ("kvm-pv-eoi" , NULL );
372
- }
373
-
374
362
static void pc_init_isa (MachineState * machine )
375
363
{
376
364
pc_init1 (machine , TYPE_I440FX_PCI_HOST_BRIDGE , TYPE_I440FX_PCI_DEVICE );
@@ -772,88 +760,6 @@ static void pc_i440fx_1_4_machine_options(MachineClass *m)
772
760
DEFINE_I440FX_MACHINE (v1_4 , "pc-i440fx-1.4" , pc_compat_1_4_fn ,
773
761
pc_i440fx_1_4_machine_options );
774
762
775
- static void pc_i440fx_1_3_machine_options (MachineClass * m )
776
- {
777
- X86MachineClass * x86mc = X86_MACHINE_CLASS (m );
778
- static GlobalProperty compat [] = {
779
- PC_CPU_MODEL_IDS ("1.3.0" )
780
- { "usb-tablet" , "usb_version" , "1" },
781
- { "virtio-net-pci" , "ctrl_mac_addr" , "off" },
782
- { "virtio-net-pci" , "mq" , "off" },
783
- { "e1000" , "autonegotiation" , "off" },
784
- };
785
-
786
- pc_i440fx_1_4_machine_options (m );
787
- m -> hw_version = "1.3.0" ;
788
- m -> deprecation_reason = "use a newer machine type instead" ;
789
- x86mc -> compat_apic_id_mode = true;
790
- compat_props_add (m -> compat_props , compat , G_N_ELEMENTS (compat ));
791
- }
792
-
793
- DEFINE_I440FX_MACHINE (v1_3 , "pc-1.3" , pc_compat_1_3 ,
794
- pc_i440fx_1_3_machine_options );
795
-
796
-
797
- static void pc_i440fx_1_2_machine_options (MachineClass * m )
798
- {
799
- static GlobalProperty compat [] = {
800
- PC_CPU_MODEL_IDS ("1.2.0" )
801
- { "nec-usb-xhci" , "msi" , "off" },
802
- { "nec-usb-xhci" , "msix" , "off" },
803
- { "qxl" , "revision" , "3" },
804
- { "qxl-vga" , "revision" , "3" },
805
- { "VGA" , "mmio" , "off" },
806
- };
807
-
808
- pc_i440fx_1_3_machine_options (m );
809
- m -> hw_version = "1.2.0" ;
810
- compat_props_add (m -> compat_props , compat , G_N_ELEMENTS (compat ));
811
- }
812
-
813
- DEFINE_I440FX_MACHINE (v1_2 , "pc-1.2" , pc_compat_1_2 ,
814
- pc_i440fx_1_2_machine_options );
815
-
816
-
817
- static void pc_i440fx_1_1_machine_options (MachineClass * m )
818
- {
819
- static GlobalProperty compat [] = {
820
- PC_CPU_MODEL_IDS ("1.1.0" )
821
- { "virtio-scsi-pci" , "hotplug" , "off" },
822
- { "virtio-scsi-pci" , "param_change" , "off" },
823
- { "VGA" , "vgamem_mb" , "8" },
824
- { "vmware-svga" , "vgamem_mb" , "8" },
825
- { "qxl-vga" , "vgamem_mb" , "8" },
826
- { "qxl" , "vgamem_mb" , "8" },
827
- { "virtio-blk-pci" , "config-wce" , "off" },
828
- };
829
-
830
- pc_i440fx_1_2_machine_options (m );
831
- m -> hw_version = "1.1.0" ;
832
- compat_props_add (m -> compat_props , compat , G_N_ELEMENTS (compat ));
833
- }
834
-
835
- DEFINE_I440FX_MACHINE (v1_1 , "pc-1.1" , pc_compat_1_2 ,
836
- pc_i440fx_1_1_machine_options );
837
-
838
- static void pc_i440fx_1_0_machine_options (MachineClass * m )
839
- {
840
- static GlobalProperty compat [] = {
841
- PC_CPU_MODEL_IDS ("1.0" )
842
- { TYPE_ISA_FDC , "check_media_rate" , "off" },
843
- { "virtio-balloon-pci" , "class" , stringify (PCI_CLASS_MEMORY_RAM ) },
844
- { "apic-common" , "vapic" , "off" },
845
- { TYPE_USB_DEVICE , "full-path" , "no" },
846
- };
847
-
848
- pc_i440fx_1_1_machine_options (m );
849
- m -> hw_version = "1.0" ;
850
- compat_props_add (m -> compat_props , compat , G_N_ELEMENTS (compat ));
851
- }
852
-
853
- DEFINE_I440FX_MACHINE (v1_0 , "pc-1.0" , pc_compat_1_2 ,
854
- pc_i440fx_1_0_machine_options );
855
-
856
-
857
763
typedef struct {
858
764
uint16_t gpu_device_id ;
859
765
uint16_t pch_device_id ;
0 commit comments