Lines Matching full:m
156 * qemu -M pc-1.7 -m 4G (old default) -> 3584M low, 512M high in pc_init1()
157 * qemu -M pc -m 4G (new default) -> 3072M low, 1024M high in pc_init1()
158 * qemu -M pc,max-ram-below-4g=2G -m 4G -> 2048M low, 2048M high in pc_init1()
159 * qemu -M pc,max-ram-below-4g=4G -m 3968M -> 3968M low (=4G-128M) in pc_init1()
478 static void pc_i440fx_machine_options(MachineClass *m) in pc_i440fx_machine_options() argument
480 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_options()
481 ObjectClass *oc = OBJECT_CLASS(m); in pc_i440fx_machine_options()
486 m->family = "pc_piix"; in pc_i440fx_machine_options()
487 m->desc = "Standard PC (i440FX + PIIX, 1996)"; in pc_i440fx_machine_options()
488 m->default_machine_opts = "firmware=bios-256k.bin"; in pc_i440fx_machine_options()
489 m->default_display = "std"; in pc_i440fx_machine_options()
490 m->default_nic = "e1000"; in pc_i440fx_machine_options()
491 m->no_floppy = !module_object_class_by_name(TYPE_ISA_FDC); in pc_i440fx_machine_options()
492 m->no_parallel = !module_object_class_by_name(TYPE_ISA_PARALLEL); in pc_i440fx_machine_options()
493 machine_class_allow_dynamic_sysbus_dev(m, TYPE_RAMFB_DEVICE); in pc_i440fx_machine_options()
494 machine_class_allow_dynamic_sysbus_dev(m, TYPE_VMBUS_BRIDGE); in pc_i440fx_machine_options()
495 machine_class_allow_dynamic_sysbus_dev(m, TYPE_UEFI_VARS_X64); in pc_i440fx_machine_options()
503 compat_props_add(m->compat_props, in pc_i440fx_machine_options()
507 static void pc_i440fx_machine_10_1_options(MachineClass *m) in pc_i440fx_machine_10_1_options() argument
509 pc_i440fx_machine_options(m); in pc_i440fx_machine_10_1_options()
514 static void pc_i440fx_machine_10_0_options(MachineClass *m) in pc_i440fx_machine_10_0_options() argument
516 pc_i440fx_machine_10_1_options(m); in pc_i440fx_machine_10_0_options()
517 compat_props_add(m->compat_props, hw_compat_10_0, hw_compat_10_0_len); in pc_i440fx_machine_10_0_options()
518 compat_props_add(m->compat_props, pc_compat_10_0, pc_compat_10_0_len); in pc_i440fx_machine_10_0_options()
523 static void pc_i440fx_machine_9_2_options(MachineClass *m) in pc_i440fx_machine_9_2_options() argument
525 pc_i440fx_machine_10_0_options(m); in pc_i440fx_machine_9_2_options()
526 compat_props_add(m->compat_props, hw_compat_9_2, hw_compat_9_2_len); in pc_i440fx_machine_9_2_options()
527 compat_props_add(m->compat_props, pc_compat_9_2, pc_compat_9_2_len); in pc_i440fx_machine_9_2_options()
532 static void pc_i440fx_machine_9_1_options(MachineClass *m) in pc_i440fx_machine_9_1_options() argument
534 pc_i440fx_machine_9_2_options(m); in pc_i440fx_machine_9_1_options()
535 compat_props_add(m->compat_props, hw_compat_9_1, hw_compat_9_1_len); in pc_i440fx_machine_9_1_options()
536 compat_props_add(m->compat_props, pc_compat_9_1, pc_compat_9_1_len); in pc_i440fx_machine_9_1_options()
541 static void pc_i440fx_machine_9_0_options(MachineClass *m) in pc_i440fx_machine_9_0_options() argument
543 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_9_0_options()
545 pc_i440fx_machine_9_1_options(m); in pc_i440fx_machine_9_0_options()
546 m->smbios_memory_device_size = 16 * GiB; in pc_i440fx_machine_9_0_options()
548 compat_props_add(m->compat_props, hw_compat_9_0, hw_compat_9_0_len); in pc_i440fx_machine_9_0_options()
549 compat_props_add(m->compat_props, pc_compat_9_0, pc_compat_9_0_len); in pc_i440fx_machine_9_0_options()
555 static void pc_i440fx_machine_8_2_options(MachineClass *m) in pc_i440fx_machine_8_2_options() argument
557 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_8_2_options()
559 pc_i440fx_machine_9_0_options(m); in pc_i440fx_machine_8_2_options()
561 compat_props_add(m->compat_props, hw_compat_8_2, hw_compat_8_2_len); in pc_i440fx_machine_8_2_options()
562 compat_props_add(m->compat_props, pc_compat_8_2, pc_compat_8_2_len); in pc_i440fx_machine_8_2_options()
569 static void pc_i440fx_machine_8_1_options(MachineClass *m) in pc_i440fx_machine_8_1_options() argument
571 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_8_1_options()
573 pc_i440fx_machine_8_2_options(m); in pc_i440fx_machine_8_1_options()
576 compat_props_add(m->compat_props, hw_compat_8_1, hw_compat_8_1_len); in pc_i440fx_machine_8_1_options()
577 compat_props_add(m->compat_props, pc_compat_8_1, pc_compat_8_1_len); in pc_i440fx_machine_8_1_options()
582 static void pc_i440fx_machine_8_0_options(MachineClass *m) in pc_i440fx_machine_8_0_options() argument
584 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_8_0_options()
586 pc_i440fx_machine_8_1_options(m); in pc_i440fx_machine_8_0_options()
587 compat_props_add(m->compat_props, hw_compat_8_0, hw_compat_8_0_len); in pc_i440fx_machine_8_0_options()
588 compat_props_add(m->compat_props, pc_compat_8_0, pc_compat_8_0_len); in pc_i440fx_machine_8_0_options()
596 static void pc_i440fx_machine_7_2_options(MachineClass *m) in pc_i440fx_machine_7_2_options() argument
598 pc_i440fx_machine_8_0_options(m); in pc_i440fx_machine_7_2_options()
599 compat_props_add(m->compat_props, hw_compat_7_2, hw_compat_7_2_len); in pc_i440fx_machine_7_2_options()
600 compat_props_add(m->compat_props, pc_compat_7_2, pc_compat_7_2_len); in pc_i440fx_machine_7_2_options()
605 static void pc_i440fx_machine_7_1_options(MachineClass *m) in pc_i440fx_machine_7_1_options() argument
607 pc_i440fx_machine_7_2_options(m); in pc_i440fx_machine_7_1_options()
608 compat_props_add(m->compat_props, hw_compat_7_1, hw_compat_7_1_len); in pc_i440fx_machine_7_1_options()
609 compat_props_add(m->compat_props, pc_compat_7_1, pc_compat_7_1_len); in pc_i440fx_machine_7_1_options()
614 static void pc_i440fx_machine_7_0_options(MachineClass *m) in pc_i440fx_machine_7_0_options() argument
616 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_7_0_options()
617 pc_i440fx_machine_7_1_options(m); in pc_i440fx_machine_7_0_options()
619 compat_props_add(m->compat_props, hw_compat_7_0, hw_compat_7_0_len); in pc_i440fx_machine_7_0_options()
620 compat_props_add(m->compat_props, pc_compat_7_0, pc_compat_7_0_len); in pc_i440fx_machine_7_0_options()
625 static void pc_i440fx_machine_6_2_options(MachineClass *m) in pc_i440fx_machine_6_2_options() argument
627 pc_i440fx_machine_7_0_options(m); in pc_i440fx_machine_6_2_options()
628 compat_props_add(m->compat_props, hw_compat_6_2, hw_compat_6_2_len); in pc_i440fx_machine_6_2_options()
629 compat_props_add(m->compat_props, pc_compat_6_2, pc_compat_6_2_len); in pc_i440fx_machine_6_2_options()
634 static void pc_i440fx_machine_6_1_options(MachineClass *m) in pc_i440fx_machine_6_1_options() argument
636 pc_i440fx_machine_6_2_options(m); in pc_i440fx_machine_6_1_options()
637 compat_props_add(m->compat_props, hw_compat_6_1, hw_compat_6_1_len); in pc_i440fx_machine_6_1_options()
638 compat_props_add(m->compat_props, pc_compat_6_1, pc_compat_6_1_len); in pc_i440fx_machine_6_1_options()
639 m->smp_props.prefer_sockets = true; in pc_i440fx_machine_6_1_options()
644 static void pc_i440fx_machine_6_0_options(MachineClass *m) in pc_i440fx_machine_6_0_options() argument
646 pc_i440fx_machine_6_1_options(m); in pc_i440fx_machine_6_0_options()
647 compat_props_add(m->compat_props, hw_compat_6_0, hw_compat_6_0_len); in pc_i440fx_machine_6_0_options()
648 compat_props_add(m->compat_props, pc_compat_6_0, pc_compat_6_0_len); in pc_i440fx_machine_6_0_options()
653 static void pc_i440fx_machine_5_2_options(MachineClass *m) in pc_i440fx_machine_5_2_options() argument
655 pc_i440fx_machine_6_0_options(m); in pc_i440fx_machine_5_2_options()
656 compat_props_add(m->compat_props, hw_compat_5_2, hw_compat_5_2_len); in pc_i440fx_machine_5_2_options()
657 compat_props_add(m->compat_props, pc_compat_5_2, pc_compat_5_2_len); in pc_i440fx_machine_5_2_options()
662 static void pc_i440fx_machine_5_1_options(MachineClass *m) in pc_i440fx_machine_5_1_options() argument
664 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_5_1_options()
666 pc_i440fx_machine_5_2_options(m); in pc_i440fx_machine_5_1_options()
667 compat_props_add(m->compat_props, hw_compat_5_1, hw_compat_5_1_len); in pc_i440fx_machine_5_1_options()
668 compat_props_add(m->compat_props, pc_compat_5_1, pc_compat_5_1_len); in pc_i440fx_machine_5_1_options()
675 static void pc_i440fx_machine_5_0_options(MachineClass *m) in pc_i440fx_machine_5_0_options() argument
677 pc_i440fx_machine_5_1_options(m); in pc_i440fx_machine_5_0_options()
678 m->numa_mem_supported = true; in pc_i440fx_machine_5_0_options()
679 compat_props_add(m->compat_props, hw_compat_5_0, hw_compat_5_0_len); in pc_i440fx_machine_5_0_options()
680 compat_props_add(m->compat_props, pc_compat_5_0, pc_compat_5_0_len); in pc_i440fx_machine_5_0_options()
681 m->auto_enable_numa_with_memdev = false; in pc_i440fx_machine_5_0_options()
686 static void pc_i440fx_machine_4_2_options(MachineClass *m) in pc_i440fx_machine_4_2_options() argument
688 pc_i440fx_machine_5_0_options(m); in pc_i440fx_machine_4_2_options()
689 compat_props_add(m->compat_props, hw_compat_4_2, hw_compat_4_2_len); in pc_i440fx_machine_4_2_options()
690 compat_props_add(m->compat_props, pc_compat_4_2, pc_compat_4_2_len); in pc_i440fx_machine_4_2_options()
695 static void pc_i440fx_machine_4_1_options(MachineClass *m) in pc_i440fx_machine_4_1_options() argument
697 pc_i440fx_machine_4_2_options(m); in pc_i440fx_machine_4_1_options()
698 compat_props_add(m->compat_props, hw_compat_4_1, hw_compat_4_1_len); in pc_i440fx_machine_4_1_options()
699 compat_props_add(m->compat_props, pc_compat_4_1, pc_compat_4_1_len); in pc_i440fx_machine_4_1_options()
704 static void pc_i440fx_machine_4_0_options(MachineClass *m) in pc_i440fx_machine_4_0_options() argument
706 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_4_0_options()
707 pc_i440fx_machine_4_1_options(m); in pc_i440fx_machine_4_0_options()
709 compat_props_add(m->compat_props, hw_compat_4_0, hw_compat_4_0_len); in pc_i440fx_machine_4_0_options()
710 compat_props_add(m->compat_props, pc_compat_4_0, pc_compat_4_0_len); in pc_i440fx_machine_4_0_options()
715 static void pc_i440fx_machine_3_1_options(MachineClass *m) in pc_i440fx_machine_3_1_options() argument
717 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_3_1_options()
719 pc_i440fx_machine_4_0_options(m); in pc_i440fx_machine_3_1_options()
720 m->smbus_no_migration_support = true; in pc_i440fx_machine_3_1_options()
722 compat_props_add(m->compat_props, hw_compat_3_1, hw_compat_3_1_len); in pc_i440fx_machine_3_1_options()
723 compat_props_add(m->compat_props, pc_compat_3_1, pc_compat_3_1_len); in pc_i440fx_machine_3_1_options()
728 static void pc_i440fx_machine_3_0_options(MachineClass *m) in pc_i440fx_machine_3_0_options() argument
730 pc_i440fx_machine_3_1_options(m); in pc_i440fx_machine_3_0_options()
731 compat_props_add(m->compat_props, hw_compat_3_0, hw_compat_3_0_len); in pc_i440fx_machine_3_0_options()
732 compat_props_add(m->compat_props, pc_compat_3_0, pc_compat_3_0_len); in pc_i440fx_machine_3_0_options()
737 static void pc_i440fx_machine_2_12_options(MachineClass *m) in pc_i440fx_machine_2_12_options() argument
739 pc_i440fx_machine_3_0_options(m); in pc_i440fx_machine_2_12_options()
740 compat_props_add(m->compat_props, hw_compat_2_12, hw_compat_2_12_len); in pc_i440fx_machine_2_12_options()
741 compat_props_add(m->compat_props, pc_compat_2_12, pc_compat_2_12_len); in pc_i440fx_machine_2_12_options()
746 static void pc_i440fx_machine_2_11_options(MachineClass *m) in pc_i440fx_machine_2_11_options() argument
748 pc_i440fx_machine_2_12_options(m); in pc_i440fx_machine_2_11_options()
749 compat_props_add(m->compat_props, hw_compat_2_11, hw_compat_2_11_len); in pc_i440fx_machine_2_11_options()
750 compat_props_add(m->compat_props, pc_compat_2_11, pc_compat_2_11_len); in pc_i440fx_machine_2_11_options()
755 static void pc_i440fx_machine_2_10_options(MachineClass *m) in pc_i440fx_machine_2_10_options() argument
757 pc_i440fx_machine_2_11_options(m); in pc_i440fx_machine_2_10_options()
758 compat_props_add(m->compat_props, hw_compat_2_10, hw_compat_2_10_len); in pc_i440fx_machine_2_10_options()
759 compat_props_add(m->compat_props, pc_compat_2_10, pc_compat_2_10_len); in pc_i440fx_machine_2_10_options()
760 m->auto_enable_numa_with_memhp = false; in pc_i440fx_machine_2_10_options()
765 static void pc_i440fx_machine_2_9_options(MachineClass *m) in pc_i440fx_machine_2_9_options() argument
767 pc_i440fx_machine_2_10_options(m); in pc_i440fx_machine_2_9_options()
768 compat_props_add(m->compat_props, hw_compat_2_9, hw_compat_2_9_len); in pc_i440fx_machine_2_9_options()
769 compat_props_add(m->compat_props, pc_compat_2_9, pc_compat_2_9_len); in pc_i440fx_machine_2_9_options()
774 static void pc_i440fx_machine_2_8_options(MachineClass *m) in pc_i440fx_machine_2_8_options() argument
776 pc_i440fx_machine_2_9_options(m); in pc_i440fx_machine_2_8_options()
777 compat_props_add(m->compat_props, hw_compat_2_8, hw_compat_2_8_len); in pc_i440fx_machine_2_8_options()
778 compat_props_add(m->compat_props, pc_compat_2_8, pc_compat_2_8_len); in pc_i440fx_machine_2_8_options()
783 static void pc_i440fx_machine_2_7_options(MachineClass *m) in pc_i440fx_machine_2_7_options() argument
785 pc_i440fx_machine_2_8_options(m); in pc_i440fx_machine_2_7_options()
786 compat_props_add(m->compat_props, hw_compat_2_7, hw_compat_2_7_len); in pc_i440fx_machine_2_7_options()
787 compat_props_add(m->compat_props, pc_compat_2_7, pc_compat_2_7_len); in pc_i440fx_machine_2_7_options()
792 static void pc_i440fx_machine_2_6_options(MachineClass *m) in pc_i440fx_machine_2_6_options() argument
794 X86MachineClass *x86mc = X86_MACHINE_CLASS(m); in pc_i440fx_machine_2_6_options()
795 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in pc_i440fx_machine_2_6_options()
797 pc_i440fx_machine_2_7_options(m); in pc_i440fx_machine_2_6_options()
800 compat_props_add(m->compat_props, hw_compat_2_6, hw_compat_2_6_len); in pc_i440fx_machine_2_6_options()
801 compat_props_add(m->compat_props, pc_compat_2_6, pc_compat_2_6_len); in pc_i440fx_machine_2_6_options()
807 static void isapc_machine_options(MachineClass *m) in isapc_machine_options() argument
809 PCMachineClass *pcmc = PC_MACHINE_CLASS(m); in isapc_machine_options()
810 m->desc = "ISA-only PC"; in isapc_machine_options()
811 m->max_cpus = 1; in isapc_machine_options()
812 m->option_rom_has_mr = true; in isapc_machine_options()
813 m->rom_file_has_mr = false; in isapc_machine_options()
820 m->default_nic = "ne2k_isa"; in isapc_machine_options()
821 m->default_cpu_type = X86_CPU_TYPE_NAME("486"); in isapc_machine_options()
822 m->no_floppy = !module_object_class_by_name(TYPE_ISA_FDC); in isapc_machine_options()
823 m->no_parallel = !module_object_class_by_name(TYPE_ISA_PARALLEL); in isapc_machine_options()
831 static void xenfv_machine_4_2_options(MachineClass *m) in xenfv_machine_4_2_options() argument
833 pc_i440fx_machine_4_2_options(m); in xenfv_machine_4_2_options()
834 m->desc = "Xen Fully-virtualized PC"; in xenfv_machine_4_2_options()
835 m->max_cpus = HVM_MAX_VCPUS; in xenfv_machine_4_2_options()
836 m->default_machine_opts = "accel=xen,suppress-vmdesc=on"; in xenfv_machine_4_2_options()
842 static void xenfv_machine_3_1_options(MachineClass *m) in xenfv_machine_3_1_options() argument
844 pc_i440fx_machine_3_1_options(m); in xenfv_machine_3_1_options()
845 m->desc = "Xen Fully-virtualized PC"; in xenfv_machine_3_1_options()
846 m->alias = "xenfv"; in xenfv_machine_3_1_options()
847 m->max_cpus = HVM_MAX_VCPUS; in xenfv_machine_3_1_options()
848 m->default_machine_opts = "accel=xen,suppress-vmdesc=on"; in xenfv_machine_3_1_options()