penguin.q_config module

penguin.q_config

QEMU configuration utilities for the Penguin emulation environment.

This module provides architecture-specific QEMU configuration mappings and a helper function to load the configuration for a given architecture.

penguin.q_config.load_q_config(conf)[source]

Load the QEMU configuration for the given architecture.

Parameters:

conf (dict) – Configuration dictionary containing ‘core’ and ‘arch’ keys.

Returns:

QEMU configuration dictionary for the specified architecture.

Return type:

dict[str, str]

Raises:

ValueError – If the architecture is unknown.