Skip to content

Provide standard values "default" and "none" for most options #2458

@afbjorklund

Description

@afbjorklund

Description

It would be nice to be able to use simple defaults like "default".

audio:
  # EXPERIMENTAL
  # QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss".
  # Choosing "none" will mute the audio output, and not play any sound.
  # Choosing "default" will pick the suitable of coreudio, pa, dsound.
  # 🟢 Builtin default: ""
  device: default

video:
  # QEMU display, e.g., "none", "cocoa", "sdl", "gtk", "vnc", "default".
  # Choosing "none" will hide the video output, and not show any window.
  # Choosing "default" will pick the first available of: gtk, sdl, cocoa.
  # 🟢 Builtin default: "none"
  display: default

Instead of having to remember gtk and pa, or vz, or whatever...

Note: Vz will not support the QEMU device/driver names.
But it should still honor the "none" and "default" strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions