Intel Mac machine
PATCH 7/9 Intel Mac machine
To leave the default behavior unchanged, this adds a "mac" machine definition for x86 that automatically chooses the right hardware for an emulated Intel Mac.
As x86 did not really know about models, the also adds a simple model interface.
hw/boards.h +1 -0
@@ -23,6 +23,7 @@ int qemu_register_machine(QEMUMachine *mextern QEMUMachine bareetraxfs_machine;/* pc.c */ +extern QEMUMachine mac_machine;extern QEMUMachine pc_machine;extern QEMUMachine isapc_machine;
hw/pc.c +75 -29
223 lines not on this page · raw message
vl.c +1 -0
@@ -7881,6 +7881,7 @@ static void register_machines(void) {#if defined(TARGET_I386 )qemu_register_machine (&pc_machine); +qemu_register_machine (&mac_machine);qemu_register_machine (&isapc_machine);#elif defined(TARGET_PPC )qemu_register_machine (&heathrow_machine);