2 * QEMU PC System Emulator
4 * Copyright (c) 2003-2004 Fabrice Bellard
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28 #include "hw/loader.h"
29 #include "hw/i386/pc.h"
30 #include "hw/i386/apic.h"
31 #include "hw/i386/smbios.h"
32 #include "hw/pci/pci.h"
33 #include "hw/pci/pci_ids.h"
36 #include "hw/boards.h"
38 #include "sysemu/kvm.h"
39 #include "hw/kvm/clock.h"
40 #include "sysemu/sysemu.h"
41 #include "hw/sysbus.h"
42 #include "hw/cpu/icc_bus.h"
43 #include "sysemu/arch_init.h"
44 #include "sysemu/blockdev.h"
45 #include "hw/i2c/smbus.h"
46 #include "hw/xen/xen.h"
47 #include "exec/memory.h"
48 #include "exec/address-spaces.h"
49 #include "hw/acpi/acpi.h"
52 # include <xen/hvm/hvm_info_table.h>
57 static const int ide_iobase
[MAX_IDE_BUS
] = { 0x1f0, 0x170 };
58 static const int ide_iobase2
[MAX_IDE_BUS
] = { 0x3f6, 0x376 };
59 static const int ide_irq
[MAX_IDE_BUS
] = { 14, 15 };
61 static bool has_pci_info
;
62 static bool has_acpi_build
= true;
63 static bool smbios_defaults
= true;
64 static bool smbios_legacy_mode
;
65 /* Make sure that guest addresses aligned at 1Gbyte boundaries get mapped to
66 * host addresses aligned at 1Gbyte boundaries. This way we can use 1GByte
69 static bool gigabyte_align
= true;
71 /* PC hardware initialisation */
72 static void pc_init1(MachineState
*machine
,
76 MemoryRegion
*system_memory
= get_system_memory();
77 MemoryRegion
*system_io
= get_system_io();
79 ram_addr_t below_4g_mem_size
, above_4g_mem_size
;
82 PCII440FXState
*i440fx_state
;
89 DriveInfo
*hd
[MAX_IDE_BUS
* MAX_IDE_DEVS
];
90 BusState
*idebus
[MAX_IDE_BUS
];
93 MemoryRegion
*ram_memory
;
94 MemoryRegion
*pci_memory
;
95 MemoryRegion
*rom_memory
;
96 DeviceState
*icc_bridge
;
97 FWCfgState
*fw_cfg
= NULL
;
98 PcGuestInfo
*guest_info
;
100 if (xen_enabled() && xen_hvm_init(&ram_memory
) != 0) {
101 fprintf(stderr
, "xen hardware virtual machine initialisation failed\n");
105 icc_bridge
= qdev_create(NULL
, TYPE_ICC_BRIDGE
);
106 object_property_add_child(qdev_get_machine(), "icc-bridge",
107 OBJECT(icc_bridge
), NULL
);
109 pc_cpus_init(machine
->cpu_model
, icc_bridge
);
111 if (kvm_enabled() && kvmclock_enabled
) {
115 /* Check whether RAM fits below 4G (leaving 1/2 GByte for IO memory).
116 * If it doesn't, we need to split it in chunks below and above 4G.
117 * In any case, try to make sure that guest addresses aligned at
118 * 1G boundaries get mapped to host addresses aligned at 1G boundaries.
119 * For old machine types, use whatever split we used historically to avoid
120 * breaking migration.
122 if (machine
->ram_size
>= 0xe0000000) {
123 ram_addr_t lowmem
= gigabyte_align
? 0xc0000000 : 0xe0000000;
124 above_4g_mem_size
= machine
->ram_size
- lowmem
;
125 below_4g_mem_size
= lowmem
;
127 above_4g_mem_size
= 0;
128 below_4g_mem_size
= machine
->ram_size
;
132 pci_memory
= g_new(MemoryRegion
, 1);
133 memory_region_init(pci_memory
, NULL
, "pci", UINT64_MAX
);
134 rom_memory
= pci_memory
;
137 rom_memory
= system_memory
;
140 guest_info
= pc_guest_info_init(below_4g_mem_size
, above_4g_mem_size
);
142 guest_info
->has_acpi_build
= has_acpi_build
;
144 guest_info
->has_pci_info
= has_pci_info
;
145 guest_info
->isapc_ram_fw
= !pci_enabled
;
147 if (smbios_defaults
) {
148 MachineClass
*mc
= MACHINE_GET_CLASS(machine
);
149 /* These values are guest ABI, do not change */
150 smbios_set_defaults("QEMU", "Standard PC (i440FX + PIIX, 1996)",
151 mc
->name
, smbios_legacy_mode
);
154 /* allocate ram and load rom/bios */
155 if (!xen_enabled()) {
156 fw_cfg
= pc_memory_init(system_memory
,
157 machine
->kernel_filename
, machine
->kernel_cmdline
,
158 machine
->initrd_filename
,
159 below_4g_mem_size
, above_4g_mem_size
,
160 rom_memory
, &ram_memory
, guest_info
);
163 gsi_state
= g_malloc0(sizeof(*gsi_state
));
164 if (kvm_irqchip_in_kernel()) {
165 kvm_pc_setup_irq_routing(pci_enabled
);
166 gsi
= qemu_allocate_irqs(kvm_pc_gsi_handler
, gsi_state
,
169 gsi
= qemu_allocate_irqs(gsi_handler
, gsi_state
, GSI_NUM_PINS
);
173 pci_bus
= i440fx_init(&i440fx_state
, &piix3_devfn
, &isa_bus
, gsi
,
174 system_memory
, system_io
, machine
->ram_size
,
177 pci_memory
, ram_memory
);
181 isa_bus
= isa_bus_new(NULL
, system_io
);
184 isa_bus_irqs(isa_bus
, gsi
);
186 if (kvm_irqchip_in_kernel()) {
187 i8259
= kvm_i8259_init(isa_bus
);
188 } else if (xen_enabled()) {
189 i8259
= xen_interrupt_controller_init();
191 cpu_irq
= pc_allocate_cpu_irq();
192 i8259
= i8259_init(isa_bus
, cpu_irq
[0]);
195 for (i
= 0; i
< ISA_NUM_IRQS
; i
++) {
196 gsi_state
->i8259_irq
[i
] = i8259
[i
];
199 ioapic_init_gsi(gsi_state
, "i440fx");
201 qdev_init_nofail(icc_bridge
);
203 pc_register_ferr_irq(gsi
[13]);
205 pc_vga_init(isa_bus
, pci_enabled
? pci_bus
: NULL
);
207 /* init basic PC hardware */
208 pc_basic_device_init(isa_bus
, gsi
, &rtc_state
, &floppy
, xen_enabled(),
211 pc_nic_init(isa_bus
, pci_bus
);
213 ide_drive_get(hd
, MAX_IDE_BUS
);
217 dev
= pci_piix3_xen_ide_init(pci_bus
, hd
, piix3_devfn
+ 1);
219 dev
= pci_piix3_ide_init(pci_bus
, hd
, piix3_devfn
+ 1);
221 idebus
[0] = qdev_get_child_bus(&dev
->qdev
, "ide.0");
222 idebus
[1] = qdev_get_child_bus(&dev
->qdev
, "ide.1");
224 for(i
= 0; i
< MAX_IDE_BUS
; i
++) {
226 char busname
[] = "ide.0";
227 dev
= isa_ide_init(isa_bus
, ide_iobase
[i
], ide_iobase2
[i
],
229 hd
[MAX_IDE_DEVS
* i
], hd
[MAX_IDE_DEVS
* i
+ 1]);
231 * The ide bus name is ide.0 for the first bus and ide.1 for the
234 busname
[4] = '0' + i
;
235 idebus
[i
] = qdev_get_child_bus(DEVICE(dev
), busname
);
239 pc_cmos_init(below_4g_mem_size
, above_4g_mem_size
, machine
->boot_order
,
240 floppy
, idebus
[0], idebus
[1], rtc_state
);
242 if (pci_enabled
&& usb_enabled(false)) {
243 pci_create_simple(pci_bus
, piix3_devfn
+ 2, "piix3-usb-uhci");
246 if (pci_enabled
&& acpi_enabled
) {
249 smi_irq
= qemu_allocate_irqs(pc_acpi_smi_interrupt
, first_cpu
, 1);
250 /* TODO: Populate SPD eeprom data. */
251 smbus
= piix4_pm_init(pci_bus
, piix3_devfn
+ 3, 0xb100,
253 kvm_enabled(), fw_cfg
);
254 smbus_eeprom_init(smbus
, 8, NULL
, 0);
258 pc_pci_device_init(pci_bus
);
262 static void pc_init_pci(MachineState
*machine
)
264 pc_init1(machine
, 1, 1);
267 static void pc_compat_2_0(MachineState
*machine
)
269 smbios_legacy_mode
= true;
272 static void pc_compat_1_7(MachineState
*machine
)
274 pc_compat_2_0(machine
);
275 smbios_defaults
= false;
276 gigabyte_align
= false;
277 option_rom_has_mr
= true;
278 x86_cpu_compat_disable_kvm_features(FEAT_1_ECX
, CPUID_EXT_X2APIC
);
281 static void pc_compat_1_6(MachineState
*machine
)
283 pc_compat_1_7(machine
);
284 has_pci_info
= false;
285 rom_file_has_mr
= false;
286 has_acpi_build
= false;
289 static void pc_compat_1_5(MachineState
*machine
)
291 pc_compat_1_6(machine
);
294 static void pc_compat_1_4(MachineState
*machine
)
296 pc_compat_1_5(machine
);
297 x86_cpu_compat_set_features("n270", FEAT_1_ECX
, 0, CPUID_EXT_MOVBE
);
298 x86_cpu_compat_set_features("Westmere", FEAT_1_ECX
, 0, CPUID_EXT_PCLMULQDQ
);
301 static void pc_compat_1_3(MachineState
*machine
)
303 pc_compat_1_4(machine
);
304 enable_compat_apic_id_mode();
307 /* PC compat function for pc-0.14 to pc-1.2 */
308 static void pc_compat_1_2(MachineState
*machine
)
310 pc_compat_1_3(machine
);
311 x86_cpu_compat_disable_kvm_features(FEAT_KVM
, KVM_FEATURE_PV_EOI
);
314 static void pc_init_pci_2_0(MachineState
*machine
)
316 pc_compat_2_0(machine
);
317 pc_init_pci(machine
);
320 static void pc_init_pci_1_7(MachineState
*machine
)
322 pc_compat_1_7(machine
);
323 pc_init_pci(machine
);
326 static void pc_init_pci_1_6(MachineState
*machine
)
328 pc_compat_1_6(machine
);
329 pc_init_pci(machine
);
332 static void pc_init_pci_1_5(MachineState
*machine
)
334 pc_compat_1_5(machine
);
335 pc_init_pci(machine
);
338 static void pc_init_pci_1_4(MachineState
*machine
)
340 pc_compat_1_4(machine
);
341 pc_init_pci(machine
);
344 static void pc_init_pci_1_3(MachineState
*machine
)
346 pc_compat_1_3(machine
);
347 pc_init_pci(machine
);
350 /* PC machine init function for pc-0.14 to pc-1.2 */
351 static void pc_init_pci_1_2(MachineState
*machine
)
353 pc_compat_1_2(machine
);
354 pc_init_pci(machine
);
357 /* PC init function for pc-0.10 to pc-0.13, and reused by xenfv */
358 static void pc_init_pci_no_kvmclock(MachineState
*machine
)
360 has_pci_info
= false;
361 has_acpi_build
= false;
362 smbios_defaults
= false;
363 x86_cpu_compat_disable_kvm_features(FEAT_KVM
, KVM_FEATURE_PV_EOI
);
364 enable_compat_apic_id_mode();
365 pc_init1(machine
, 1, 0);
368 static void pc_init_isa(MachineState
*machine
)
370 has_pci_info
= false;
371 has_acpi_build
= false;
372 smbios_defaults
= false;
373 if (!machine
->cpu_model
) {
374 machine
->cpu_model
= "486";
376 x86_cpu_compat_disable_kvm_features(FEAT_KVM
, KVM_FEATURE_PV_EOI
);
377 enable_compat_apic_id_mode();
378 pc_init1(machine
, 0, 1);
382 static void pc_xen_hvm_init(MachineState
*machine
)
386 pc_init_pci(machine
);
388 bus
= pci_find_primary_bus();
390 pci_create_simple(bus
, -1, "xen-platform");
395 #define PC_I440FX_MACHINE_OPTIONS \
396 PC_DEFAULT_MACHINE_OPTIONS, \
397 .desc = "Standard PC (i440FX + PIIX, 1996)", \
398 .hot_add_cpu = pc_hot_add_cpu
400 #define PC_I440FX_2_1_MACHINE_OPTIONS \
401 PC_I440FX_MACHINE_OPTIONS, \
402 .default_machine_opts = "firmware=bios-256k.bin"
404 static QEMUMachine pc_i440fx_machine_v2_1
= {
405 PC_I440FX_2_1_MACHINE_OPTIONS
,
406 .name
= "pc-i440fx-2.1",
412 #define PC_I440FX_2_0_MACHINE_OPTIONS PC_I440FX_2_1_MACHINE_OPTIONS
414 static QEMUMachine pc_i440fx_machine_v2_0
= {
415 PC_I440FX_2_0_MACHINE_OPTIONS
,
416 .name
= "pc-i440fx-2.0",
417 .init
= pc_init_pci_2_0
,
418 .compat_props
= (GlobalProperty
[]) {
420 { /* end of list */ }
424 #define PC_I440FX_1_7_MACHINE_OPTIONS PC_I440FX_MACHINE_OPTIONS
426 static QEMUMachine pc_i440fx_machine_v1_7
= {
427 PC_I440FX_1_7_MACHINE_OPTIONS
,
428 .name
= "pc-i440fx-1.7",
429 .init
= pc_init_pci_1_7
,
430 .compat_props
= (GlobalProperty
[]) {
432 { /* end of list */ }
436 #define PC_I440FX_1_6_MACHINE_OPTIONS PC_I440FX_MACHINE_OPTIONS
438 static QEMUMachine pc_i440fx_machine_v1_6
= {
439 PC_I440FX_1_6_MACHINE_OPTIONS
,
440 .name
= "pc-i440fx-1.6",
441 .init
= pc_init_pci_1_6
,
442 .compat_props
= (GlobalProperty
[]) {
444 { /* end of list */ }
448 static QEMUMachine pc_i440fx_machine_v1_5
= {
449 PC_I440FX_1_6_MACHINE_OPTIONS
,
450 .name
= "pc-i440fx-1.5",
451 .init
= pc_init_pci_1_5
,
452 .compat_props
= (GlobalProperty
[]) {
454 { /* end of list */ }
458 #define PC_I440FX_1_4_MACHINE_OPTIONS \
459 PC_I440FX_1_6_MACHINE_OPTIONS, \
462 static QEMUMachine pc_i440fx_machine_v1_4
= {
463 PC_I440FX_1_4_MACHINE_OPTIONS
,
464 .name
= "pc-i440fx-1.4",
465 .init
= pc_init_pci_1_4
,
466 .compat_props
= (GlobalProperty
[]) {
468 { /* end of list */ }
472 #define PC_COMPAT_1_3 \
475 .driver = "usb-tablet",\
476 .property = "usb_version",\
477 .value = stringify(1),\
479 .driver = "virtio-net-pci",\
480 .property = "ctrl_mac_addr",\
483 .driver = "virtio-net-pci", \
488 .property = "autonegotiation",\
492 static QEMUMachine pc_machine_v1_3
= {
493 PC_I440FX_1_4_MACHINE_OPTIONS
,
495 .init
= pc_init_pci_1_3
,
496 .compat_props
= (GlobalProperty
[]) {
498 { /* end of list */ }
502 #define PC_COMPAT_1_2 \
505 .driver = "nec-usb-xhci",\
509 .driver = "nec-usb-xhci",\
513 .driver = "ivshmem",\
514 .property = "use64",\
518 .property = "revision",\
519 .value = stringify(3),\
521 .driver = "qxl-vga",\
522 .property = "revision",\
523 .value = stringify(3),\
530 #define PC_I440FX_1_2_MACHINE_OPTIONS \
531 PC_I440FX_1_4_MACHINE_OPTIONS, \
532 .init = pc_init_pci_1_2
534 static QEMUMachine pc_machine_v1_2
= {
535 PC_I440FX_1_2_MACHINE_OPTIONS
,
537 .compat_props
= (GlobalProperty
[]) {
539 { /* end of list */ }
543 #define PC_COMPAT_1_1 \
546 .driver = "virtio-scsi-pci",\
547 .property = "hotplug",\
550 .driver = "virtio-scsi-pci",\
551 .property = "param_change",\
555 .property = "vgamem_mb",\
556 .value = stringify(8),\
558 .driver = "vmware-svga",\
559 .property = "vgamem_mb",\
560 .value = stringify(8),\
562 .driver = "qxl-vga",\
563 .property = "vgamem_mb",\
564 .value = stringify(8),\
567 .property = "vgamem_mb",\
568 .value = stringify(8),\
570 .driver = "virtio-blk-pci",\
571 .property = "config-wce",\
575 static QEMUMachine pc_machine_v1_1
= {
576 PC_I440FX_1_2_MACHINE_OPTIONS
,
578 .compat_props
= (GlobalProperty
[]) {
580 { /* end of list */ }
584 #define PC_COMPAT_1_0 \
587 .driver = TYPE_ISA_FDC,\
588 .property = "check_media_rate",\
591 .driver = "virtio-balloon-pci",\
592 .property = "class",\
593 .value = stringify(PCI_CLASS_MEMORY_RAM),\
596 .property = "vapic",\
599 .driver = TYPE_USB_DEVICE,\
600 .property = "full-path",\
604 static QEMUMachine pc_machine_v1_0
= {
605 PC_I440FX_1_2_MACHINE_OPTIONS
,
607 .compat_props
= (GlobalProperty
[]) {
609 { /* end of list */ }
614 #define PC_COMPAT_0_15 \
617 static QEMUMachine pc_machine_v0_15
= {
618 PC_I440FX_1_2_MACHINE_OPTIONS
,
620 .compat_props
= (GlobalProperty
[]) {
622 { /* end of list */ }
624 .hw_version
= "0.15",
627 #define PC_COMPAT_0_14 \
630 .driver = "virtio-blk-pci",\
631 .property = "event_idx",\
634 .driver = "virtio-serial-pci",\
635 .property = "event_idx",\
638 .driver = "virtio-net-pci",\
639 .property = "event_idx",\
642 .driver = "virtio-balloon-pci",\
643 .property = "event_idx",\
647 static QEMUMachine pc_machine_v0_14
= {
648 PC_I440FX_1_2_MACHINE_OPTIONS
,
650 .compat_props
= (GlobalProperty
[]) {
654 .property
= "revision",
655 .value
= stringify(2),
658 .property
= "revision",
659 .value
= stringify(2),
661 { /* end of list */ }
663 .hw_version
= "0.14",
666 #define PC_COMPAT_0_13 \
669 .driver = TYPE_PCI_DEVICE,\
670 .property = "command_serr_enable",\
674 .property = "use_broken_id",\
675 .value = stringify(1),\
678 #define PC_I440FX_0_13_MACHINE_OPTIONS \
679 PC_I440FX_1_2_MACHINE_OPTIONS, \
680 .init = pc_init_pci_no_kvmclock
682 static QEMUMachine pc_machine_v0_13
= {
683 PC_I440FX_0_13_MACHINE_OPTIONS
,
685 .compat_props
= (GlobalProperty
[]) {
688 .driver
= "virtio-9p-pci",
689 .property
= "vectors",
690 .value
= stringify(0),
693 .property
= "rombar",
694 .value
= stringify(0),
696 .driver
= "vmware-svga",
697 .property
= "rombar",
698 .value
= stringify(0),
700 { /* end of list */ }
702 .hw_version
= "0.13",
705 #define PC_COMPAT_0_12 \
708 .driver = "virtio-serial-pci",\
709 .property = "max_ports",\
710 .value = stringify(1),\
712 .driver = "virtio-serial-pci",\
713 .property = "vectors",\
714 .value = stringify(0),\
716 .driver = "usb-mouse",\
717 .property = "serial",\
720 .driver = "usb-tablet",\
721 .property = "serial",\
724 .driver = "usb-kbd",\
725 .property = "serial",\
729 static QEMUMachine pc_machine_v0_12
= {
730 PC_I440FX_0_13_MACHINE_OPTIONS
,
732 .compat_props
= (GlobalProperty
[]) {
736 .property
= "rombar",
737 .value
= stringify(0),
739 .driver
= "vmware-svga",
740 .property
= "rombar",
741 .value
= stringify(0),
743 { /* end of list */ }
745 .hw_version
= "0.12",
748 #define PC_COMPAT_0_11 \
751 .driver = "virtio-blk-pci",\
752 .property = "vectors",\
753 .value = stringify(0),\
755 .driver = TYPE_PCI_DEVICE,\
756 .property = "rombar",\
757 .value = stringify(0),\
760 static QEMUMachine pc_machine_v0_11
= {
761 PC_I440FX_0_13_MACHINE_OPTIONS
,
763 .compat_props
= (GlobalProperty
[]) {
766 .driver
= "ide-drive",
770 .driver
= "scsi-disk",
774 { /* end of list */ }
776 .hw_version
= "0.11",
779 static QEMUMachine pc_machine_v0_10
= {
780 PC_I440FX_0_13_MACHINE_OPTIONS
,
782 .compat_props
= (GlobalProperty
[]) {
785 .driver
= "virtio-blk-pci",
787 .value
= stringify(PCI_CLASS_STORAGE_OTHER
),
789 .driver
= "virtio-serial-pci",
791 .value
= stringify(PCI_CLASS_DISPLAY_OTHER
),
793 .driver
= "virtio-net-pci",
794 .property
= "vectors",
795 .value
= stringify(0),
797 .driver
= "ide-drive",
801 .driver
= "scsi-disk",
805 { /* end of list */ }
807 .hw_version
= "0.10",
810 static QEMUMachine isapc_machine
= {
811 PC_COMMON_MACHINE_OPTIONS
,
813 .desc
= "ISA-only PC",
816 .compat_props
= (GlobalProperty
[]) {
817 { /* end of list */ }
822 static QEMUMachine xenfv_machine
= {
823 PC_COMMON_MACHINE_OPTIONS
,
825 .desc
= "Xen Fully-virtualized PC",
826 .init
= pc_xen_hvm_init
,
827 .max_cpus
= HVM_MAX_VCPUS
,
828 .default_machine_opts
= "accel=xen",
829 .hot_add_cpu
= pc_hot_add_cpu
,
830 .compat_props
= (GlobalProperty
[]) {
831 /* xenfv has no fwcfg and so does not load acpi from QEMU.
832 * as such new acpi features don't work.
835 .driver
= "PIIX4_PM",
836 .property
= "acpi-pci-hotplug-with-bridge-support",
839 { /* end of list */ }
844 static void pc_machine_init(void)
846 qemu_register_machine(&pc_i440fx_machine_v2_1
);
847 qemu_register_machine(&pc_i440fx_machine_v2_0
);
848 qemu_register_machine(&pc_i440fx_machine_v1_7
);
849 qemu_register_machine(&pc_i440fx_machine_v1_6
);
850 qemu_register_machine(&pc_i440fx_machine_v1_5
);
851 qemu_register_machine(&pc_i440fx_machine_v1_4
);
852 qemu_register_machine(&pc_machine_v1_3
);
853 qemu_register_machine(&pc_machine_v1_2
);
854 qemu_register_machine(&pc_machine_v1_1
);
855 qemu_register_machine(&pc_machine_v1_0
);
856 qemu_register_machine(&pc_machine_v0_15
);
857 qemu_register_machine(&pc_machine_v0_14
);
858 qemu_register_machine(&pc_machine_v0_13
);
859 qemu_register_machine(&pc_machine_v0_12
);
860 qemu_register_machine(&pc_machine_v0_11
);
861 qemu_register_machine(&pc_machine_v0_10
);
862 qemu_register_machine(&isapc_machine
);
864 qemu_register_machine(&xenfv_machine
);
868 machine_init(pc_machine_init
);