Template:VMConfiguration/QEMU/doc

To list a configuration for QEMU for use in the Recommended VM configurations page, you must use the "VMConfiguration/QEMU" template, which can list the configuration in a structured table.

Usage[edit source]

Pc-bios qemu logo no text.png QEMU Configuration
Create the hard drive(s)
qemu-img create -f raw disk.img 2G
Boot to the installation media
qemu-system-i386 -boot d -drive file=disk.img,if=ide -m 768M -drive file=installme.iso,media=cdrom -vga std -rtc base="2002-02-13",clock=vm
Boot to the hard drive
qemu-system-i386 -boot c -drive file=disk.img,if=ide -m 768M -vga std -rtc base="2002-02-13",clock=vm
Notes
The system does not reboot on shut down; to restart the computer, close QEMU and run the next command.

The following code will result in the table above:

{{VMConfiguration/QEMU|
 |qemuimg = qemu-img create -f qcow2 disk.img 2G
 |qemuinstall = qemu-system-i386 -boot d -drive file=disk.img,if=ide -m 768M -drive file=installme.iso,media=cdrom -vga std -rtc base="2002-02-13",clock=vm
 |qemuhdd = qemu-system-i386 -boot c -drive file=disk.img,if=ide -m 768M -vga std -rtc base="2002-02-13",clock=vm
 |notes = The system does not reboot on shut down; to restart the computer, close QEMU and run the next command.
}}

Note: All parameters except notes are required and failure to provide them will default them to "Unknown".

qemuimg[edit source]

The command to create the hard drive images.

qemuinstall[edit source]

The command to boot to the installation media and install the OS on the hard drive image.

qemuhdd[edit source]

The command to boot to the hard drive.

notes[edit source]

Any additional notes regarding to the configuration of the machine, such as additional drivers or instructions, can be listed here.