Qemu Switches

@Andrew - you may use this however you like

Here is quick info of the most important and used switches for 0.9.1. Newer Qemu would likely have extra hardware added to some of these switches.

Default VM is 128 MB RAM on Pentium 2 CPU with no sound card and no USB.

-cdrom [image-name]
-hda/hdb/hdc/hdd [image-name]
-m [memory amount in MBs]
-cpu pentium/pentium2/pentium3/qemu32

1] cdrom switch takes ISO or Anyboot image.
2] disk drive (ie, hda - 1st hard drive) - these take Anyboot, RAW (& VM images?)
3] cpu models for 0.9.1 are shown above. Newer Qemu has added newer cpus types. use “qemu -cpu ?” for list.
4] default network card is Realtek 8029 which works with Haiku.
5] sound cards from 0.9.1 do not appear to have any Haiku native drivers. OSS may work with es1370. Newer Qemu may support other sound cards.
-soundhw es1370
to see list of sound cards
"qemu -soundhw ?"

To change boot order:
-boot [a|c|d|n]
boot on floppy (a), hard disk ©, CD-ROM (d), or network (n)

Enable the USB driver (will be the default soon)

Add the host or guest USB device ‘name’
-usbdevice [name]

Haiku now requires disabling APIC in safe-mode to boot otherwise will crash or stall.

for usbdevice:

Some of these maybe too new to work with Qemu 0.9.1?

to change to rtl8139 network card:
-net nic,model=rtl8139 -net user

to disable networking:
-net none

Hard to bench network drivers in VM but I believe the rtl8029 (default) is faster.

The rtl8029 uses Haiku native network driver. The rtl8139 uses BSD network driver.