#!/bin/bash

# qemu-img create -f qcow2 ipxe_win11.qcow2 100G

qemu-system-x86_64 \
	-enable-kvm \
	-m 4096 \
	-smp 4 \
	-drive file=ipxe_win11.qcow2,if=none,id=drive0,format=qcow2 \
	-device ich9-ahci,id=ahci \
    -device ide-hd,drive=drive0,bus=ahci.0 \
	-netdev user,id=n1,tftp=/bigpig/store/iPXE,bootfile=boot.ipxe \
	-device virtio-net-pci,netdev=n1 \
	-boot n
