
config pci-passthrough 'wifi_example'
	option pci_id '05:00.0'
	option vendor_id '14c3 7915'

config usb-passthrough 'example_usb'
	option vendor_id '0bda'
	option product_id 'c811'

config network 'tap_example'
	option mac '52:54:00:31:6c:4d'
	option ifname 'tap0'

config network 'tap_example_bridge'
	option mac '52:54:00:31:6c:4e'
	option ifname 'tap1'
	option bridge 'br-tap'

config vm 'vm_example'
	option enabled '1'
	option image '/mnt/disk/vm/openwrt.img'
	option memory '256'
	option smp '1'
	option cpu 'host'
	option pci_passthrough 'wifi_ap'
	option display_type 'serial'
	list network 'tap_example'

config vm 'winxp_example'
	option enabled '1'
	option memory '2048'
	option smp '2'
	option cpu 'qemu64'
	option display_type 'vnc'
	option vnc_port '5902'
	list network 'tap_example_bridge'
	option cdrom '/mnt/disk/vm/wxp.iso'
	option image '/mnt/disk/vm/xp.img'
	option disk_bus 'ide'
	list custom_arg '-boot order=d'
	list custom_arg '-machine pc-i440fx'
	list custom_arg '-global q35-pcihost.x-pci-hole64-fix=false'
	list custom_arg '-drive if=floppy,file=/mnt/disk/vm/floppy_xp.img,format=raw'
	list custom_arg '-device VGA,vgamem_mb=64'

