Loading

Paste #ppwoek0ke

  1. /opt/qemu/bin/qemu-system-x86_64 \
  2.     -L /usr/share/seabios/ -L /usr/lib/ipxe/qemu/ \
  3.     -machine pc-q35-2.5,accel=kvm,usb=off \
  4.     -m 2048 \
  5.     --nographic \
  6.     -kernel /docker_bind/linux-kernel/arch/x86_64/boot/bzImage \
  7.     -append "root=/dev/sda console=ttyS0" \
  8.     -drive file=/data/debian9.img,index=0,media=disk,format=raw,if=none,id=drive-sata0-0-0 \
  9.     -device ide-hd,bus=ide.1,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=1 \
  10.     -netdev user,id=network0,hostfwd=tcp::22-:22 \
  11.     -device e1000,netdev=network0,mac=52:54:00:12:34:56 \
  12.     -netdev tap,id=hostnet1,ifname=${BH2_DEVICE},script=no,downscript=no \
  13.     -device ioh3420,id=pcie.1,bus=pcie.0,addr=0x05,slot=0,chassis=0 \
  14.     -device bh2,netdev=hostnet1,bus=pcie.1,addr=0x0,id=mybh2,mac=${BH2_MAC},lua_script=/docker_bind/lua_scripts/${LUA_SCRIPT} \
  15.     -device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e