Chapter 8. Tips and Techniques

8.1. 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 8-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, ...)
cirrusCIRRUSCirrus SVGA
CMOSCMOSCMOS RAM + RTC
cpu0CPU0First CPU (SMP emulation can have cpu1, cpu2, cpu3,...)
devicesDEVDevices subsystem
DMADMADMA controller
E1000E1000Intel(R) Gigabit Ethernet
es1370ES1370ES1370 soundcard
extfpuirqEXFIRQExternal FPU IRQ
floppyFLOPPYFloppy controller
gameportGAMEStandard PC gameport
GDBSTGDBSTGDB stub support
GUIGUIGeneric GUI code
harddrvHDIDE HD/CD emulation
hdimageIMGDisk image support
ioapicIOAPICI/O APIC
iodebugIODBGI/O interface to debugger
keyboardKBDPS/2 keyboard and mouse
keymapKEYMAPKeyboard mapping
logioIOBochs logging subsystem
memoryMEM0Memory management
MACGUIMGUIMacOS9 / MacOSX gui
NE2KNE2KNE2000 ethernet adapter
NOGUINOGUIGUI without input/output interface ("nogui")
parallelPARParallel port support
PCIPCIi440FX PCI bridge
pci2isaP2ISAPCI-to-ISA bridge
pcidevPCIDEVHost 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
PLUGINPLUGINPlugin interface
RFBRFBRFB gui
SB16SB16SB16 soundcard
SCSICDSCSICDSCSI CD-ROM emulation for USB
SCSIHDSCSIHDSCSI hard drive emulation for USB
SDLSDLSDL 1.2.x gui
SDL2SDL2SDL 2.x gui
serialSERSerial port emulation
serial_rawSERRLowlevel serial port support
siminterfaceSIMSimulator interface
slowdown_timerSTIMERSlowdown timer
speakerPCSPKLowlevel support for the PC speaker
VGAGUIVGAGUISVGA gui
TERMTERMTerm gui
unmapppedUNMAPUnmapped I/O handler
usb_hidUSBHIDUSB HID device emulation
usb_hubUSBHUBExternal USB hub emulation
usb_msdUSBMSDUSB 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_timerVTIMERVirtual timer
WINGUIWINGUIWIN32 gui
WXWXwxWidgets gui
XGUIXGUIX11 gui