Tips and Techniques

Specify log options by device

This table shows the name used for setting up the log actions per device, the prefix that appears in the log file or when a panic occurs and a short description of the module. This example shows how to turn on debug messages for a specific device in bochsrc.

debug: action=ignore, pci=report
The names can be used in upper case or lower case, since the check is not case sensitive. Note that the module names cannot be checked while reading the config file, since most of the modules do not exist at this point. Invalid names or names of modules not present in the current configuration will cause a panic when the simulation is starting.

Table 1. Log function module names and prefixes

NamePrefixDescription
ACPIACPIPIIX4 ACPI controller
apic0APIC0APIC of first CPU
BIOSBIOSSystem BIOS
busmouseBUSMBusmouse
BXVGABXVGAVGA adapter with VBE support
CD1CD1Lowlevel CD-ROM support for the first device (if configured, there can be CD2, CD3, CD4, ...)
cirrusCLVGACirrus SVGA
CMOSCMOSCMOS RAM + RTC
cpu0CPU0First CPU (SMP emulation can have cpu1, cpu2, cpu3,...)
devicesDEVDevices subsystem
DMADMADMA controller
E1000E1000Intel(R) Gigabit Ethernet
es1370E1370ES1370 soundcard
extfpuirqEFIRQExternal FPU IRQ
floppyFDDFloppy controller
gameportGAMEStandard PC gameport
GDBSTGDBSTGDB stub support
GUIGUIGeneric GUI code
harddrvHDIDE HD/CD emulation
hdimageIMGDisk image support
ioapicIOAPI/O APIC
iodebugIODBGI/O interface to debugger
keyboardKBDPS/2 keyboard and mouse
keymapKMAPKeyboard mapping
logioIOBochs logging subsystem
memoryMEM0Memory management
MGUIMGUIMacOS9 / MacOSX gui
NE2KNE2KNE2000 ethernet adapter
NGUINGUIGUI without input/output interface ("nogui")
parallelPARParallel port support
PCIPCIi440FX PCI bridge
pci2isaP2IPCI-to-ISA bridge
pcidevPCI2HHost PCI device mapping
pcipnicPNICPCI pseudo NIC
pci_idePIDEPCI IDE controller
pc_systemSYSCPU-to-devices interface and timing control
PICPICProgrammable interrupt controller
PITPITI/O interface for 82C54 timer
pit82c54PIT8182C54 timer core
PLGINPLGINPlugin interface
RFBRFBRFB gui
SB16SB16SB16 soundcard
SCSICSCSICSCSI CD-ROM emulation for USB
SCSIDSCSIDSCSI hard drive emulation for USB
SDLSDLSDL gui
serialSERSerial port emulation
serial_rawSERRLowlevel serial port support
siminterfaceCTRLSimulator interface
slowdown_timerSTIMESlowdown timer
speakerSPEAKLowlevel support for the PC speaker
SVGASVGASVGA gui
TGUITGUITerm gui
unmapppedUNMPUnmapped I/O handler
usb_hidUSBHIUSB HID device emulation
usb_hubUSBHBExternal USB hub emulation
usb_msdUSBMSUSB MSD (disk/cdrom) emulation
usb_ohciOHCIUSB OHCI controller
usb_printerUSBPRUSB printer emulation
usb_uhciUHCIUSB UHCI controller
usb_xhciXHCIUSB xHCI controller
VGAVGAStandard VGA
vgabiosVBIOSVGA BIOS
virt_timerVTIMEVirtual timer
WGUIWGUIWIN32 gui
WXWXwxWidgets gui
XGUIXGUIX11 gui