Skip to main content

Custom-Qemu-boot-parameters

Tweaking the QuickEmu or FreeBird code

See the notes at the end of the qqX settings file.

GPU passthrough

If you have a separate graphics card, passthrough is technically possible and theoretically should improve performance. The methods are fairly standard but commands vary greatly from machine to machine. Advanced users only. Recommended guide. Custom qqX boot sequences will probably be needed ...

Tweaking the Qemu commands

qqX breaks the complex command up for you, to make it easy to edit.

  • Run the VM in the boot mode required, eg sdl, spice etc. as normal. Using option [v] for verbose output is fine too. The VM doesn't actually have to boot at this stage.

  • From version 1.9.03 there is now an easy create (and delete) function, option [cc] in the utilities menu.

Alternatively, open the VM folder. Option [f] in qqX will do this for you. The 'ShortArgs' file should be renamed as "Qemu_ShortArgs_Custom.txt" as in the screenshot below.

short args to custom

Go to the place in the file that you want to tweak.

In this (no longer necessary) example we use MacOS video memory:

mac-vid-mem

mac-vid-mem-zoom

Not all distros can be edited identically and qqX will have recorded what quickemu has computed what your specific distro normally requires.

These edits to MacOS graphics have been superseded in qqX release 1.8.07

Feel free to use comments and blank lines as qqX will neatly put the command back together ready for use.

Returning to qqX, new menu items will appear after the screen refreshes.

custom menu std

Use [qd] to take you to the qemu docs if you need to check on things. Searching the 'Invocation' page using Crtl-f is a good way to start.

If you get things wrong and Qemu issues out errors, then qqX will highlight this for you and you can view these using the [ql] option.

ql-error-screen

Added 'x' > vgamem_mb=512x