Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add new QEMU machine types without modifying the mainline source code?

Can a new machine type be added for qemu-system-arm -M <MachineType> without having to recompile qemu or write code? Are there docs to do this? I would like to be able to emulate raspberry pi and pandaboard using qemu.

I know that meego's fork of qemu supports pandaboard, but I am trying to stick with the main stream qemu that I can manage from the apt-get package manager. the main stream qemu now supports beagleboard rev C and beagleboard xm that were previously supported only in the meego fork.

like image 923
Lord Loh. Avatar asked Oct 18 '12 22:10

Lord Loh.


People also ask

How do I add a device to QEMU?

Devices can be added using the -device parameter when starting, or with the device_add command in QEMU monitor (if the operating system and bus support hotplug). Some devices take modifiers, that may affect the device's behavior and interface. Example: qemu -device devicename,modifier1=value1,modifier2=value2 ...

What is QEMU system x86_64?

DESCRIPTION. The QEMU PC System emulator simulates the following peripherals: i440FX host PCI bridge and PIIX3 PCI to ISA bridge. Cirrus CLGD 5446 PCI VGA card or dummy VGA card with Bochs VESA extensions (hardware level, including all non standard modes). PS/2 mouse and keyboard.


1 Answers

without having to recompile qemu or write code?

No. There must be some code doing the device specific emulation, like for example the way the Raspberry Pi or the Pandaboard implement video output. This is not a matter of just a few config files.

like image 179
datenwolf Avatar answered Sep 23 '22 01:09

datenwolf