Skip to content

dev@os@emulation

Olivier DALET edited this page Aug 26, 2018 · 1 revision

Emulation

Bochs

Examples

test.bxrc:

# configuration file generated by Bochs
# config_interface: textconfig
# display_library: x
#romimage: file="$BXSHARE/BIOS-bochs-latest", address=0xf0000
#vgaromimage: file="$BXSHARE/VGABIOS-lgpl-latest"

megs: 32
boot: a

floppya: 1_44=<image>, status=inserted

log: ./bochs.out
log: bochs.log
logprefix: %t%e%d
debugger_log: -
panic: action=fatal
error: action=report
#info: action=report
info: action=ignore
#debug: action=ignore
#pass: action=fatal

#keyboard_serial_delay: 200
#floppy_command_delay: 500
#vga_update_interval: 300000
#ips:  1000000
mouse: enabled=0
private_colormap: enabled=0
#i440fxsupport: enabled=0

# Uncomment this to write all bochs debugging messages to
# bochs.out.  This produces a lot of output, but can be very
# useful for debugging the kernel.
#debug: action=report

QEmu

Command Line Examples

qemu-system-x86_64 -boot order=a -drive format=raw,index=0,if=floppy,file=<image> -writeconfig c:\temp\q.cfg

-->

# qemu config file

[drive]
  format = "raw"
  index = "0"
  if = "floppy"
  file = "<image>"

[boot-opts]
  order = "a"
Clone this wiki locally