Skip to content

Instantly share code, notes, and snippets.

View cmdrkotori's full-sized avatar
💭
Busy

Commander Kotori cmdrkotori

💭
Busy
  • Queensland
  • 00:54 (UTC +10:00)
View GitHub Profile
@cmdrkotori
cmdrkotori / qemu-win
Last active July 8, 2023 11:31
QEMU script for windows
#!/usr/bin/env python3
from subprocess import Popen, call
from time import sleep
threads = 8
mem = 8
eth0mac = '52:54:65:03:DC:ED'
bootSplash = '/home/tux/vms/splash/boot.jpg'
ovmfCode = '/home/tux/vms/uefi/OVMF_CODE.fd'
ovmfVars = '/home/tux/vms/uefi/OVMF_VARS.fd'
@cmdrkotori
cmdrkotori / qemu-mac
Last active March 1, 2023 07:52
QEMU script for macOS
#!/usr/bin/env python3
from subprocess import Popen, call
from time import sleep
threads = 8
mem = 8
eth0mac = '52:54:00:12:34:56'
bootSplash = '/home/tux/vms/splash/boot.jpg'
ovmfCode = '/home/tux/src/1git/macos-kvm-pci-passthrough/OVMF_CODE.fd'
ovmfVars = '/home/tux/src/1git/macos-kvm-pci-passthrough/OVMF_VARS.fd'