mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/boards: Do not create unusable default if=sd drives
A number of machines create an if=sd drive by default even though they lack an SD bus, and therefore cannot use the drive. This drive is created when the machine sets flag @auto_create_sdcard. See for example running HMP "info block" on the HPPA C3700 machine: $ qemu-system-hppa -M C3700 -monitor stdio -S (qemu) info block floppy0: [not inserted] Removable device: not locked, tray closed sd0: [not inserted] Removable device: not locked, tray closed $ qemu-system-hppa -M C3700 -sd /bin/sh qemu-system-hppa: -sd /bin/sh: machine type does not support if=sd,bus=0,unit=0 Delete that from machines that lack an SD bus. Note, only the ARM and RISCV targets use such feature: $ git grep -wl IF_SD hw | cut -d/ -f-2 | sort -u hw/arm hw/riscv $ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20250204200934.65279-5-philmd@linaro.org>
This commit is contained in:
parent
cdc8d7cada
commit
5824fad4e9
51 changed files with 0 additions and 120 deletions
|
@ -213,7 +213,6 @@ static void clipper_machine_init(MachineClass *mc)
|
|||
mc->default_cpu_type = ALPHA_CPU_TYPE_NAME("ev67");
|
||||
mc->default_ram_id = "ram";
|
||||
mc->default_nic = "e1000";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("clipper", clipper_machine_init)
|
||||
|
|
|
@ -67,7 +67,6 @@ static void arduino_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->no_floppy = 1;
|
||||
mc->no_cdrom = 1;
|
||||
mc->no_parallel = 1;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static void arduino_duemilanove_class_init(ObjectClass *oc, void *data)
|
||||
|
|
|
@ -704,7 +704,6 @@ static void HP_B160L_machine_init_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_boot_order = "cd";
|
||||
mc->default_ram_id = "ram";
|
||||
mc->default_nic = "tulip";
|
||||
mc->auto_create_sdcard = true;
|
||||
|
||||
nc->nmi_monitor_handler = hppa_nmi;
|
||||
}
|
||||
|
@ -741,7 +740,6 @@ static void HP_C3700_machine_init_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_boot_order = "cd";
|
||||
mc->default_ram_id = "ram";
|
||||
mc->default_nic = "tulip";
|
||||
mc->auto_create_sdcard = true;
|
||||
|
||||
nc->nmi_monitor_handler = hppa_nmi;
|
||||
}
|
||||
|
|
|
@ -1799,7 +1799,6 @@ static void pc_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->smp_props.dies_supported = true;
|
||||
mc->smp_props.modules_supported = true;
|
||||
mc->default_ram_id = "pc.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
pcmc->default_smbios_ep_type = SMBIOS_ENTRY_POINT_TYPE_AUTO;
|
||||
|
||||
object_class_property_add(oc, PC_MACHINE_MAX_RAM_BELOW_4G, "size",
|
||||
|
|
|
@ -382,7 +382,6 @@ static void x86_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->get_default_cpu_node_id = x86_get_default_cpu_node_id;
|
||||
mc->possible_cpu_arch_ids = x86_possible_cpu_arch_ids;
|
||||
mc->kvm_type = x86_kvm_type;
|
||||
mc->auto_create_sdcard = true;
|
||||
x86mc->save_tsc_khz = true;
|
||||
x86mc->fwcfg_dma_enabled = true;
|
||||
nc->nmi_monitor_handler = x86_nmi;
|
||||
|
|
|
@ -82,7 +82,6 @@ static void xen_pvh_machine_class_init(ObjectClass *oc, void *data)
|
|||
|
||||
mc->desc = "Xen PVH x86 machine";
|
||||
mc->default_cpu_type = TARGET_DEFAULT_CPU_TYPE;
|
||||
mc->auto_create_sdcard = true;
|
||||
|
||||
/* mc->max_cpus holds the MAX value allowed in the -smp cmd-line opts. */
|
||||
mc->max_cpus = HVM_MAX_VCPUS;
|
||||
|
|
|
@ -954,7 +954,6 @@ static void virt_class_init(ObjectClass *oc, void *data)
|
|||
mc->block_default_type = IF_VIRTIO;
|
||||
mc->default_boot_order = "c";
|
||||
mc->no_cdrom = 1;
|
||||
mc->auto_create_sdcard = true;
|
||||
mc->possible_cpu_arch_ids = virt_possible_cpu_arch_ids;
|
||||
mc->cpu_index_to_instance_props = virt_cpu_index_to_props;
|
||||
mc->get_default_cpu_node_id = virt_get_default_cpu_node_id;
|
||||
|
|
|
@ -99,7 +99,6 @@ static void an5206_machine_init(MachineClass *mc)
|
|||
mc->init = an5206_init;
|
||||
mc->default_cpu_type = M68K_CPU_TYPE_NAME("m5206");
|
||||
mc->default_ram_id = "an5206.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("an5206", an5206_machine_init)
|
||||
|
|
|
@ -398,7 +398,6 @@ static void mcf5208evb_machine_init(MachineClass *mc)
|
|||
mc->is_default = true;
|
||||
mc->default_cpu_type = M68K_CPU_TYPE_NAME("m5208");
|
||||
mc->default_ram_id = "mcf5208.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("mcf5208evb", mcf5208evb_machine_init)
|
||||
|
|
|
@ -1359,7 +1359,6 @@ static void next_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_ram_id = "next.ram";
|
||||
mc->default_cpu_type = M68K_CPU_TYPE_NAME("m68040");
|
||||
mc->no_cdrom = true;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo next_typeinfo = {
|
||||
|
|
|
@ -743,7 +743,6 @@ static void q800_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 1;
|
||||
mc->block_default_type = IF_SCSI;
|
||||
mc->default_ram_id = "m68k_mac.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
machine_add_audiodev_property(mc);
|
||||
compat_props_add(mc->compat_props, hw_compat_q800, hw_compat_q800_len);
|
||||
|
||||
|
|
|
@ -318,7 +318,6 @@ static void virt_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 1;
|
||||
mc->no_floppy = 1;
|
||||
mc->no_parallel = 1;
|
||||
mc->auto_create_sdcard = true;
|
||||
mc->default_ram_id = "m68k_virt.ram";
|
||||
}
|
||||
|
||||
|
|
|
@ -220,7 +220,6 @@ static void petalogix_ml605_machine_init(MachineClass *mc)
|
|||
mc->desc = "PetaLogix linux refdesign for xilinx ml605 (little endian)";
|
||||
#endif
|
||||
mc->init = petalogix_ml605_init;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("petalogix-ml605", petalogix_ml605_machine_init)
|
||||
|
|
|
@ -142,7 +142,6 @@ static void petalogix_s3adsp1800_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->desc = "PetaLogix linux refdesign for xilinx Spartan 3ADSP1800";
|
||||
mc->init = petalogix_s3adsp1800_init;
|
||||
mc->is_default = true;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo petalogix_s3adsp1800_machine_types[] = {
|
||||
|
|
|
@ -188,7 +188,6 @@ static void xlnx_zynqmp_pmu_machine_init(MachineClass *mc)
|
|||
mc->desc = "Xilinx ZynqMP PMU machine (little endian)";
|
||||
#endif
|
||||
mc->init = xlnx_zynqmp_pmu_init;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("xlnx-zynqmp-pmu", xlnx_zynqmp_pmu_machine_init)
|
||||
|
|
|
@ -842,7 +842,6 @@ static void boston_mach_class_init(MachineClass *mc)
|
|||
mc->default_ram_id = "boston.ddr";
|
||||
mc->max_cpus = 16;
|
||||
mc->default_cpu_type = MIPS_CPU_TYPE_NAME("I6400");
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("boston", boston_mach_class_init)
|
||||
|
|
|
@ -335,7 +335,6 @@ static void mips_fuloong2e_machine_init(MachineClass *mc)
|
|||
mc->default_ram_size = 256 * MiB;
|
||||
mc->default_ram_id = "fuloong2e.ram";
|
||||
mc->minimum_page_bits = 14;
|
||||
mc->auto_create_sdcard = true;
|
||||
machine_add_audiodev_property(mc);
|
||||
}
|
||||
|
||||
|
|
|
@ -424,7 +424,6 @@ static void mips_magnum_class_init(ObjectClass *oc, void *data)
|
|||
mc->block_default_type = IF_SCSI;
|
||||
mc->default_cpu_type = MIPS_CPU_TYPE_NAME("R4000");
|
||||
mc->default_ram_id = "mips_jazz.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo mips_magnum_type = {
|
||||
|
@ -442,7 +441,6 @@ static void mips_pica61_class_init(ObjectClass *oc, void *data)
|
|||
mc->block_default_type = IF_SCSI;
|
||||
mc->default_cpu_type = MIPS_CPU_TYPE_NAME("R4000");
|
||||
mc->default_ram_id = "mips_jazz.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo mips_pica61_type = {
|
||||
|
|
|
@ -679,7 +679,6 @@ static void loongson3v_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_ram_size = 1600 * MiB;
|
||||
mc->minimum_page_bits = 14;
|
||||
mc->default_nic = "virtio-net-pci";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo loongson3_machine_types[] = {
|
||||
|
|
|
@ -1306,7 +1306,6 @@ static void mips_malta_machine_init(MachineClass *mc)
|
|||
mc->default_cpu_type = MIPS_CPU_TYPE_NAME("24Kf");
|
||||
#endif
|
||||
mc->default_ram_id = "mips_malta.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
compat_props_add(mc->compat_props, malta_compat, malta_compat_len);
|
||||
}
|
||||
|
||||
|
|
|
@ -247,7 +247,6 @@ static void mips_mipssim_machine_init(MachineClass *mc)
|
|||
mc->default_cpu_type = MIPS_CPU_TYPE_NAME("24Kf");
|
||||
#endif
|
||||
mc->default_ram_id = "mips_mipssim.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("mipssim", mips_mipssim_machine_init)
|
||||
|
|
|
@ -368,7 +368,6 @@ static void openrisc_sim_machine_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = OR1KSIM_CPUS_MAX;
|
||||
mc->is_default = true;
|
||||
mc->default_cpu_type = OPENRISC_CPU_TYPE_NAME("or1200");
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo or1ksim_machine_typeinfo = {
|
||||
|
|
|
@ -554,7 +554,6 @@ static void openrisc_virt_machine_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = VIRT_CPUS_MAX;
|
||||
mc->is_default = false;
|
||||
mc->default_cpu_type = OPENRISC_CPU_TYPE_NAME("or1200");
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo or1ksim_machine_typeinfo = {
|
||||
|
|
|
@ -173,7 +173,6 @@ static void amigaone_machine_init(MachineClass *mc)
|
|||
mc->default_display = "std";
|
||||
mc->default_ram_id = "ram";
|
||||
mc->default_ram_size = 512 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("amigaone", amigaone_machine_init)
|
||||
|
|
|
@ -100,7 +100,6 @@ static void e500plat_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("e500v2_v30");
|
||||
mc->default_ram_id = "mpc8544ds.ram";
|
||||
mc->default_nic = "virtio-net-pci";
|
||||
mc->auto_create_sdcard = true;
|
||||
machine_class_allow_dynamic_sysbus_dev(mc, TYPE_ETSEC_COMMON);
|
||||
}
|
||||
|
||||
|
|
|
@ -580,7 +580,6 @@ static void core99_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_boot_order = "cd";
|
||||
mc->default_display = "std";
|
||||
mc->default_nic = "sungem";
|
||||
mc->auto_create_sdcard = true;
|
||||
mc->kvm_type = core99_kvm_type;
|
||||
#ifdef TARGET_PPC64
|
||||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("970fx_v3.1");
|
||||
|
|
|
@ -427,7 +427,6 @@ static void heathrow_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_nic = "ne2k_pci";
|
||||
mc->ignore_boot_device_suffixes = true;
|
||||
mc->default_ram_id = "ppc_heathrow.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
fwc->get_dev_path = heathrow_fw_dev_path;
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,6 @@ static void mpc8544ds_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("e500v2_v30");
|
||||
mc->default_ram_id = "mpc8544ds.ram";
|
||||
mc->default_nic = "virtio-net-pci";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
#define TYPE_MPC8544DS_MACHINE MACHINE_TYPE_NAME("mpc8544ds")
|
||||
|
|
|
@ -604,7 +604,6 @@ static void pegasos2_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("7457_v1.2");
|
||||
mc->default_ram_id = "pegasos2.ram";
|
||||
mc->default_ram_size = 512 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
machine_add_audiodev_property(mc);
|
||||
|
||||
vhc->cpu_in_nested = pegasos2_cpu_in_nested;
|
||||
|
|
|
@ -2878,7 +2878,6 @@ static void pnv_machine_class_init(ObjectClass *oc, void *data)
|
|||
/* Pnv provides a AHCI device for storage */
|
||||
mc->block_default_type = IF_IDE;
|
||||
mc->no_parallel = 1;
|
||||
mc->auto_create_sdcard = true;
|
||||
mc->default_boot_order = NULL;
|
||||
/*
|
||||
* RAM defaults to less than 2048 for 32-bit hosts, and large
|
||||
|
|
|
@ -351,7 +351,6 @@ static void ppc405_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_ram_size = 128 * MiB;
|
||||
mc->default_ram_id = "ppc405.ram";
|
||||
mc->deprecation_reason = "machine is old and unmaintained";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo ppc405_machine_type = {
|
||||
|
|
|
@ -268,7 +268,6 @@ static void bamboo_machine_init(MachineClass *mc)
|
|||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("440epb");
|
||||
mc->default_ram_id = "ppc4xx.sdram";
|
||||
mc->default_nic = "e1000";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("bamboo", bamboo_machine_init)
|
||||
|
|
|
@ -428,7 +428,6 @@ static void ibm_40p_machine_init(MachineClass *mc)
|
|||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("604");
|
||||
mc->default_display = "std";
|
||||
mc->default_nic = "pcnet";
|
||||
mc->auto_create_sdcard = true;
|
||||
|
||||
machine_add_audiodev_property(mc);
|
||||
}
|
||||
|
|
|
@ -524,7 +524,6 @@ static void sam460ex_machine_init(MachineClass *mc)
|
|||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("460exb");
|
||||
mc->default_ram_size = 512 * MiB;
|
||||
mc->default_ram_id = "ppc4xx.sdram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("sam460ex", sam460ex_machine_init)
|
||||
|
|
|
@ -4594,7 +4594,6 @@ static void spapr_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = SPAPR_IRQ_NR_IPIS;
|
||||
|
||||
mc->no_parallel = 1;
|
||||
mc->auto_create_sdcard = true;
|
||||
mc->default_boot_order = "";
|
||||
mc->default_ram_size = 512 * MiB;
|
||||
mc->default_ram_id = "ppc_spapr.ram";
|
||||
|
|
|
@ -288,7 +288,6 @@ static void virtex_machine_init(MachineClass *mc)
|
|||
mc->init = virtex_init;
|
||||
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("440-xilinx");
|
||||
mc->default_ram_id = "ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("virtex-ml507", virtex_machine_init)
|
||||
|
|
|
@ -128,7 +128,6 @@ static void remote_machine_class_init(ObjectClass *oc, void *data)
|
|||
|
||||
mc->init = remote_machine_init;
|
||||
mc->desc = "Experimental remote machine";
|
||||
mc->auto_create_sdcard = true;
|
||||
|
||||
hc->unplug = remote_machine_dev_unplug_cb;
|
||||
|
||||
|
|
|
@ -166,7 +166,6 @@ static void rx_gdbsim_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_cpu_type = TYPE_RX62N_CPU;
|
||||
mc->default_ram_size = 16 * MiB;
|
||||
mc->default_ram_id = "ext-sdram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static void rx62n7_class_init(ObjectClass *oc, void *data)
|
||||
|
|
|
@ -383,7 +383,6 @@ static void r2d_machine_init(MachineClass *mc)
|
|||
mc->block_default_type = IF_IDE;
|
||||
mc->default_cpu_type = TYPE_SH7751R_CPU;
|
||||
mc->default_nic = "rtl8139";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("r2d", r2d_machine_init)
|
||||
|
|
|
@ -440,7 +440,6 @@ static void leon3_generic_machine_init(MachineClass *mc)
|
|||
mc->default_cpu_type = SPARC_CPU_TYPE_NAME("LEON3");
|
||||
mc->default_ram_id = "leon3.ram";
|
||||
mc->max_cpus = MAX_CPUS;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("leon3_generic", leon3_generic_machine_init)
|
||||
|
|
|
@ -1113,7 +1113,6 @@ static void sun4m_machine_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_boot_order = "c";
|
||||
mc->default_display = "tcx";
|
||||
mc->default_ram_id = "sun4m.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static void ss5_class_init(ObjectClass *oc, void *data)
|
||||
|
|
|
@ -167,7 +167,6 @@ static void niagara_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_boot_order = "c";
|
||||
mc->default_cpu_type = SPARC_CPU_TYPE_NAME("Sun-UltraSparc-T1");
|
||||
mc->default_ram_id = "sun4v-partition.ram";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo niagara_type = {
|
||||
|
|
|
@ -809,7 +809,6 @@ static void sun4u_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_display = "std";
|
||||
mc->default_nic = "sunhme";
|
||||
mc->no_parallel = !module_object_class_by_name(TYPE_ISA_PARALLEL);
|
||||
mc->auto_create_sdcard = true;
|
||||
fwc->get_dev_path = sun4u_fw_dev_path;
|
||||
compat_props_add(mc->compat_props, hw_compat_sparc64, hw_compat_sparc64_len);
|
||||
}
|
||||
|
@ -837,7 +836,6 @@ static void sun4v_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_display = "std";
|
||||
mc->default_nic = "sunhme";
|
||||
mc->no_parallel = !module_object_class_by_name(TYPE_ISA_PARALLEL);
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo sun4v_type = {
|
||||
|
|
|
@ -73,7 +73,6 @@ static void triboard_machine_tc277d_class_init(ObjectClass *oc,
|
|||
mc->init = triboard_machine_init;
|
||||
mc->desc = "Infineon AURIX TriBoard TC277 (D-Step)";
|
||||
mc->max_cpus = 1;
|
||||
mc->auto_create_sdcard = true;
|
||||
amc->soc_name = "tc277d-soc";
|
||||
};
|
||||
|
||||
|
|
|
@ -111,7 +111,6 @@ static void ttb_machine_init(MachineClass *mc)
|
|||
mc->desc = "a minimal TriCore board";
|
||||
mc->init = tricoreboard_init;
|
||||
mc->default_cpu_type = TRICORE_CPU_TYPE_NAME("tc1796");
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("tricore_testboard", ttb_machine_init)
|
||||
|
|
|
@ -381,7 +381,6 @@ static void xen_pvh_class_init(ObjectClass *oc, void *data)
|
|||
mc->default_machine_opts = "accel=xen";
|
||||
/* Set to zero to make sure that the real ram size is passed. */
|
||||
mc->default_ram_size = 0;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xen_pvh_info = {
|
||||
|
|
|
@ -67,7 +67,6 @@ static void xenpv_machine_init(MachineClass *mc)
|
|||
mc->init = xen_init_pv;
|
||||
mc->max_cpus = 1;
|
||||
mc->default_machine_opts = "accel=xen";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("xenpv", xenpv_machine_init)
|
||||
|
|
|
@ -125,7 +125,6 @@ static void xtensa_sim_machine_init(MachineClass *mc)
|
|||
mc->max_cpus = 4;
|
||||
mc->no_serial = 1;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("sim", xtensa_sim_machine_init)
|
||||
|
|
|
@ -122,7 +122,6 @@ static void xtensa_virt_machine_init(MachineClass *mc)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE;
|
||||
mc->default_nic = "virtio-net-pci";
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("virt", xtensa_virt_machine_init)
|
||||
|
|
|
@ -594,7 +594,6 @@ static void xtfpga_lx60_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE;
|
||||
mc->default_ram_size = 64 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_lx60_type = {
|
||||
|
@ -612,7 +611,6 @@ static void xtfpga_lx60_nommu_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE;
|
||||
mc->default_ram_size = 64 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_lx60_nommu_type = {
|
||||
|
@ -630,7 +628,6 @@ static void xtfpga_lx200_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE;
|
||||
mc->default_ram_size = 96 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_lx200_type = {
|
||||
|
@ -648,7 +645,6 @@ static void xtfpga_lx200_nommu_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE;
|
||||
mc->default_ram_size = 96 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_lx200_nommu_type = {
|
||||
|
@ -666,7 +662,6 @@ static void xtfpga_ml605_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE;
|
||||
mc->default_ram_size = 512 * MiB - XTFPGA_MMU_RESERVED_MEMORY_SIZE;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_ml605_type = {
|
||||
|
@ -684,7 +679,6 @@ static void xtfpga_ml605_nommu_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE;
|
||||
mc->default_ram_size = 256 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_ml605_nommu_type = {
|
||||
|
@ -702,7 +696,6 @@ static void xtfpga_kc705_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE;
|
||||
mc->default_ram_size = 1 * GiB - XTFPGA_MMU_RESERVED_MEMORY_SIZE;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_kc705_type = {
|
||||
|
@ -720,7 +713,6 @@ static void xtfpga_kc705_nommu_class_init(ObjectClass *oc, void *data)
|
|||
mc->max_cpus = 32;
|
||||
mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE;
|
||||
mc->default_ram_size = 256 * MiB;
|
||||
mc->auto_create_sdcard = true;
|
||||
}
|
||||
|
||||
static const TypeInfo xtfpga_kc705_nommu_type = {
|
||||
|
|
|
@ -68,9 +68,6 @@ floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -125,9 +122,6 @@ ide1-cd0: [not inserted]
|
|||
floppy0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -183,9 +177,6 @@ floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -265,9 +256,6 @@ floppy0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -322,9 +310,6 @@ ide1-cd0: [not inserted]
|
|||
floppy0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -380,9 +365,6 @@ floppy1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -422,9 +404,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -461,9 +440,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -519,9 +495,6 @@ none1 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -586,9 +559,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -644,9 +614,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -702,9 +669,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -760,9 +724,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -827,9 +788,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -885,9 +843,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2.2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -930,9 +885,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -1106,9 +1058,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -1145,9 +1094,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -1187,9 +1133,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
@ -1226,9 +1169,6 @@ none0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
|
|||
ide1-cd0: [not inserted]
|
||||
Attached to: /machine/unattached/device[N]
|
||||
Removable device: not locked, tray closed
|
||||
|
||||
sd0: [not inserted]
|
||||
Removable device: not locked, tray closed
|
||||
(qemu) quit
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue